Using transformers to modify data.
Recently active
HiI have a polygon with name A and some points around with names A, B , C, DI would like to calculate the distance between the centerpoint of polygon and the point with the same name of polygon (distance polygon A point A)ThxFrancesco
I am running a simple workspace in 2017 and 2016.1. Read Shapefile, bounding box accumulator and feature reader, with spatial filter on WMS.The process works fine in 2017, but in 2016 with the exact parameters, transformers and variables will not clip the full extent,simply when the envelope is applied the URL request is something along the lines of BBOX=xmin,ymin, xmax, ymax,2017 works fine the the variables are correct in the request URL, however in 2016, the bounding box coordinates in URL are that of the WMS. Again everything is identical between the two workbenches except for the result.
I have the following datetime format built from python datetime like bellow.datetime.datetime.today()2018-04-29 12:20:36.975031Im reading a csv dataset and trying to load it to an elasticsearch writer setting the writer field with the pythondate to a datatype 'date' but it always fail with following error 2018-04-30 16:35:25| 2.0| 0.0|ERROR |ELASTICSEARCH writer: {"took":0,"errors":true,"items":[{"index":{"_index":"imob","_type":"imov","_id":"pzIxF2MB3029rqSru8Tt","status":400,"error":{"type":"mapper_parsing_exception","reason":"failed to parse [date]","caused_by":{"type":"illegal_field_value_exception","reason":"Cannot parse \"0000/00/00 00:00:00.000\": Value 0 for monthOfYear must be in the range [1,12]"}}}}]} Seems odd cause the date beeing sent is beeing checked with a logger just before the ES writer and the value is 2018-04-30 16:40:42| 1.7| 0.0|INFORM|Attribute(string) : `date' has value `2018-04-29 12:20:36.975031'So how is it beeing converted to \"0000/0
Hi allis it possibe to insert a buffer distance inside the FuzzyStringCompareFrom2DatasetsI mean My goal is to compare the name of dataset a with name of dataset b within a distance of 500m
Is there a way to set the logging level on a workspace on FME server? You can set logging level on your desktop by pressing Tools -> FME Options and unchecking/checking options in "Log Settings". We specifically want to not log information.
Hi all,I got some points like in the pic. How can I create a cluster with most point and get the long/lat of the center?Thank you all
Hi all,I hope an easy one.Please see attached images; how should I write to get the values within the measures item in the AttributeExposer tool?Many thanks
I have a set of polygons resembling the Towers of Hanoi (I have many towers with varying rings but only included one tower here):I would like to start with the polygons which doesn't have any holes and which are holes in other polygons (in this case I only have the small one in the center) and dissolve it with the polygon in which it is a hole. I would like to repeat this until the dissolved area is larger than some threshold (here 30).Can I do this in FME 2016?I have attached a shape file with the data set above.
Hello, I have a question about Counter transformer. I have .SHP with line elements and I need to give every line an ID but Counter transformer for some group of lines gives IDs that are apart not in order. Example, 1.png I have a line that is given an ID 0, line left of this line has an ID 1, but line right of it has an ID 86(2.png), same thing is at other end of this chain of lines(Left line has an ID of 86, "central" ID 13, and right ID 12, 3.png). Is there a possibility that FME gives ID in sequence from left to right, North to South it doesn't matter just some kind of sequence? Thank you in advance. 1.PNG2.PNG3.PNG
I am trying to create multiple 'masks' at once.I have a shapefile with a lot of small zones, and a shapefile with one large region. I would like to create a shapefile with as many features as the number of small zones, each feature holding the geometry of the large region with 1 of the small zones cut out.In short: I would like to create a shapefile that can server as a mask for all of these smaller regions individually. It is meant to be used for Data Driven Pages printing purposes in ArcGIS.My attempts with the Clipper transformer were not succesfull so far: when clipping all the small zones out of the large region, at the 'outside' port only one feature emerges: the large region with all of the small zones cut out at once.
Hi There,I am new ini FME. I have the latest version.I used the DISSOLVER transformer to dissolve the polygon and the generate list functionality to get the list of all the blocks have been dissolved by the group field. The result is I can see the POLYGONS dissolved but I don't think I am generating any list of these polygons. Also how to get the count of how many polygons have been dissolved by the group field?Thanks for your help
Hello FME masters,I have a set of housenumbers I'd like to update. I'm trying RegEx but not getting the result I want.What it boils down to:HaveWant1-A1A22-2422First example: I'd like to clean out the dashes but keep the letter following the dash. Second example: Clean out the dash and any digits following it. How can I do this in the StringReplacer?Thanks, Ed
Hi,I have many polygons in my file, that have these random lines which are preventing me from processing the polygon further. I was able to identify which polygons have the issue using the geometry validator, but I don't know how to fix the issue.Attached is a screenshot and a sample data.Anyone experienced the same problem and know how to resolve it?Thank you!
The question is pretty self-explanatory, there is a select by location option in ArcMap that allows you to select polygons from a dataset that have their centroid in polygons from ANOTHER DATASET. I think one would need to use the CenterPointReplacer transformer to create centroids of the polygon and select the centroids that are within the other polygon then join (DatabaseJoiner?) the selection back to the original polygon but I would like to know if there is an easier way.
Howdy!Seems like this is an easy one but I couldn't find where this solution might be found in the Knowledge Base... my brains just not clicking today!My Goal: Use the max value output from StatisticsCalculator, add one to get the next sequential value, use that value as the start value for a new Counter transformer. Background: Early in my FME workflow I use the Counter to tag each street intersection point feature/record with a unique ID, this gets stored in a field named "FME_CountID". Later in the workflow, I need to add new street intersection point features/records to those earlier records. Issue to resolve: For those new intersection point records I need to pick up the existing FME_CountID record numbering where it left off. Thank you in advance!
I have a small mystery, hopefully someone can help me with it.I have several points (53) that I clip with a polygon shapefile. Some points (51) are inside the polygon, others (2) are outside. In the FME workflow I also see the correct number of features being sent to the shapefile. The data inspector also shows 51 points. But in the actual exported shapefile and .dbf file, I only find 47 points.I am not using the group feature or anything, and the points all have a unique ID code. Picture 1 shows what I see in FME workbench, picture 2 what data inspector shows me, picture 3 what QGIS reports/FME Data Inspector showsThe file is not open in another app or whatever. When I export to say GEOJSON, I do get the correct 51 points.What am I missing? Is there a bug when exporting to shapefile? Running FME 2018 build 18284-18301-18305
Has anyone had experience with the TransXchange transport information format used in the UK ?I'm unable to get the xml reader in Workbench to read/ translate the data into another format (i want to import into a GIS)This is the schema:ttp://www.transxchange.org.uk/schema/2.4/TransXChange_general.xsd and the following the error message Opening the XML reader with source dataset 'F:\\FME_processing_data\\Carto_jobs\\TravelineCymru\\NewAdventureTravel63-Brecon-Sennybridge-Ystradgynlais2_TXC_2016510-0220_PWAO063.xml'The uri-map document 'C:\\Program Files\\FME2017\\xml\\urimap\\gml_aixm.xml' is being used to map from URI to URIThe uri-map document 'C:\\Program Files\\FME2017\\xml\\urimap\\gml_citygml.xml' is being used to map from URI to URIThe uri-map document 'C:\\Program Files\\FME2017\\xml\\urimap\\gml_inspire.xml' is being used to map from URI to URIThe uri-map document 'C:\\Program Files\\FME2017\\xml\\urimap\\gml_urimap.xml' is being used
I am reading table name and attribute values from text file. I do not have column names but only table name and values in the list.I would like to insert the values into SQL Server table. How do I map list to destination table schema. The order of column values match with table structure. Following is the example of text file row.I~6000000~PDEN ~A058951~PI~PI~DEHYDRATOR~~261384~~~B&C; COMPRESSOR STATION~802103~~~~~~~~~~~~A~~A~USA~17~027~~61~022033~~~~~~20171001~~~~~~~~N~~~~CONGRESS_PRD~~3~~~~~~~~~~~~~~~~G~LA~~L~~~~~~~~~~~~~~~~~~~~'I' is the transaction type.6000000 is table idPDEN is the table name.Rest of them are Attribute Values.Text file can contain values for multiple tables and it can have update or deletes also.For now I am trying to find a solution for inserts.Please let me know your thoughts.
Hello, JSON-lovers!We've been trying to extract the attributes from this response body but however we do it seems like we need to input the attributes we need manually. This can't be true. We would like to get all the attributes no matter what. We're no JSON-specialist as you can probably guess... Is there an easy way to do this?Response body:[{"ObjectId":507,"ComponentId":3,"Metadata":{"KomponentNamn":"AB+56232=270XO001","Lansbokstav":"AB","Objekt":"56","ObjektId":507,"KomponentId":3,"Area":"2","Placering":"32","System":"27","Underniv":"0","Beteckning":"XO","Nr":"001","Underlitt":"","Beskrivning":"Övrigt konstruktionselement, Polygonpunkt","Entreprenor":"","Leverantor":"Ab
Hello All I'm new to FME but i think it's a great tool to helpanyway i have this problem that i hope that somebody can help me to solve it I have a TXT file , most of the sentence are not with dot at the end.I need to add a dot at the end of every sentence and then save the TXT file back again with the same encoding settings ( I want to make this thing to go automatically)any help guys thanks
Hi,Is it possible to copy the conditional values from one attributemanger to another? Thx!
I have some point objects that need to be rotated. The source data has a starting position and contains a offset in metres from the origin. This would give me two points and from there I could draw a line between the two and finaly measure the angle of this line using AzimutCalculator. Ergo my rotation value.I need some advice on the best way to construct the line. So far I have tried combinations of the Offseter, VertexCreator and LineBuilder to construct the new point but I have not found a way to pair this with the source object. The features all come with an unique ID, but I have not figured out how to pair the original back to the offset point before drawing the connecting line. Below is an early embryo just to give an example of what I am trying to do.
I can do it in QGIS simply by using "name" LIKE '%LDN%' to sort the data, but this is not working for me in FME using the Attribute filter and text editor. Forgive me if I have got it wrong, this is my first go at using FME.
Hello,I have a network of (+) intersecting lines (There is no (T) intersections). I have also nodes of these + intersections also extracted.I want that whenever there is an intersection, the shortest line to be splitted to 2 lines but the long ones remains as it isCan anyone help me with this ?Thank you very much
Just for fun :-) Try this workspace. Assuming that different two versions (latest one and previous one) of FME have been installed in your machine. (FME 2018.0.0.3)Published ParametersNew Transformers: "<NEWER_FME_HOME>/transformers/fmesuite.fmx" of the newer FMEPrevious Transformers: "<OLDER_FME_HOME>/transformers/fmesuite.fmx" of the older FMEDestination Microsoft Excel File: Excel file which will store list of transformers - Added, Upgraded, Unchanged and Deprecated.In fact, I wanted to know what transformers have to be newly localized in FME localization job for the latest version of FME.