Using transformers to modify data.
Recently active
I have searched some methods to convert polygon into lines on FME. But none of these could do it.Firstly, I extract a closed polyline of a polygon with GeometryPartExtractor, and then try to decompose it with Chopper. But instead of four lines, the result is many of broken segments. Secondly, I turn a polygon to a closed polyline with GeometryCoercer, and then try to decompose it to four lines. But the result is also many of broken segments with Chopper, or only one closed polyline with Intersector. Why is that? Can anyone help me? Thank you so much.
I have a simple workbench consisting of a FeatureReader, a VertexCreator and a FeatureWriter writing to a postGIS table. I am reading an Excel spreadsheet.The problem is that the FeatureReader is reading an extra row beyond the data and passing null coordinates into the VertexCreator. I have 103 records, but for some reason it is reading 104. The columns in the last row are all marked as missing. I have checked to see if there is any spurious data, like white space in the last row that might be getting registered as data, but I can't find anything.
Any recommendations on how to reference FME in academic papers? For comparison, QGIS has this guideline: https://www.qgis.org/en/site/getinvolved/faq/index.html
How to convert polygons to lines and vice versa? I couldn’t figure out how the conversions are implemented in the FME. For example, how polygons are converted to polylines and vice versa? Thank you Best Jamal
I am using NetworkCostCalculator to calculate driven distance along a network, storing the cost as a Z-value (though I could switch to Measure)Is there a way of splitting the line at a specific value (3500 metres) of the Measure?And then keeping those streets below the same value (3500 metres)?I am currently using a Contour Generator, but that gives bad results when a road loops around and comes back with the tail end getting caught inside the contour even though the driven distance is too long
Hi, I am trying to create a service area of 2km down a road network from a known starting point. Ie select any road/or part of road within 2km of my starting point (via the road (not an isochrone)). The equivalent of ArcGIS service area. I have read and downloaded the FME "Calculate Emergency Travel Times" example but am a bit lost. Im guessing i need to use the Network Cost Calculator... Any suggestions or ways forward would be appreciated. Thanks Goatboy.
Hello,I have a set of features, which have specific(but varying) attributes that I want to expose. All these attributes are uppercase, but all features do not have these attributes, and the names of the attributes vary quite a lot. The only thing they all have in common is being upperspace. I can filter them out with the PythonCaller, but I am unsure about how to input them to the AttributeExposer. The only input I can give the AttributeExposer is to open a file and read from there. Seems like a big workaround to read all the attributes, filter them, then write to a file and then open it.
Hi! I got several lines made of polygons with the CenterLineReplacer (medial axis), but i only want to keep the longest line with only two ends of each line. Is there a way for that? In the picture below you can first see the line with several ends, in the second picture you see the line as it should look. Thank you in advance!
How to remove “Self intersections” using FME I wonder if there is a method to repair the self-intersections in the FME such as the ArcGIS tools “(Check geometry and repair geometry). I have used GeometryValidator but it fails to repair the polygons, What might be the issue here ? Regards, Ahmad Saleh
Hi,there are two sets of line feature. The lines of the first set are interrupted, figure 1. The second set is a whole boundary line extracted from a polygon, figure 2. The coordinates of point 1 and point 3 are equal, so do point 2 and point 4. Now I want to add the bottom line from the second set to the first set, leaving this yellow line, and breaking at the intersection. What should I do? Thank you so much.
We face a problem correcting the geometry between multiple polygons in a layer.There are some gaps between polygons and we need to automatically fill them. We identified 2 ways to fill the gaps between 2 polygons, explained in the following chart. We tried the first solution using dossolver and Donut Hole extractor, but there are some line left after the process (maybe due to the different positions of the shape vertex on the grid). So we don’t know if our process is the best to succed ? if yes , how to fix this problem ?
Is there an escape character for the SQL text box in the SQLExecutor?If I try the following SQL against and Oracle database - select OFFICER from officer where lower(email) = '@Value(userName)'where userName value is in the format of it will fail because FME turns @Value(userName) into a string (evidenced by highlights in this picture).If I format my userName field to 'myemail@address.com' and remove the single quotes in the query as per this picture, the query will succeed Obviously I can run this through extra transformers to format my values beforehand but this is adding unnecessary processing and workbench bulk.Here https://knowledge.safe.com/questions/36933/how-to-prevent-single-quotes-turning-my-parameter.html @daleatsafe has stated that FME doesn't touch single quotes, but it appears from my first picture that it does? Or I have misunderstood something in that post.Also select OFFICER from officer where lower(email) = '''@Value(userName)' run
Hello,I would like to create the Dist CLoud/Mesh tool of CloudCompare.I have 2 input files. One is individual points (PointCloudCoercer : Individual Points) from the class Building of a Lidar point Cloud and second is polygons representing roofs in SHAPEFILE. I wanted to measure the (vertical) distance from each point to the nearest polygon.I firstly used the SurfaceDraper to drape the points into the roof, then measure the distance between the draped point and the original points, but it didn't work as you can see below. Do you have a solution to my issue ?Thank you in advance,VictorPoint cloud : You can find the Shapefile polygon via this link: https://wetransfer.com/downloads/291f3edefb457b27a0f286ca68e3420120200624124047/919a8805a20a2c4b08eee3a830f2776e20200624124104/84c603
Hey fellow FME'ers, I'm working on a process to export multiple formats some of which support textures. Now I know that FME has the capability to deal with shared items buuut does anyone know a way not output multiple copies of the same textures or overwrite existing ones? is there a way for the writers to use the shared items? Thanks in advance for any input
Possibly something that may already be addressed - this is in FME 2019.2.3.1If reading a date time field from Oracle, if you try to sort this field numerically you get an error message, presumably because the date times are seen as stringsFailed to sort Feature Table. Ensure fields you wish to sort by are of a sortable typeBreaking bulk mode, e.g. with a python caller, addresses the issue and the sorter works.
I've been working on a new workflow and in 2020 I've been excited to see the increased support for Bulk Mode - It's awesome. However, I feel like in the workflow that I've been creating Bulk Mode has been causing some performance issues. In a few places in the log I see things like this 2020-06-23 09:47:51| 5.8| 1.4|INFORM|Aggregator_4 (AggregateFactory): Group 1 / 1: Preparing to divide 11 features into groups2020-06-23 09:47:52| 6.1| 0.3|INFORM|Aggregator_4 (AggregateFactory): Group 1 / 1: Dividing 11 features into groups2020-06-23 09:47:52| 6.3| 0.2|INFORM|Aggregator_4 (AggregateFactory): Group 1 / 1: Splitting bulk mode features into features2020-06-23 09:47:53| 8.0| 1.8|INFORM|Aggregator_6 (AggregateFactory): Group 1 / 1: Preparing to divide 4 features into groups2020-06-23 09:47:54| 8.5| 0.5|INFORM|Aggregator_6 (AggregateFactory): Group 1 / 1: Dividing 4 features into groups2020-06-23 09:47:54| 8.7| 0.2|INFORM|Aggregator_6 (AggregateFactory): Group 1 / 1: Spli
Hello all,I have a street network and a point dataset (of schools).How do I calculate those streets that represent a 3.5km driven distance from each school?I can calculate one school at a time, if that is necessary
I have a series of text files that I am trying to create lines from. Each row in the text file has the number of vertices followed by the Y coordinates for all the vertices and then the x coordinates for all the vertices (see example below)3,41.1380602942863,41.1378946727126,41.1378187626848,-111.856708809171,-111.857316620769,-111.857869454434Does anyone know how I could break these up into an X,Y format to use something like the LineBuilder to create lines?Thanks!
I make a custom transformer local machine. This custom transformer I can not open in the remote environment. The same issue occurs when I make a custom transformer on my remote device I cannot find this transformer locally. My default path is the same: I:\\APPDATA\\FME\\FME_Conn but I cannot find my custom transformer on any of my disks.What is the problem? and how can I sync the path for custom transformers so I can use the custom transformer in any environment?
I'm reading OSM PBF and having a problem to retrieve the value for the key ele (elevation) for feature type natural_peak. When adding the reader, FME detects and expose the following 2 attributes from peak : name and ele (as defined in config file). There might be other attributes available in the feature information window that I can later expose.However, attribute "ele" is always empty, even though the information is avaiable on the node (verified on OSM directly). I have tested with different datasets (the French Alps, Caribbean) and FME never retrieve the elevation value. Looking in the feature information window, the attribute "ele" is never present which make me think that FME do not retrive this value at all using the OSM PBF reader.Any ideas ??
Hello guys;I got some 3D Scan laser scan data as an e57 format and as soon as I open each setup I see that it contains point-cloud data and 6 raster imageries. This is great as I can combine all the point cloud and generate 360 panoramas for each set up I'm having hard time to extract coordinates from center of the 360 and build a single raster from each set up. No idea why I'm just able to preview just on of the raster and all the remain looks like contains same metada. My guess is that I'm missing something.Any one with experience extracting 360 panos from and e57 (Coordinates of center of the pano and a single raster?) Thanks
Greetings, I have a table that has a string column with geometry coordinates for a multi polygon. I would like to convert this data to a Polygon feature (ESRI) shapefile. Attached is a snapshot of what this column looks like. Thanks for any information.
Hi,I am using BRepSolidBoundaryCreator.Beta to create a 3D-model with our terrain mesh as the top layer. The model is created without problem, but after clipping the model, edges of the clipped model is jagged and geometryvalidator shows the sides and some parts where the sides break the top layer as "InvalidParts" due to non planar surfaces. It works just fine if I generate a mesh with 90° corners to run through the BRepSolidBoundaryCreator.Beta and not clip it. The goal is however being able to clip the resulting 3D model to any shape, save it as in STL-format and still have sharp edges. Any ideas on how to achieve that? My workbench so far:My result:
Hello!I have a line where the first and last vertex contains the real z height (see on photo).I want to set the direction of the line in the that it shows to the lower point, so the 0 vertext is higher, than the last coordinate. Is there a way that can change the original random orientation to fit this rule?Thanks
Hi there, I have a database with a series of different street names from all over the world.In some regions that use multiple alphabets in their local languages, I have mixes of this. I.e. one name in Latin, and another in Thai, Arabic, Cyrillic, etc.What I'd like to do is pretty simply on paper: Look at each string in my list and determine what the alphabet used is. As simple as a new attribute indicating the language as "Latin" or "Japanese", and so on.I've tried the CharacterCodeExtractor, but checking only the first character is not always useful, especially in cases like greek where some of the letters exist in both Greek and Latin alphabets.Any ideas on this? Thanks a lot!