Using transformers to modify data.
Recently active
Hi,is it possible to use the LineOnAreaOverlayer transformer to test all lines in an area against all areas step by step. That means i have 10000 areas and all should be testest one by one against the 15000 lines in the line port. As a result I need a list which shows me what lines are in every single area. And yes, the same line will be in more than one area. Maybe i colud use a second workspace and use the workspacerunner to bring the data in, but i hope there will be a smarter solution for that.
Create polygon from point
Hello Dears,Im new to FME. I would like to convert SHP to TopoJSON. Is there any special transformers to use for this process or any customization required.I tried with simple attribute manager but the converted data is just a line. could you please help anyone SC attached
In QGIS there is a useful tool that generates Random points on lines. It snaps the points to the lines whilst keeping an even spacing between all points. It also has a setting of points per line.Any ideas on how to achieve the same result in FME? Description of the function in QGIS:This algorithm creates a point layer, with points placed randomly on the lines of the Input line layer. The default behaviour is that the generated point features inherit the attributes of the line feature on which they were was generated.Parameters / options:For each feature in the Input line layer, the algorithm attempts to add the specified Number of points for each feature to the output layer.A Minimum distance between points and a Global minimum distance between points can be specified. A point will not be added if there is an already generated point within this (Euclidean) distance from the generated location. With Minimum distance between points, only points on the same line feature are considered, wh
I have some problems using data made from FME. The workflow is basically from excel statistics data combined with feature joiner with shape polygon and after that through attribute manager to shape writer. I'm doing calculations based on both data sources attribute information in attribute manager (arithmetic editor) which I guess changes the data to text with point separator. When I try to do thematic maps in other GIS applications the data cannot be read even though it is there and looks good on the surface and contains both calculated data and polygons. I suspect the reason is that attribute manager changes the information to text after calculations. Even if I manually change the data type to double in shape writer this doesn't help. Any tips? Also possible reason is the use of point separator (most often I use comma). I haven't updated all the transformers lately. (The error I'm getting from ArcGIS when I try to do maps from data is that layer doesn't contain
My input is contour lines, I want to convert to raster. How can I do this? I was thinking contour->vector->raster, but i am not sure how to convert contour to vector. Any help would be appreciated
Dear All, I have GML with various types features like building, stream, road etc. In building feature member there are sub types like representation_point, roof_outline , roof_surface. My task is to extract only representation_point from building feature member. Kindly advice which transformer I have to use or steps to achieve the task. I tried xmlflattener but ended up with failure.
Hi There,I've got a question that seems to appear a fair bit within the forum but I have so far been unable to find a methodology that works for my case.I'm attempting to identify water mains within a water distribution network that have accidentally been duplicated, incorrectly split and not removed, or more generally are errors that went unnoticed. What I think it boils down to is isolating where lines overlap exactly (Scenario B of attach image), where mains have been split and a segment wasn't retired/removed when (Scenario A), or where a segment was completely replaced the old segment wasn't removed or retired (Scenario C). *Orange segments below are the erroroneous segments I'm attempting to isolate.From the forum posts I've read here there's a lot of talk of using the LineOnLineOverlayer which I have tried using. However, I'm don't want to report on valid intersects where mains are connected to each other. I've have some difficulty trying
I can't create the exact footprint through RasterExtentsCoercer, even i have set the Extents Type as 'Data Extents'. The transformer only allow me to generate a rectangle that covers the entire extents.My aerial imagery is in RGBA, possible the alpha band caused this issue. Is there a way to create the exact footprint?PS: i have attached a sample image.Thanks and Regards,Jian
Hello everyone, So I would like to generate a HTML report by using "HTML Report Generator".For the final product, I would like to generate the report with the "current time" on the HTML page. This is what I write in the text editor: KE Indoor run on @DateTimeFormat(@DateTimeNow(local),ISO) The output is: KE Indoor run on 2022-01-18T16:58:52.1754106+08:00 However, this is what I want for the result: KE Indoor run on 2022-01-18 16:58:52 May I ask how can I fix the problem? Thank you in advance.
Hello, I have an issue with generalising contours inside a tiling system. All contours need to match at tile edges, hence a surface tolerance of 0 is required. When this happens, vertices are added in what seems to be every 0.1m. Therefore i need to generalise. The standard generalizer causes overlaps between different elevations, so the only option is sherbendgeneraliser but it takes an age with the amount of vertices. I have tried adding a generaliser with 0.1 tolerance before the sherbend generaliser but this also causes overlaps. I want vertices roughly every 5m or so in the output. Question:How do i fix these generalised overlaps?is there a quicker way to speed up sherbendgeneraliser?
I consider to replace my Http callers by the Asynch Http caller. I am curious whether other users have experience with this Asynch HTTP Caller. This is related to this idea which is worked out in a transformer. Because the test suite states 'failed', I doubt whether I can use this transformer safely. Anyone experience with this transformer?
I need to truncate the existing table and append data. I have two tables one from versioned sde and the second table is in FGDB. I need to delete rows from the table in sde and append data from FGDB. I have to do field mapping after appending data from FGDB. I am not sure what would be the workaround to accomplish this task. Please suggest any workaround.
Hi, I am having problems with converting a TIN surface to a raster with height information. The input data is a LandXML which contains a surface of type IFMECompositeSurface. Right now I feed the surface into the RasterDEM generator with the following settings: The coordinate system is EPSG:28992 so the surface tolerance is set to 1cm, however the results are quite jagged:To give you a sense of scale, the image above is for an area of around 1300 meters wide so the the jagged points seen above are sometimes a 100 meters wide. To check my results I decided to convert the result to a pointcloud so I could take a look and compare it with the original surface in the 3D view in FME Inspector. In the image below you can see that the pointcloud that was created from the raster actually dives beneath the original surface:Does anybody have an idea what could cause these problems? I a doubting whether the RasterDEMGenerator is the right transformer for this job. I already have a workaround whe
Hi there, I am looking for a transformer or a solution that allows me to check if any attribute of a feature has a specific value (e.g. string "remove"). Only then I want to remove the attribute. Renaming would work as well. Thanks for your help.
I'm trying to calculate the percentage of nodata cells within a raster by using the point cloud combiner + point cloud splitter in fme to extract the value of cells with data vs cells with nodata, and get a ratio. It's clearly not the right approach as it is taking forever. Is there a better way to do this? Usually it would be fore raster tiles with 1,000,000 cells. Counting the nbr of nodata cells in each file basically
Hello , I have a feature geometry with two parts (IFMEMultiArea with two IFMEPolygons). Using PythonCaller transformation, I want process line segments in various parts of the geometry.Is there an API for getting the coordinates of any part of geometry?I am able to get the part count as follows: partsCount = feature.numParts(True,True) I can get the parts as follows: areaPart = feature.getGeometry().getPartAt(0) But I could not find a suitable API for getting coordinates of a particular part in the API documentation. Thanks in advance. Regards,Byju
Add color to Point Cloud, hello dear community, i have a point cloud in a .xyz format, only with coordinates. I would like to add sth. like a color or a height ramp, which depends on the height of each value and gives each point an unique RGB value.
I have checked with other values and 2.1234567 is fine and so is 2.8888888 and 0.1234567. this issue only happens with whole numbers
Hi,I have been playing around with FME Desktop for a great while now and I think it's definitely capable, however, my knowledge lacks a bit here. I am trying to convert an OSM XML (Luxembourg for example, but not limited to) into a couple of information levels:level 0point (equals nodes)xyz id (equal to node id)node id/indexFace idline (equals edges)xyz idedge id/indexfrom node idto node idleft face idright face idpolygon (equals faces)face id/indexedges{}.edge_idedges{}.orient (boolean value of all_edges{edge_id}.fknot > all_edges{edge_id}.tknot)level 1point (equals nodes)point id (this correlates with the level_0 point id of this point)desc id (type parameter, maps to an array of strings)feature code (an integer, which maps to an array of strings)attributes{}.segmented_attr_idnodes{}.node_id (all the level_0_points that are connected to this point)line (equals edges)line id (correlates with level_0_line id of this line)desc id (type parameter, maps to an array of strings)featu
I need help with translating a shape file into SmallWorld. I am having problems finding any info on the subject. Was hoping to get some example code so I can move forward . I usually translate from Smallworld to MicroStation
Hello, I'm looking to generate a number of lines from coordinate data within a spreadsheet, each with distinct start/end points, but grouped by a common attribute. Each of the points are ordered numerically (and geographically). Using LineBuilder seems connects all points in a line to eachother, rather than creating one line sequentially. The image attached shows how the relevant data is organised, so with this data I'd need 3 lines, one each for group A, B, and C, with each line each starting at point 1 and ending at point 5. Thanks for any help!
I'm manipulating an IFC file, writing it back to IFC with a few changes. So far I couldn't figure out how to write a Material Layer Set. I can see it is defined in the geometry traits of my original IFC file but when I write it back out it seems to remove the information. Has anyone done this?Geometry traits on original IFC:Original data:IFC file translated with FME:
I'm writing data to a hosted ArcGIS Online feature Service, one field is of type string but I sometimes writes an integer to it. When I do that the number is converted to decimal. So 25 becomes 25.0.Has anyone solved this (without adding a space at the end)?
Is there a Transformer that lets you download OSM/Openstreetmap Address points for a country?