Using transformers to modify data.
Recently active
Hey folks, I'm in a bit of a trouble. The readout of an xml file gives me an attribute that contains coordinates. The attribute's content is like this: '47.609703,9.858943 47.620427,9.867245 47.613033,9.92076 47.600331,9.930115 47.612142,9.960663 47.61008,9.972698 47.631773,9.980192 47.609703,9.858943 47.609703,9.858943'Please be aware that i shortend the count of numbers.All I am trying is to build a polygon with these coordinates to write an Esri shapefile.The PolygonBuilder/AreaBuilder won't help because it needs polylines to work with. Thanks you so much,Ed
Hello, I've tried looking into this and I'm pretty sure I know the readers and writers to use but the middle bit seems to be stumping me. Put simply, I have a folder with 800 files in it. I have a list of about 200 files which reside within the aforementioned folder.I'd like to copy and paste only the files contained within the list into a new folder.Any help would be greatly appreciated!
Hi,For a given 2 lines (line_id1, line_id2), I should do LineOnLineOverlayor and then lengthcalculator.After that I want to have the accumulation of length of the new segment of Line_id1.Ex: length_accumulator of the first new segment = the samelength_accumlator of the second new segment = length_accumulator + lengthAnd so on.I’m using Counter (to have line_id1), then LineOnLineOverlayer (generate List line_id1_List) and finally AttributeCreator (length_accumulator).What should I do to calculate the length_accumlator (I can not use length between coordinates because I have curve and polylines)?Thanks
Hi together I get a lot of polygons and some of them have redundant vertex point coordinate!!! How can I remove the redundant points in this polygons? Thanks Zoran
I have a point cloud and am wanting to create a 3D solid from the extents. I have been able to produce a solid like this below with help but just wondering if there is a way so that the solid is created like the first image attached with the solid that I require very roughly outlined in red?Any help greatly appreciated
Hello,I'm trying to create a kml-file using the xml-templater. In the kml file I want to visualize points and Lines, something like:<Placemark> <styleUrl>#Icon</styleUrl> <Point> <coordinates>{fme:get-attribute("rw_wgs84")},{fme:get-attribute("hw_wgs84")}</coordinates> </Point> </Placemark> <Placemark> <LineString><coordinates>{fme:get-attribute("_coordinates")}</coordinates></LineString> </Placemark>But I get an syntax error (missing comma between the Placemarks)?What Am I doing wrong? How can I create a template for different placemarks?Thanks for your help,Isabell
Exporting a Database in 12c , the SRID is set to null , is there a way that FME can update all SRID to correct coordinate system within FME , would it be Feature class by Feature class or can it be doen for the whole Schema ?
Hi Guys,I hope I explain my self clearly.My Problem is: I have a point dataset and a line dataset. What I want to be able to do is find the point that is the closest to the start and end node of each line object and display it in a csv file etc.The lines could have multiple vertices in them but I only need to know which point is closest to the start and which point is closest to the end.Both datasets are shape files.Is there any way this can be accomplished?so the output would look likeline_idline detailsstart_node_pointend_node_point1234sdgsgfg9876541234565678sgsfhdfhd546214748565
Hello, any datetime expert out there? I have a dataset in yyyymmddhhmmss format in utc time. Now I am trying to convert it to local time with the consideration of daylight saving. I know the newest version of FME has features that support advanced datetime conversion, but still really confused on this especially with daylight time saving. Before, I have a user parameter to ask the user to manually choose the UTC offset. Now I am trying to upgrade my workspace so that I can get rid of this and have the FME detect my UTC offset automatically. Any ideas? Really appreciate it!!!
Hello,please, I need to solve one spicy problem. I have autocad_insert entity (block reference) composed by insert point and text point (label). Distance between these two point is variable, so I need to extract relative position of text point to block insert point. Is any possibility there to extract difference in X,Y?Thank You so much!Lubo
I have a CAD file with polygons representing areas of landscaping which I am going to export as a shape file after some manipulating. These polygons have multileaders with an area reference (as text) pointed towards them, and I am trying to give the polygons this text value. I would've liked to have used the Neighbor Finder transformer but the distance between the leader arrowhead and polygon isn't necessarily the same throughout.Any suggestions would be much appreciated.Katie
I have to fetch data from PV output website and for this I am using TimeStamp_StringSearcher. This is provided to me by my teacher and I dont know how to understand this: cats = [[ A-Za-z0-9_@.\\/'#:,&+-]*] When I run my fme scheme it says this error: @Length -- Invalid argument -- ''6:15AM','6:30AM','6:45AM'..... Kindly explain briefly Thank you
Hi!I am trying to find the shortest paths between many points and one destination, any idea on how I can easiest do this? I would like to reach a similar effect as v.net.distance in QGIS. I have looked at shortestpathfinder and networkcostcalculator, but I cannot see how I should use them, or which other tools to combine them with, in order to reach my goal.
I am trying to create 3d block of the point cloud extents and not really getting anywhere. I was wondering if anyone would be able to help me in achieving thisThanks, Sam
I have a startup python script which runs perfectly fine with the previous FME 2017.0 version, but after I upgraded my old work space using the newest FME 2017.1.1 version, the work space failed to run. It gave me this warning message "The User-specified library C:\\Program Files\\FME\\fme.exe could not be loaded". I'm wondering if this has something to do with the installation of fme and python library. Also I have two error messages saying "Python Exception : No module named arcpy", "Error executing string `import os". Does this mean I have to reinstall arcpy library? Can anyone give me some suggestions?Appreciated it!
Dear expert of Dynamic Segmentation:I was using LineOnLineOverlayer for Dynamic Segmentation purpose, but it was giving me wrong attribute information. I've got 2 segments or event layers here, all with geometry:The ideal result I was looking for is:But the result generated by LineOnLineOverlayer is:Looking at the result in FME Inspector, the geometries of the 3 segments are at the right place, just the attributes are all messed up, specifically 1st and 2nd row. I didn't find too much information about using FME for linear referencing stuff, so I have to turn to this forum. I hope gio and takashi or anybody with previous experience could provide some insights on this. Much appreciated. Thanks!@gio @takashi aand
Hey guys,I checked this post below:https://knowledge.safe.com/questions/56005/create-a-personalised-id-with-letter-and-number.htmlit helped me, but I need to use 3 letters (I will specify) and 6 numbers. I used counter to generate the numbers and used string replacer to add the letters I want. However, I need to add zeros between letters and numbers. I need to something like:ABC000001ABC000002.........ABC000011...ABC012341
Hi,I have 2 lines which overlap. Every line has start width and end width.Ex: line_id_1 with start_width 1m, end_width 5m, from measure 0 to measure 100Line_id_2 with start_width 2m, end_width 4m, from measure 50 to measure 80I’m using LineOnLineOverlayer to get 3 events from measure 0 to measure 50 and from measure 50 to measure 80 and from measure 80 to measure 100.What I need is to have the width of line_id1 from measure 0 to measure 50, also width from measure 50 to 80 and finally width from for the line_id_1.I used LineOnLineOverlayer, then listIndexer, then MeasureExtractor and then aggregator (the Aggregator is to get the information that I have 2 events from 50 to 80).It is not important to use the same approach, if there is another solution to do the overlap between the 2 lines. thanks
Hello! I have several fields in a file that contain consecutive spaces. I want to replace the consecutive spaces (generally just 2) with one single space. But I've tried several ways with String Replacer to denote 2 spaces and I can't seem to figure it out. Can anyone help? Example: What I have: 123 Main Street What I want: 123 Main Street
Hi!I've used the instructions on this page https://knowledge.safe.com/questions/21627/finding-percentage-of-a-area-within-other-areas.html (clipper), since I'd like to know how much recreational land is within a certain service area (buffer zone) of each city in a region. The problem is that the method in the link above does'nt work for this, as far as I know, since the geographical buffer zones of the cities overlap each other. I'd like the final result to be a file with all of the cities and an attribute column with a number for the amount of recreational land (hectar) available. I wonder if you could help me figure out how to achive this in FME? I am not looking forward to calculating this individually for each city, even though that would of course be an option.Thank you!
Version information: FME Desktop 2017.0.1.1 build 17291 win64 FME Server 2017.0.1.1 build 17291 win64In FME Desktop I created a linked custom transformer with looping capabilities. I saved the custom transformer as a fmx file, installed the file and implemented the transformer in an existing workspace. .After installation it was available in the workspace by searching for it on the canvas. When editing the transformer it opened correctly the right fmx file. That shows to me that linkage should be correct. Running the workspace in FME Desktop gives proper results.After that, I published the workspace to FME Server. During publishing, I selected the fmx file and picked as saving location the repository where the workspace would be saved. This is according to the steps in the FME Server documentation: http://docs.safe.com/fme/html/FME_Server_Documentation/Content/AdminGuide/Sharing_FME_Engine_Resources.htm#Publish_with_WorkspaceI ended up on the above webpage via https://knowledge.safe.co
Hello Safers. Hope all is well.Im wanting to use the InlineQuerier to do a WITH RECURSIVE select.Trying to make a path from a tree stored in a relational model. Very much like this example: https://academy.vertabelo.com/blog/do-it-in-sql-recursive-tree-traversal/Unfortunately I found that WITH support is not in version 3.8.2 of sqlite (which looks like what FMEs is using) WITH support was added with 3.8.3. Are there any plans to upgrade with future releases of FME? Or some way to patch it. Any other suggestions or workarounds? I guess I could write to a different database that supports WITH and read back. However, I was trying stay all with file based tables. Thanks in advance.
I have a bunch of Microsoft Word file i want to count word in and the use the most common word with geographic content to generate a polygon where the word file is about.My problem is that i cant read a word file in FME. I have created all the workspace to do what i want but the problem is that i have like 2 000 word file and i dont want to convert all of the into txt.Do anyone have a solution to this?
Hi Everyone,First post, so be nice :)Just doing a simple task of checking for duplicates based on polygon id within a .TAB file, (eventually I want to output as a shapefile). It has returned two polygons... How can I now amend the id's of the duplicate polygons by adding say either a or b? I've got attribute manager but not sure where to go from here?Hope that makes sense :/Thanks very much.
Hello, I am working with an excel file with lots of field where I want to remove the space before and after a "/" eg. HWY 427 / North Queen St to HWY 427/North Queen St. I have been testing using the String Replacer where Text to replace: is ([A-Z])([A-Z]). Does anyone else have any suggestions? Thanks in advance.