Using transformers to modify data.
Recently active
I'm very new to FME and sorry if my question is stupid.There are some JSON data containing objects with multipolygon geometry on a single spline 256x256 with integer values of (x, y) as you can see in following example (just part of whole file of course) {"HotspotMetaData":{"id":162011,"RenderedGeometry":{"type":"MultiPolygon","coordinates":[[[[0,231],[-3,228],[-9,233],[-6,236],[0,231]]],[[[1,227],[-1,225],[-6,231],[-3,234],[1,227]]],[[[3,224],[0,222],[-3,228],[0,230],[3,224]]],[[[8,229],[9,225],[0,222],[-1,226],[8,229]]]]}},"hintContent":"40 km/h","unit":"kilometers per hour","description":40}See on JsonEditorOnlineAs I can see it is very similary to GeoJSON except that "Rendered ...", but! First of all FME say me "There is no geometry". Ok, I can live without it. But I see no way how to access that multi-array of coordinates. I got all of that &qu
So I just got my toes wet with customer transformers and loops. Fascinating. For the first time the worlds of programming and FME seem to really come together here in my mind. Limitless potential.I put together a custom transformers that takes a bunch of point features, then identifies a certain point, pops it out into feature holder and feeds the rest of the points back to the start of the loop. Essentially, this allows me to put these points in any order I would like for further processing, using my own business logic.Now, this works great for one set of points. What if I have 10K points and would like to use my custom transformers on batches of these. I can split them out in to groups/stream using an AttributeFilter but how do I connect that to the custom transformer? I could certainly connect each stream to a copy of the transformer but that would be crude and crazy clutter. Is there something like a FeatureHolder or some other trick - some form of GroupBy - before we get to the cu
I am trying to convert a CAD text dataset to Esri geodatabase annotation keeping font size and font type. Everything is ok except that the final result is shifted upper left. How can i keep the original text position?
It seems that the writer wrongly rounds the values of seconds greater than 59. Using DB Browser to query the result: Could it be a bug?
I attended last week's webinar on metadata and was happy to hear of the xsd-drive XML reader and writter. I've been attempting to modify the cap:alert demo to write a flavor of ISO19115. XML Validation: Starting schema validation for 'c:\...\output\tmp.xml'The uri-map document 'C:\Program Files\FME\xml\urimap\gml_aixm.xml' is being used to map from URI to URIThe uri-map document 'C:\Program Files\FME\xml\urimap\gml_citygml.xml' is being used to map from URI to URIThe uri-map document 'C:\Program Files\FME\xml\urimap\gml_inspire.xml' is being used to map from URI to URIThe uri-map document 'C:\Program Files\FME\xml\urimap\gml_sosi.xml' is being used to map from URI to URIThe uri-map document 'C:\Program Files\FME\xml\urimap\gml_urimap.xml' is being used to map from URI to URIXML Validation: Fatal Error in 'c:\...\output\tmp.xml' on line 1, column 39: 'invalid document structure'XML Validation: '0' warning(s) found.XML Validation: '1' fatal error(s) and '0' error(s) in 'c:\...\output
I have a raster in coordinate system EPSG:25833 (ETRS89.UTM-33N). The coordinate system is saved with name ETRS_1989_UTM_Zone_33N in GeoTIFF and Esri Shapefile, but in ECW with name NUTM33. The coordinate systems are the same, only with different name.I have viewed the properties with Esri ArcGIS. The different coordinate system names are in ArcGIS no porblem, but in the software GeODin Maps.How to do it to write coordinate system name ETRS_1989_UTM_Zone_33N into the ECW file?
I am using a dgn file and printing it to pdf. Bentley's textNodes don't work correctly in my conversion and I would like to convert all textNodes to texts before writing to pdf. How can this be done in FME?
Bye! How can I color lines that cross 3D objects? I would like to color each line green before it crosses the 3D object, and the piece of line that is beyond the 3D object red. Thanks
I have a lot of files with different coordinate systems. However, coordinate extractor only works to get a coordinate system of a file. Is there a way to get a list of coordinate system names of multiple files in different formats (shp, tab, kmz..)
As a note, we can do this in QGIS using the Topological colouring.
I have to POST JSON bodies to web api, but first I have to compress json by gzip compression. How could I do that?
Dear FME community,I have a question concerning the creation of a web feature service. On the following web-page (https://community.safe.com/s/article/how-to-create-a-wfs-service-using-fme-server) I have seen a tutorial on how to create a web feature service. Here a SpatiaLite-file is loaded into the workspace to create the web feature service. I have a geojson-file with some 2D geometry in it. It contains a tile-grid made out of polygons. Is it possible to either convert this geojson into a web feature service or create a new tile grid with labeled tiles? It would also be nice if one could hover over the tiles to highlight them in a different color. The whole web feature service should have a very small file-size so that the web-map does not take very long to load. Thank you so much in advance for your help! With kind regardsChristian
I tried to use TwilioSMSSender to send a web link text message to my mobile. The text message was http://qgsp.maps.arcgis.com/apps/webappviewer/index.html?id=56fc6ae6f9cb4d5b8aaa554126cc50e0&find=260819MKY1 . However, the text message was always cut off by the ampersand “&”, which means my text message received was http://qgsp.maps.arcgis.com/apps/webappviewer/index.html?id=56fc6ae6f9cb4d5b8aaa554126cc50e0 .Any suggestions will be appreciated. Thank you.
Hi experts,I want to read the TAB file but with WHERE statement to filter the number of records that I want. It could not perform and run into errors like below. Could you help to indicate where I did wrong. THanks. I had tried without "" for the fields name, treating the values like string and not string.Performing query against MAPINFO_EXTENDED dataset `C:\\QV\\MapData\\PARCEL.tab'UniversalReader: Unable to emulate search type 'fme_all_features' because fme_where is requestedFeatureReader_2 (QueryFactory): A fatal error has occurred. Check the logfile above for detailsA fatal error has occurred. Check the logfile above for details
Hi! Hope someone can help me out with this: I'm trying to create some sort of dynamic way to filter specific set of Attributes. Since the AttributeKeeper needs this input: AttributeName1,AttributeName2,AttributeName3,etc input, I was wandering if I can use a AttriubuteValue for this..but this is where I got lost;) I've created an attribute with concatenated list of Attributes I want to keep. But what would be a good approche to use this value to keep specific set of Attributes? cheers,ronald
Hey community!How can I merge des points from a line into one line?I have a lot of "points lines" that I create with the transformer "Iterative Snipper" to chop that every meter in the lines. And now I want to merge every points in lines with color from points (attached picture). Tnkx a lot!
Hi all, I feel like I'm asking a well-trod question, but I'm having trouble with blank PDFs being output and am going a bit mad with the PDFStyler, PDFPageFormatter and TableAdder. Basically, I need to create multiple PDFs, grouped by username, from input Excel files. So far, with very little luck, other than the fanout naming (of these usernames). With the TableAdder I end up getting everything squashed into blocks of unreadable text, despite trying different values. I wasn't sure if I was missing anything obvious, or if there was an easier way to start this process. Thanks
FME 2016 Build 16494 I want to automatically filter each info field value and the workspace will run them one by one. It's like:ThenandAnybody help me ! pls ....
I have a line that I try to divide in smaller parts of 5 m each. The line is is from a shapefile. When I try to use the chopper it divides the line in random parts, varying in length from 7 to 113 meter, but in not a single case in 5 meter. Am I doing something wrong or is this a bug in the transformer?Hope someone can help.
When creating Areas from Lines using Areabuilder some areas are lost in the process. One example in the attached workspace, data and images is an area with "externid" "0381>NYNÄS>1:7>2". Not sure how many others are missing.
Hi,I am trying to create a map in a raster format and write it to MSWord ( using MSWordStyler) however I seem not to be able to create a legend for my map. ( a table holing the name of the attributes visualised on the map and their symbology on the next column) in my case the symbology is easy. just colored circles.Does any one have an experience with this orhave an idea what transformer to use in order to get this result? the part of my work space that creates the raster map:
Access stores the Date/Time data type as a double-precision, floating-point number up to 15 decimal places. It stores dates before December 30, 1899 as negative numbers...Is it the conversion issue from FME date definition to Access definition? Seems like it only supports positive numbers (later than 30.12.1899)?
Hi, I'm using StringCaseChanger but I'd first like to test if a attribute string is all caps. I'm using tester with Regex [A-Z\\s]+ and Case Sensitive mode but I'm not getting the expected results. Any ideas on how I can tester for attributes with all caps? These are paragraphs that might contain numbers and other symbols as well.
I have a dynamic workspace with a dynamic file geodatabase reader. I want to update some of the feature classes in the file geodatabase. When I use a normal (=not dynamic) writer, it works. However, I would like to use a dynamic writer. But with the dynamic writer, I always get an error: "Geodatabase Writer: Feature Class or Table 'd_y_n' must exist when Table Handling is set to 'Use Existing'" - I don't know where the 'd_y_n' comes from. What am I doing wrong?
I have tried the StringReplacer but I'm struggling to remove everything I need to, without also removing part or all of the email as well. Any help would be appreciated, thank you.