Using transformers to modify data.
Recently active
I am looking for a method to remove the outcrops, circled in blue, from the building fotprints below. The generalization algorithms I have tried "soften" the polygons to much and make them look a bit organic. I would like to keep 90 degree corners as much as possible so that the viewer quickly can identity the shape as a building. It might require a different process but I would also greatly appreciate suggestions on how to fill out the "jagged" corners circled in red. Cheers!
The extents of the shapefile bounding box are -100 (left) and 100 (right) and -200 (bottom) and 200 (top). Since there is no prj I don't know the units, but I do I know the shapefile is supposed to be a UTM 12 north map projection and I know all the other CRS parameters (so I am able to create the correct prj for the shapefile). In addition to this, I know the x-offset and y-offset and scale values that must be applied to the shapefile. My question: how do I apply the offset and scale to the shapefile? I believe these offset and scale values were derived when the file was converted from CAD. Thanks!
Does's it possible to use where clause for more than one feature type? f.e. [gas_distribution]cp_bond_wire where id > 0; [gas_distribution]cp_rectifier where id > 0Two where clause delimited with ";".
In TestFilter, is there a trick to allow specifying the list index range in the Test Clause?e.g., _list{[0-2]}.fruit = 'Apple'rather than specifying each element index to test for individually:_list{0}.fruit = 'Apple'AND _list{1}.fruit = 'Apple'AND _list{2}.fruit = 'Apple'without going into PythonCaller way?
I am trying to read in multiple files from a folder at once which contain a specific text string in the title and not any files that don't contain that string. I want it to be dynamic, such that if the files in the folder change, the reader will update as I want to put this at the start of a workflow which will put all the features from each individual source file into a single file and perform some transformations with that data. I have managed to figure out making a reader that looks at a folder and all its sub folders, but it reads in all the files in the folder, some of which I don't need/want. Is there a way I can apply a search filter to the reader so it only brings in files that have certain terms in the title?
Hi FME community, I'm creating a workspace to automate a proportional spatial sum.I have polygons with employment data.And I have bus stops that I'm using to create multiple buffers as my zones of interest. I'm testing this with zones I've already caculated with MapInfo GIS software so I know what values I'm suppose to have in the end, and i'm able to compare this with FME workspace results. I get the expected result when I aggregate all my stops points from all buses indifferently: But I also need those stats for each bus separately. To do so, instead of aggregating indifferently all points, I do it with a group by using my bus name attribute.But the results are way off. If I add a tester before the buffer, in order to filter only one bus, I have the exact result. As soon as there is more than one zone of interest the results are false.My guess is that I don't know how to use the clipper correcly with multiple zones as clippers (even if the clipper type is
How to find the distance between two point efficiently. Have used Linebuilder with a larger dataset and it takes ages, workspace with test data is attached.
Hi FME Community,I have a large polygon and I would like to devide or split it to mosaics. do you know a transformation capable of doing it for me automatically.Thank you in advanceArash Hokm
I have a geotiff in tif format & ovr format. I want to convert this to another format such as a CSV or autocad format but I can't seem to get the correct output. Any help is appreciated
I have a workbench that fetches data from an API and updates a Web App in ArcGIS. I am using the Teams Connector to publish update information to a relevant Teams channel. When running this workbench locally I receive no error and the message publishes successfully to Teams. The Problem: After publishing the workbench to FME Server in Cloud, I am receiving a strange error which I cannot seem to find the solution to on any article. The error and workbench are shown below. Error: Workbench: Looking forward to hearing any opinions.
Hello all,I am using CoordinateExtractor to extract the start and end coordinates of line features. Most lines have only a start and end but some have an intermediate vertex. I want to extract the start and end for the list created but if I use the -1 I get no results (according to the help 0 should be start and -1 should be end) If I open the text editor it is showing a problem with the expression Can anyone let me know what is the correct syntax to get the end point, please?
Thanks to Debbi L for her help today and pointing me to:https://community.safe.com/s/question/0D54Q00008FXAFASA5/i-have-a-100-ft-line-that-curves-and-then-turns-back-into-a-straight-line-how-can-i-use-fme-to-only-gather-the-straight-line-after-the-curve-only-i-basically-want-to-cut-out-the-curve-and-only-grab-the-line-after-the-curve While this helped, I am at a loss as to how to build the rest of this in order to achieve the removal of unnecessary vertices. I was hoping Generalizer would be able to do the trick but it is mainly based upon the distance between vertices. Any help would be appreciated!😉 To expand upon this, I would want to remove the vertices in the adjacent lines segments highlighted in this image:
Hello, How would I remove specific vertices from a feature that are stored in a list, the vertex remover only allows one vertex be removed. I have a list with: Coordinate Index - vertices_to_remove{}.vertice_indexX - vertices_to_remove{}.xY - vertices_to_remove{}.yZ - vertices_to_remove{}.z Thanks
I am really, really new to FME and so trying to wrap my head around everything. Essentially I have a CSV that has multiple data sets one after another, split by a multi line section of header information that it not formatted the same way as the data. I'm trying to read each section of data and write it to a single database table. So for each section I need to read a specific line within the header area (Serial number and Counter Name) and then use that as one of the attributes in the writer. Data should look like : SerialNumber, CounterName, Date, Time, Value When complete in order to write it to the table. From the various posts I've found I think it might involve using a variable setter and variable retriever but I'm not sure how to make that work. Any suggestions are appreciated.
Hello,I have a few ESRI generated json response files from ArcGIS Server feature service that can contain 1 to 200 records per response and these do not have geometry. What I want to accomplish is to add one new parameter "projectnumber" and assign it with a static variable and rewrite the output back to JSON or ESRI JSON file again. Thanks in advance ! Original: { "attributes": { "sapfloctplnr": "MASG-GASD-SA01-SERL-0055647", "lifecyclestatus": 1, "GLOBALID": "{E839E029-529F-4D6B-9C4E-85BD875BC582}", "ASSETGROUP": 1 } }, { "attributes": { "sapfloctplnr": "MASG-GASD-SA01-SERL-0055649", "lifecyclestatus": 1, "GLOBALID": "{A9BF1A40-C1E4-4BC7-A538-7011FA9C55EA}", "ASSETGROUP": 1 } }, { "attributes": { "sapfloctplnr": "MASG-GASD-SA01-SERL-0055659", "lifecyclestatus": 1, "GLOBALI
I'm looking to build a workspace for an FME Server App to read a generated QR code that has a CSV list of attribute values in as an attribute and further transform it. Does anyone have any experience?
Hello,I wish to generate a count of points within Polygons [PointOnAreaOverlayer] but I am unable to generate a count for some polygons because of fme_rejection_code: INVALID_POLYGON_GEOMETRY_TYPEThese Polygons are either Self Intersecting or Multi Polygons. I believe I need to resolve this before I can start counting points inside but Aggregator and Geometry Validator do not seem to fix the issue.Thanks.
I found something back in 2009, but nothing since and no solution built for this. I have Intermedite knowledge of FME. I have a records for every 50 meters along a roadway that contains 3 fields Ride value, Rutting, and Surface condition. These 3 values make up our Condition state of our segments. I want to reverse this and build my segments based on a Rolling average for say 1 km minimum (20 records) where the average IRI = >x, Rutting = >y and SCI = >z. it would then build a polyline or group by averages. This would be a massive upgrade to our current system which involves shovels, hammers, and coffee!!! Sample graph where the red line would be my split, the roadway here groups into 2 segments.
We have a Mapinfo file with customers and we're using this stupid third party geocoder (for now hopefully changing) and we're pretty sure it's having an issue because of the size of the table we're sending it. I was thinking maybe I could get around it by having FME split the table into 3 equal tables and then geocoding them and then combining them back together. Does anyone know of a way to do this? There's no real column info that I could export based on anything it would have to be after X rows or something similar to that. Thanks so much! 😀
I am running a workspace that detects changes in data between an API and Web App and applies only updates to the Web App using a change detector transformer. I am sending a notification to a Slack Webhook but instead of a single HTTP request being made, it makes 1 request for each data record updated. What I Want:"Successfully updated 70 records". What is Happening:"Successfully updated 1 records"."Successfully updated 2 records".And so on till 70... Is there a transformer that will allow me to sum the number of updated records and only send a single HTTP request to the Slack Webhook? Workbench Screenshot: Thanks!
Hi all, I am generating a workspace for a client. A requirement is that output data should be in EPSG:29902. The writers have been defined to use 29902 as the output coordinate system. However, when I open the datasets in QGIS or Arc, the data is reporting as coordinate system EPSG:29903. Is there a way to correct this behaviour? Attached is a simple workbench with a creator transformer and a writer set to use 29902. But the output generated is 29903. Many thanks
I have a list of hyperlinks in Excel that lead to PDF's held in a website. Can FME iterate through this list and download the documents to a folder? Thanks in advance. Sean
I've got a HTTPCaller in a loop that retrieves data page by page (I use offset and limit). I have a tester that tests whether 'has_last_page' is true. This all seems to works ok but the translation does not stop - it just keeps repeating the last URL even though all records have been returned.
I'm extracting some data from a DB that stores values for time periods against a date in a comma separated list (above). I've used a cloner to create the time period for the date. Any idea how I split the csv list (presumably using an AttributeSplitter) and append the value to the desired timestamp? Any help appreciated!Thanks