Using transformers to modify data.
Recently active
Hi all!I'm trying to do a simple reprojection from ESPG:3021 to ESPG:3006 but there seems to be some kind of problem. The transformer(?) are "flattening" the polygons (zipcode areas) in the north-eastern part of Sweden. Why? And what can I do to solve or work around this?Thank you!:nicklas
I have a workspace producing various outputs, I'd like to produce a further output which details the number of distinct customers and number of distinct products for each output but this appears to be either convoluted involving multiple steps and statistics calculators or slow involving a count distinct in the inlinequerier. Wondering if I'm missing a trick
I have a reader (file geodatabase) that contains about 900 polygons and want to use each feature independently as a clipper in a Clipper transformer, since I want to clip a few rasters based on that clipper. The result should be connected to that input somehow.
I was wondering if anyone has any ideas on how I would approach the below problem.I have a road network where there are short single carriageway centerlines of short distances between dual carriageways. I want to identify where there is a break between dual carriageways that is less than x meters. The image below shows a simple example and it is the geometry highlighted in red which I want to identify.
Hello,How can I copy content of the table? For instance, my table looks like this: Out of above table I would like to create below table:
Using FME Version: FME(R) 2017.1.1.0 (20170929 - Build 17650 - WIN32)Getting this error in the FME log: |ERROR |BADNEWS: Features of the same type must all use the same coordinate system, given 'EPSG:26782' and 'EPSG:32002' (schemscn.cpp:2014)Each feature has it's own destination coordinate system attribute. Using the Reporjector transformer, I specify the destination coordinate attribute to reproject the feature into a local UTM coordinate system so I can then use the snipper to get an accurate measurement. I get the error above, however, It doesn't stop the workbench from working. I'm afraid it's not reprojecting the geometry correctly. According to the reprojecter documentation each feature is allowed to be reprojected independently. Is this truly an error and if so what do I need to do to reproject each feature independent of each other?FYI: I tried this with FME 2018 (FME(R) 2018.0.0.2 (20180414 - Build 18301 - WIN64)) and I still get the sam
I have a workbench that has to process about 600,000 lines and apply updates to a master dataset (.gdb). The attached workbench is a very small sample of what has to be completed. The main issue I am running into is the update detector is extremely slow. A sample run of about 1000 lines took just over 2 hours. So any suggestions of things I can do to speed it up would be much appreciated. I have also found that when I try to run the whole the workbench with the complete dataset the FeatureMerger rejects the suppliers with the rejection code EXTRA_REFERENCEE_FEATURE. This only seems to occur when the number of suppliers gets quite large. I have seen this same rejection code mentioned in reference to duplicates but I don't have any duplicates in the complete supplier dataset. Any help on either issues would be much appreciated.Sample of bench Pic of whole bench
I'm using RasterTiler to create tiles from a larger raster. However, I noticed many resulting tiles contains only nodata values. How can I avoid writing out these tiles.
Hello,I have a map of questionable quality and I'd like to use the geometry validator. Since there is actually clear warning that this transformer is intended for experienced users, is there a guide of some kind I could refer to?I did see the help section, but I am looking at some simple how to start ... what are the best ways to set up the transformer, if you have no idea what you are doing etc. Few hints really.I have attached sample of the file.Thank you
I am experiencing the following problem in reading data from a SmallWorld Bank from the FME.The coordinates are being read with an extra digit in the integers. the correct reading of the coordinates should be X = 3299524,29749 and Y = 74029835,74061 However, you are reading X = 32995242,9749 and Y = 740298357,4061 On the X-axis, the FME reads 7 integers (32995242) but actually should be 6 integers (3299524). The same is true for the Y-axis, where the FME reads 8 integers (740298357) but should actually read 7 integers (74029835). When you view the data directly on the SmallWorld Bank interface without using FME, the coordinates appear correctly. This erroneous reading of the coordinates occurs only when we read the data by the FME.How can I fix this?Thank´s
I've searched for a solution to this but none of the other posts seem to provide the minor detail I'm missing.My goal: I need to find the distance "as the crow flies" between street intersection points (point geometry features). What I have: Street Intersection points feature set with a unique ID field populated for each point. What I've done: [1a] NeighborFinder (Street Intersection points as both the Base & Candidate inputs) [1b] Vertex Creator using the Nearest neighbor output ( Mode= Add Point ; _closest_candidate_x & _closest_candidate_y) [2] LineBuilder (inputs are the original Street Intersection points and the Vertex Creators output points) grouping on the unique ID field. However this process does not output any lines. What am I missing?
New to the forum and FME really... I did some searching around on here and couldn't find what I was looking for...I have blockgroup level statistics and want to be able to perform proportional spatial overlay calculations to calculate polygon level statistics for custom polygons (radius, drivetime, etc.). The approach I am using, conceptually is.... Join the blockgroup boundaries to the blockgroup tabular dataUse AreaCalculator to generate the area of each BGUse AreaCalculator to generate the area of the custom polygonUse AreaOnAreaOverlayer to bring them togetherThat is where I get lost...Ideally I would end up with a list of all the BGs that are within the polygon along with their percent intersect. From there I can apply the proportion to the BG statisticDoes anyone have an example workflow that I could follow along with? I am used to using Alteryx for this kind of spatial work and haven't done anything this advanced in FME to date.
Hi.I have a database of roughly a million polygons and I have another dataset of 50 polygons which represent areas of interest. Some of these areas of interest overlap.I would like to select every feature from the large database that overlaps an area of interest polygon and write these to 50 individual datasets. I tried to set up a loop using a spatial filter. Some screenshots are belowOverlapping areas of interestMain workbenchCustom transformerI should let you know I haven't worked with loops before in FME before. I was hoping the first area of interest polygon would enter the filter then the large database would enter the candidate path. It would select the correct polygons. The passed and failed features would enter back through the candidate path and it would perform the same operation on the next filter polygon.Any help would be greatly appreciated.Thanks,Matt
Simplified story: One engine can only use one specific python version. So if you have 2 workspaces running - with different versions of python, they will fail giving this error:The Workspace requires Python version 3.6, but Python version 2.7 is already loaded Workspace requiring Python 3.6 is requested to run on an FME Engine configured to use a Python 2.7 interpreter. FME cannot continue given the Python version mismatchA fatal error has occurred. Check the logfile above for detailsGUI-suggestion on FME Server:Which will result in a warning when publishing workspaces to that server:
Hello all. I am relatively new to FME. I’ve completed the basic and advanced FME tutorials, but that is where my experience ends. I’ve been struggling with a particular problem for some time now. I’m not sure if FME is the solution or not, but I really enjoy working with FME, so I’m hoping it is. I am a GIS Analyst and I am hoping to not have to fall back on geoprocessing to complete the task. I work for a County Assessor’s office and I’m trying to solve a problem.Our parcel numbers consist of a book number(!), page number and item number (e.g. 999-99-999, respectively). We have polygon boundaries that represent book numbers that were created by a mixture of parcel book numbers, PLSS boundaries and roads. They were created a long time ago and are not to be changed, as much as possible.Parcels are changing continuously throughout the year. For simplicities sake, I have parcels with book numbers A and B. I also have book boundary numbers A and B. When I overlay parcels with bo
I have a set of (thousands) 3D models in KML/Collada file. These represent a geospatial area. I want to mass convert these into a set of OBJ files. This in itself is quite easy, thanks to the KML reader and the OBJ writer.But now I need a way to split the big OBJ into smaller obj files, based on the spatial properties of the files.I tried using the Tiler, but this doesn't seem to work for 3D objects. (Shame cause it felt like this is exactly what I would need)I also tried using the Grouper in combination with the AttributeRangeFilter, but this would just amount to me having to create hundreds of OBJ writers to match the _group_index attribute written by the grouper. Which kind of defeats the purpose of trying to automate it.So is there a way to output multiple Wavefront OBJ files instead of just one? And if so, how?
I’m looking to calculate the total hours of water consumption based on records ON/OFF from a GIS feature class. Each feature can be ON and OFF several times along the month. What transformer can I use to calculate the total number of hours it has been ON.
I found an example of the minimum spanning tree but wondering if it is possible to do Steiner Tree. I have the Edges, Nodes and Steiner Nodes all created but I want the optimal undirected route to connect all the Nodes.
Hi,I have the following list attributes set up in an AttributeManager which I am passing to an Excel Spreadsheet Writer set up in Dynamic Schema mode.The first attribute named 'TEST' is outputting correctly in the Excel Spreadsheet with the values from the field named 'LIST_0' (which is not actually a list, just to confuse) populating the column as expected.In regards to the second attribute, which I have named dynamically from an actual list called 'LIST_NAME_UNIQUE{}', the column name in excel is outputting the correct name as per the list value I specified, but no values are populating the column. Can anyone see what I'm doing wrong here? I feel like it is a really simple mistake but I just can't work it out...I am using FME Desktop 2017.1.1.1Thanks,
Hi. I want to know if it's possible to use the 'linejoiner' tool by using an angle tolerance? For example, if I have 2 segments with an 'L' shape, I dont' want them to be joined together because they are 90° difference. But if my segments are less than 45° angle difference between each segment, I want them to be connected. Is there an easy way to do that? Thanks Frank.
According to the documentation: "The AreaOnAreaOverlayer takes in area features. All polygons are considered against each other, and where they overlap, new polygons are created that represent both the overlapping area and the original areas with the overlap removed."All I need are the overlapping areas themselves, not the 'original areas with the overlap removed'.. It seems like this should be a simple check box in the AreaOnAreaOverlayer tool? But I'm using three additional transformers to weed out those 'original areas' (Clipper, and a pair of testers) . Am I missing something (probably something very obvious)?Thank you!
Hello,I have some questions about the AreaGapAndOverlapCleaner transformer.In the documentation, it's written that the ''Tolerance is : The minimum distance between geometries in 2D before they are considered equal"How this distance is calculated between 2 polygones? If set to automatic, what does it mean that ''a tolerance will be estimated based on machine precision at the location of the input geometries."Thank you.
I have lines with nodes at the ends of each line (classic node-edge-topology). For my export I need the from- and to-node of each line. To add the node-information to the lines I use the TopologyBuilder what works great in most cases. The problem I have is shown in the two screenshots below. If I two or more lines are overlapping the TopologyBuilder split the second line into individual features. How can I avoid that? It destroys my topology. (I'm working with FME2018) Data before TopologyBuilder:Data after TopologyBuilder:
Hi!I’m trying to build a start up script in FME Desktop2016.1, which will check if the destination dataset(s) is available for writingor not. If it’s available I would like a message telling me so, if not I wouldlike the translation to fail and tell me why (and not continue for over an hourand tell me at the end of the translation it failed).The idea is that I have a script that I can use in all workbenches,whatever the workbench is doing. So I’m trying to fix it in the start up scriptand not with transformers.I made a script in Python, which gives me a niceexception when I run the translation… However, it also gives the exception when the destinationdataset is still available (not locked by me on purpose), and it shouldn’tthrow the exception... Am I missing something?Thanks for the help!Script:import fmeimport fmeobjectsimport os# Raise exception if the Writer destination is locked (before translation!)# Create an empty list, later we will add the locations of the destinationt dataset
I have a Multipatch that I need to color with the GeometryColorSetter. The MP contains an attribute with RGB (0-1, comma separated). Unfortunately the GeometryColorSetter won't let me pick an attribute for the coloring. Is there a workaround? I tried FeatureColorSetter but it doesn't color the MP. AppearanceStyler also does nothing.