Using transformers to modify data.
Recently active
Hi,I am trying to write a CityGML file using FME Desktop 2017. I can write the Roof, Ground and Wall surfaces features which contain the geometries, however, the "Building" featureclass does not contain the HREF links to those surfaces.This is easy to detect when using the inspector, as the Building featureclass does not show up as spatial.I have set gml_parent_id in the surface classes, to the value of gml_id used in the building class.
Hi Community!I'm working with two sets of polylines, but not all of them match perfectly.I'd like to identify, using FME, the polylines that do not align (Non-Overlapping).Is it correct to use the SpatialFilter transformer for this type of comparison?If so, how should it be properly configured?I've attached the data I'm working with:the red polylines (RtesType1.shp), which do not match, are located in the area highlighted by the black circle.The polylines I'm comparing them with are the ones in cyan (RC.shp).Thanks in advance for your help! 😊
I have a CityGML file with some attributes containing numbers, but also strings. But for example, the folllowing attribute is supposed to be a float or integer in the 3DTiles format, but is written as a String, no matter what I specify as datatype in the writer's user attributes. <gen:stringAttribute name="DatenquelleDachhoehe"> <gen:value>1000</gen:value></gen:stringAttribute> What could be the reason for the 3Dtiles writer ignoring the specified datatypes?
Hi everyone ,i wondering how to convert from (.x) files to 3ds max because i visited this link : https://www.safe.com/convert/microsoft-directx-x-file/3ds-max/ that anounce like can convert to 3ds max . Is there have any tutorial or guide for using this software about converting Direct X-Files to 3ds Max ?
I’m doing a project where I have to generate and compare multiple DTM TIN-models. In regards to this, I wonder: Is there a difference between TINGenerator and Surfacemodeller in regards to how the triangulation algorithms work?How does the triangulation algorithm(s) work, in more depth than that it is delaunay triangulation?Are there any other transformers/methods to produce TINs in FME?
hello how i can transform gps coordinate to merchich coordinate system and save the bouth systems coordinates in a table oracle? my problem is how to set the bouth systems in one table
We are looking into more low cost GNSS rover devices which unfortunately only measure ellipsoidal heights. To use those for mapping applications, we have to post-process those heights to receive orthometric heights (MSL). I have now received an official ascii grid file with the geoid undulation values. The distance between each point feature is between approx. 750 and 900 m:Would it be a viable approach to correct the height from ellips. heights to MSL by performing a nearest feature search (with the NeighborFindertransformer) and then subtract the geoid undulation from the ellips. heights? And if this is a viable way to do so in order to get proper MSL heights, would it be smarter to rasterize the grid first in order to increase the performance (ultimately this should end up in a FME Server webhook upon submitted survey from ArcGIS Survey123 or ArcGIS Collector). What would be a suitable raster size if point spacing varies between 750 and 900 m?
I'm using the JSONTemplater and have an attribute list. My (sub) template is {"id": fme:get-attribute("sumo_id"), "crosswalks": fme:get-list-attribute("_list{}.poly_id") }Which works fine if i have multiple list elements, but becomes a string if I only have one. { "id": "390335938", "crosswalks": ["225790", "2833648", "15808"] }, { "id": "126630292", "crosswalks": "1243410" } when I'm looking for { "id": "390335938", "crosswalks": ["225790", "2833648", "15808"] }, { "id": "126630292", "crosswalks": ["1243410"] }, Is there anyway to force the JSONTemplater to keep the array, or baring that what is the best way to post process the templater results?
There seems to be a trend moving away from the CS-Map projection library and I'd like to know where FME is going with it as well!
Hello everyone.I have a .dwg file including substructure data of an area. I'm studying on creation a 3D city model with virtulacityPUBLISHER. To be able to create this, I'm transforming dwg file into a geojson file format via "bufferer" transformer (Buffer Type: Solid). But solid type creating a semi-sphere at the end of the line. And then, generating surfaces which consist of 6n^2 faces. If we think about an awful a lot details for all substructure details (e.g. gas or water tubes, cables etc.) it will be too much surfaces to publish (with a web browser interface) for a city model. So, how can i simplify the lines (especially end of the lines) which is using for creating goejson file types.Thanks.
Hello everyone,I'm looking to place the maximum number of points within an irregular polygon, ensuring a minimum distance of 250 meters between each point. Initially, I considered using a grid, but I've realized that this method doesn't optimize the space within the polygon very well.Do you have any suggestions or more effective methods for solving this problem?Thanks in advance for your help!
The scenario is as follows: We are able to get the dynamic segmentation done using Feature Merger & Snipper transformers based on event table and routes, but we also want to capture "LocationError" field values like similar to "Make Route Event Layer tool in ArcGIS" Any thoughts are suggestions like how do we achieve it in FME?
I have got an inital line featureclass from which I make a new one with splitted the lines, based on a measure table (MeasureGenerator, FeatureMerger, Snipper). I want to make a fme tool that can update this featureclass based on an updated measure table. I want to conditional handle the attribute values of all changes in the new feature class. Measure:0-2000;2000-4000;4000-8000 (measure in meters)Becomes Measure:0-1000;1000-2000;2000-2500;2500-5000;5000-8000Makes combined:0-1000;1000-2000;2000-2500;2500-4000;4000-5000; 5000-8000In the record of 0-1000 should be the attributes (Start, End, etc) of ‘Measure’ and ‘Becomes Measure’ so I can check from which former feature the new feature will get the attributes. This will be based on the largest overlap in length. I have tried this with the LinOnLineOverlayer. Here the line output does not give the answer and the point output gives all the answers except for when the endpoint is the same (0-2000 and 1000-2000).How should I do this? Am I
I have a raster broken up into a grid of raster cells using RasterTiler. I want to rotate each cell X degrees (not the whole raster) in place. I do *not* want to rotate around the upper left corner. I need the cell to rotate and remain in the exact location.As I understand it, my process is using the following transformers:RasterCellOriginSetter: Set to 0.5,0.5 (the center) Rotator: Set Rotation Angle to X. RasterRotationApplier: Interpolation Type = Bilinear.When I do this, the cells are rotated around the upper-left corner rather than the centroid.Do I have the correct transformers & settings for this application?
When using a donut as a Clipper the Clippees on Clipper Boundary setting does not work like described in the documentation. It says:This parameter directs what action should be taken with Clippee features that lie entirely on the boundary of the clipper.Treat as Inside: These features that lie on the boundary are output via the Inside port. Treat as Outside: These features that lie on the boundary are output via the Outside port. Treat as Inside and Outside: Points and line segments on the boundary are duplicated and output as both Inside and Outside. So the data I have is like this: The donut is the clipper, the blue lines lie entirely on the boundary of the clipper.The parameters I use are like this:Single Clipper, Clippees on Clipper Boundary: Treat as Outside.The result is like this:The green line, on the outside of the area, leaves the Clipper correctly from the Outside port. The red line comes out of the Inside port. I think this is not correct.Found this in 2017.1.2.0 (build
i have many lines with different id inside the polygon ,some of lines crossed the polygon from both side and some not as picture . overlaps equal 1 in any lines intersected with polygon even if it is intersected from one side or two sidebut i want to extract only the lines that intersected only from two side .i used lineonarea with tolerance automatic but the output overlaps =1i used spatial relator but always i got the same output with any transformer overlaps =1it will be nice ,if someone advice me how could i know which lines intersected two times or one timei used tolerance Automatice but no changes in output Thanks in advance
Hello, I have created a workspace that works as it is in FME 2018.0.However now, when trying to upgrade, I seem to be getting validation errors, which I have not encountered before. After examining the outputs, they are different, as seen on the image.When running the translation in FME 2018.0 every feature is treated as FeatureMember, since 2018.1 it is behaving as seen on the right side, it's one giant FeatureMember. Any help how where can I fix this in newer versions? Thanks for any help,Radek
I use this https://hub.safe.com/templates/citygml-create-simple-city Sample, But I don't Know mean offset paramerter set EPSG:31467 are x:,y:.I am set Reader skp set EPSG:31467, but how did set x,y?so, I set Offsetter x,y, but i want position and model is vary different position!How did i skp convert citygml?
Can anyone advise how I can read a .shp file two sub-folders down from a zipped file? I've looked at previous posts on this group and they have suggested using wildcards to navigate the sub-folders (e.g. .zip/**/**/*.shp) but this hasn't worked for me.The .zip file is found here and the pathway to the shape file I want is below, you can see that it is two subfolders down from the parent directory:...\\HS2_Phase_2a_Additional_Provision_2_and_Supplementary_Environmental_Statement_2_February_2019.zip\\Shapefiles\\Construction_Proposed_Scheme\\CON_CN_ConsolidatedConstructionBoundary_Ply_CT05_AP02.shp The shape file reader works fine when the folders are unzipped but won't work otherwise. I've also had no luck using a FeatureReader or when the .zip file is stored locally. I'm using FME Workbench 2019.2.
HiDue to performance issues I had to roll back my fme from 2019.1 to 2018.1 (see post here).However, going back in versions appears to have thrown up a problem. I am trying to run about 5500 features through the AreaOnAreaOverlayer and it is giving me 80000+ features on the output. This was never a problem with the previous version (I was only getting about 7500 features output). Does anyone have any idea why this would happen? I've attached the log file if that is any help.Thanks for any help you can give.B
Is there no more customer support for chat ? Keeps saying.Sorry, there are no experts currently online or they may all be busy. You can usually reach us Mon-Fri between 9am-12pm and 1-4pm PST. Please use one of the following menu items, or click on "Report a Problem" to be directed. Even though I'm with in that those times.
Test to see if "viewable by original poster" means viewable by poster of the parent question, or poster of of the answer/comment we are replying to.
Hi @mark_1spatialI'm in process of transforming the oracle Spatial data to Autocad.dwg format by creating the FME 2016 workbench(fmw), i'll need to create/define my own symbology/block for a particular POINT feature class(which is not available in my existing Template.dwg), is there any option in FME that we can create/define our own symbology/block for a point feature class that needs to be displayed in the .DWG output file. Any help would be appreciated.
Hi.I'm working on a project where I need to find points within a distance of each other and assign a value to each neighbor. I'm using a neighborfinder with "candidates only", blank number of neighbors to find, given max distance and the ID of each point is added to a list. The points are close together, so the same points will be found for each candidate. What I'd like is to add a value to each of the closest candidates based on a attribute value on the feature. Do you have any a ideas on how to solve this? Torbjørn
Hi All,I am working with lists and require some guidance on the below scenarioI have list which contains 'n' elements. I would like to add a sub-element to each element in the list.Assuming my list name called as "list{}"Example: (My list currently looks like this) List{0} element1 element2 element3 List{1} element1 element2 element3 List{2} element1 element2 element3 List{n} element1 element2 element3 I would like to add new sub-element called "element4" at the end of each list element (i.e., add "element4" as sub-element below "element3" ) Expected Output (I would like to achieve something like below) List{0} element1 element2 element3 element4 List{1} element1 element2 element3 element4 List{2} element1 element2 element3 element4 List{n} element1 element2 elem