Using transformers to modify data.
Recently active
Hi All, I am using the StatisticsCalculator transformer to, obviously, get statistics on a set of attributes for a group of records. However, I am running into an error that I have never seen before and I have used the StatisticsCalulator multiple times for the similar workspace data flows. See error below: Python Exception <NameError>: global name 'xformer' is not defined@Python failed to execute function `StatisticsCalculator.summarizeStatistics' StatisticsCalculator_UnneededInputNuker: @Python execution failed StatisticsCalculator_UnneededInputNuker: @Python execution failed My research on this issue only produced mentions of this Global Name error when inputing a custom transformer or using Python caller. This is coming from a transformer from within the FME library. Has anyone experienced a similar issue and found a resolution? Happy to provide more context on my workspace if needed.
Hi all, I am trying to merge two different datastreams into one using attribute ranges. I have one stream that has a Attribute count (lets call it A), it has values of 1,2,3,4,etc. I have another stream (lets call it B) that has a Minimum Value and a Maximum value as well as some other attributes. I am trying to merge the two stream together where the first streams value (A) is between the Maximum and minimum value range of the second stream. In other words if A = 5 and B's value range is min = 2 and max = 6 (and also contains other attributes like TYPE, CLass,etc.) i want to merge A with B and keep the attributes other than the range attributes. IF A falls between the range of B i want to get the attributes associated to that range. I need yo be able to do this dynamically as it is a large dataset and manually entering in the ranges into any of the attribute range mappers is not an option. Any thoughts? Thanks in advance for your help.
Hi there,I have 2 "road" datasets and would like to know how I could confirm whether a record from one dataset is a exact match (spatially) of a record from the other dataset??
I'm wondering how to clip my water polygon shapefile within the boundaries of one polygon within a larger dataset. I have an Admin Boundary shapefile and a Waterbody Shapefile. Instead of clipping the waterbody with the whole Admin Boundary dataset, I'd like to clip any of the water that falls within only the top half of the polygon specified in the screenshot. The FID is 23 for the polygon of interest that I would like to clip. Any help would be appreciated, thanks so much.Alex
I'm trying to copy all DGN cells inside of clipper shape which is on level 60 however, all cells have been changed to lines,shapes and other types. Is there a way to keep them as cells
HiI have a MapInfo SQL Select query which I save off as a table and I would like to do the same query as an FME workspace. When I create the MapInfo writer to save the table it save the file with the 4 filename extensions (.tab, .dat, .id and .map) whereas when I save the SQL Select query from MapInfo there are only 2 filename extensions (.tab and .dat). What I would like to know is it possible to save the FME MapInfo file with the .tab and .dat file extensions.ThanksAndy
Could anyone please explain in simple language what "surface tolerance" is regarding the transformer "Contour generator". What units are used? If I specify a surface tolerance of 1, which coordinates are filtered out?
I have three very large Microstation file that I would like to clip into smaller individual tile files. I have looked at clipper, but it appears that I can only write out a single file. I would use tiler but the tiles that i would like to write out are different sizes and shapes.Not sure the transformers I need to use to get the results I am looking for.
Hi there,I'm stuck with something which is seemingly simple yet I cannot for the life of me figure out how to get there.My data looks like this:COLORABCRED1007658GREEN254678BLUE335912YELLOW895322I need to find the largest value across A, B, and C. In other words, the output (MAX field) needs to be like this:COLORABCMAXRED1007658100GREEN25467878BLUE33591259YELLOW89532289I tried the AttributeCreator @max(@Value(A),@Value(B),@Value(C)) function as explained in this thread: https://knowledge.safe.com/questions/50116/max-value-of-two-attribute-of-a-feature.htmlBut my output "MAX" field still contains plenty of numbers which are certainly not the biggest of the lot, so I'm clearly doing something wrong.I also tried the StatisticsCalculator, but when I select multiple attributes to analyse, it generates a "max" field for each attribute independently (ie. A_max, B_max, etc.) instead of giving me a general "max" as I desire. Thanks in advance for any insigh
Hi all,I'm trying to parse a cadastral xml file containing lists of points and parcels (containing line sub-lists) in order to reconstruct them into ESRI GDB feature classes. I have been able to create polygons easily when I'm just writing the points to lines, but when I try to create arcs, I not only get snapping issues, but the arcs sometimes appear on the wrong side of the central point. From the xml I get the center x,y, start/from x,y, end/to x,y and the radius of the arcs. I'm trying to calculate the start, end and sweep angles from this in order to put into 2DArcReplacer and I think that's where I might be going wrong. I can't seem to get the CW / CCW values right here. Also, when I create the polygon output, the snapping distance has to be lowered, as creating the arcs using 2DArcReplacer seems to change the start / end coords enough so that they don't snap.I'm attaching both my workbench and sample dataset in case anyone can help. Thank you in antic
Hello community, I have a set of circles as shown in the picture below, and I wanna count the number of overlapping circles two by two. which means whenever there is overlapping couple of 2 circles there is an overlap to count. For the example below, the result must be 6. is there a way to do it ?
I have two road geometry’s line feature pre & post I need to generated delta with geometry as well as need to compare attributes if some buddy have idea please help me out how to do ?
The FME Server Services all properly show HTTPS and I've already gone through and confirmed that HTTPS was properly set in the configuration files (https://docs.safe.com/fme/html/FME_Server_Documentation/Content/AdminGuide/configuring_for_https.htm)I have an Email Subscription for Job Failures/Successes. The Email Template looks like:<fmeblock type="optional"> Workspace: {workspace} Repository: {repository} FME Job ID: {id} Job Status: {StatusMessage} Time: {timeStarted} - {timeFinished} Link to Log File: {logUrl} </fmeblock> Still getting http for the {logUrl} . Looks something like the following:Workspace: fme_workspace.fmw Repository: MAIN FME Job ID: 708058 Job Status: Translation Successful Time: Wed-09-May-2018 08:25:15 AM - Wed-09-May-2018 08:30:53 AM Link to Log File: http://{host}:80/fmerest/v3/transformations/jobs/id/708058/log
I could get the extract done for internal world using SBS plugin But unable to bring the internal world objects in the “right location”. Rotator – do I need to use this? Scaler – do I need to scale the output so as to match the realworld scale.. or leave it as it is .. even though it looks very small – only view-able at very large scale… OffSetter ?? – how to input the parameter for say Sub-Station Point Location? Reprojector (or CoordinateSystemSetter) – is it required or we can set it up in the Writer only? AffineWarper – Will this wrap all equipment together? What is the benefit of wrapper instead of exporting individual equipment? Thanks
How to get the Node connectivity or Geometric Network information out of ArcFM. Requirement is to get the data for Electric tracing.
Is it possible to work with Esri Annotations in FME?My source data set is a file geodatabase created with ArcGIS. It contains a few texts as annotations. When I read them with the FME Data Inspector not the texts are shown but the encircling polygons of the texts and just those areas are editable in the workbench. In my workbench I want to convert the text strings into polygons or polylines with the TextStroker for example but that is not possible if FME cannot interpret the annotation texts correctly. My aim is to get a represantation of the text strings in a (multi)polygon format that looks exactly like the texts in the input feature in ArcGIS.
I'm calling 6 separate StatisticsCalculator transformers, and they each take a (relatively) long time to run. All I'm calculating each time is a min, max and count attribute so this seems like overkill. Is there an easy alternative I'm missing? Is there a way to use a math function against the entire dataset for example?
I have a pointcloud in LAS format which I want to use as the basis for a CAD project. I need to create contours in DXF format containing z-values from the pointcloud so that they can be imported into a CAD program and visualised in a 3D model.What would be a good workflow to do this?
Hi Guys,I'm here with yet another brick wall I'm facing. This time a pretty complex one, at least in my mind.What I have as my inputs:Two line layers with name attributes:Let's call the Blue lines my base layer, and the Red lines the match layer. The red lines overlap the Blue lines everywhere, so in other words, where there is Red, there is Blue as well underneath, although the geometry will not always match 100%. Both layers have name attributes.What I need:I need to look at the name of each Red feature, and see if I can find any matches in nearby Blue features in its name attribute. If there are multiple matches, I need to find which one is the closest, percentage wise. In the end, the idea is to identify Red lines where there are no blue lines with names that are >70 similar to Blue lines within a 20 meter radius.What I have so far:I've used a NeighborFinder to get a maximum of 5 neighbors within a 20m range. I then have a ListConcatenator to add an Attribute of
I have an AutoCAD Map 2018 dwg file with multiple inserted drawing blocks. The blocks also contain object data tables (OD). When trying to selectively extract each inserted block to a separate new dwg file, I either get all OD attributes, or none. When using a CAD viewer, the layer names (and FME read feature types) appear to be in the form {block name}%0%{layer name}. I have tried using regex / contains to determine which original block the feature has been sourced from.My attempt so far is pictured below, and contains two different versions of parameter settings for the AutoCAD OD reader - one of which is disabled for testing. Apologies in advance for redaction of some detail that is confidential to the research. The desired output is a dwg file for each inserted block, containing only those OD tables relevant to the specific block inserted. Where features are from the original dwg (not inserted), they would be written to a new dwg containing only original dwg information and OD tabl
I have 208 points going through PointOnLineOverlayer and I am getting 238 points for output. I have tried various tolerance values to no avail. It appears that there is some duplication occurring. Has anyone else experienced this?
After using the LineCloser to close 3D lines I discovered that some vertices in my dataset were changed. My assumption was that the LineCloser only adds a segment between the last vertice and the first vertice of the polyline but the Z from the last vertice was changed to the Z of the first vertice... Changing the parameter Connect Z Mode from "First Wins" to "Ignore" solved my problem. But I wondered if the setting "First Wins" was set as Default intentionally, and if so, why?The image: 1. The open line. 2. The closed line with the setting First Wins. The Z value of the last vertice is changed to the Z of the first vertice. 3. The closed line with the setting Ignore. Now only a segment between the last and the first vertice was added, no vertices changed.FME Desktop 2017.1.2 and 2018.0.0.2.Workspace attached.
I have a piece of FME log message: 2018-05-16 13:20:18| 0.1| 0.0|INFORM|FME Configuration: Reader Keyword is `MULTI_READER' I can guess all of the pieces except for 0.0 and 0.1. Does anyone have a clue?
Hi there,I'm having some difficulty identifying and taking actions on features where no entries are passed. Here's what my data looks like:TYPEGEOCLASSRESTRICTIONSIGNMissing4132Incorrect3361Rework2345Problem is, my output is an excel sheet that uses a precise template, and I need all records to be present, regardless of their values. I will be running several datasets through the workspace, all with different values missing and/or present. So if I run data through the workspace and there are no entries that has TYPE = Rework, the output looks like this:TYPEGEOCLASSRESTRICTIONSIGNMissing4132Incorrect3361What I need instead is:TYPEGEOCLASSRESTRICTIONSIGNMissing4132Incorrect3361Rework0000So what I essentially need is to just have a test for each TYPE (Missing, Incorrect, Rework) and if there are no entries, I pretty much just need to create a blank entry (0, or _, or whatever) with the same TYPE name.Am I overthinking this or missing the obvious?Thanks in advance,
Dear FME community.I would like to make a flow map like in french "carte en oursin"For do that, I've multiple group of points like this structure : One center with multiple destination for each group of points.I tried to do that with this workbench : Can you help me ?Thank you.