Using transformers to modify data.
Recently active
There is no log file written to the set output folder (as a parameter) when running the workspace from FME Server. The FME server version is FME(R) 2019.2.3.2 (20200320 - Build 19825 - WIN32). What could be the reason?
I have a polygon with a line inside. I want to create several polygons out of the big one by snipping the line every 1 Meter. See my image for reference: I want to cut the red line every meter and split the polygon at that point by using a perpendicular line to the red one. As a result I will get more than 10 polygons.
I have a dataset containing attributes, but I can't read the coordinate value anywhere? The coordinates in the FME data inspector are. How do I load them in the workspace? Thanks a lot This is a loading xml of the model aixm 5.1
Is there a possibility to convert an esri shapefile (geometry: polygon) to esri shapefile (geometry: multipatch) ?If I try this directly Reader Esri shapefile --> Write Esri shapefile (geometry: Multipatch) I have no geometry only the attributes. Does anyone know how to convert to multipatch?
Can you please implement XQuery, i think this will be the best way. I want to save like in attachment.
I have created lod2 buodings by using the transformer BRepSolidBoundaryCreator.Beta. After this I used SurfaceonSurfaceOverlayer and tester (overlaps < 2) to remove internal walls. Afterwards I am using GeometryValidator to check if there are some errors inside. I have some Self Intersections:When I use "Self intersections in 2D" how can I check if the repaired geometries are without gaps? Could it be that during the repair some fixed polygons have gaps to the neighboring polygons?
I have a base shapefile and a 3D model ( but the faces are separate and don't represent a single cube) I want it to combine as a single cube.
Hi, From my reader I get an area feature (determined by the 'GeometryFilter'), but for my writer I need a Surface Feature. How do I convert an Are to a Surface? Thanks a lot! Michel
I am using the MongoDB3 reader successfully on a cluster that is a part of Atlas subscription but when I change the database connector to another cluster with the same data model it will not return any features. There are no errors that I can see.
I have experience with FME but only in writing from ArcGIS to CAD, and have never had any formal training, or the option for it. :(I have been tasked to write DGN V7 files to PDF. I do not have Bentley software or any experience in Microstation. This is not a fancy translation by any means, but I am having serious issues trying to determine what attributes to expose and how they correlate to the PDF writer. Are there any tutorials available or documents laying out this type of work flow?
I have a lot of JSON-responses that wraps an base64-encoded excelfile (response.json). If I extract the data-part and try to decode it using BinaryDecoder (base64 to hex I guess). And then decode to ASCII, I get only a few chars that makes no sense. If I use an online-service (https://www.base64decode.org/) and add the data-part of the JSON-file (JSON response -.....) I get a perfect excel-file. I can't seem to figure out the part that the online-service performs and the part I can't make FME do. Any help is appreciated.
For a project with an old projection I am trying to create multiple equal sized polygons within a bigger polygon. This is of importance because the historic projection uses intersections of distances to locate objects. So what I am trying to do is creating the polygons of equal distances into a larger polygon. I currently use the 2D Grid accumulator for this. However, this makes use of an hull around the polygon I've created. Therefore, some of the created polygons are outside of the project area. So, when looking at the image I would like to have 100 polygons of equal size in both directions tilted with the project area (Red line) and all within the project area. Let me know if anything is still unclear. Thanks in advance!
Hi!Using FME Desktop 20202.0, I cannot explain to myself why GeometryValidator transformer can miss a geo-issue when using ShapeFile format while can catch it for the same dataset in FileGDB format. Attaching screenshot. Any ideas?Thanks,Juanma,
FME Desktop 2022: How to specify the type of created attribute field (chr, double, integer, etc.)? I couldn’t figure out how to specify the type of the attribute field In the screenshot below, I created the “AreaPercent” attribute but couldn’t figure out how to specify its type. However, as it’s written in a feature class geodatabase, it’s considered as “chr”. How this can be managed?
FME Desktop 2022: How two columns of points are transferred as two fields in the attribute table of polygon layer? As per the screenshot (and the attached data): 1) I have a data that is generated in point layer and polygon layer2) Each feature of the point layer lies next to a feature from the polygon layer Now, how the two columns of the point layer are transferred as two fields in the attribute table of the polygon layer?
FME Desktop 2022: How to add comma separator (thousands separator) and specify the number of decimal places? I couldn’t figure out how to add comma separator (thousands separator) and specify the number of decimal places as they appear in the table
transformers
Is there a transformer to read the unique values contained within an attribute and then assign a new value? Similar to the way that the attribute manager works but for values. For example I have a dataset with the columns fruits: Fruits New Value-------- ----------------Apple > Green AppleBananaOrange > Blond OrangeKiwi > Golden Kiwi Ideally the transformer would read the unique values listed in the Fruits attribute and then I could specify the new value for the output. As I am working with large datasets, I do not want to have to create a mapping rule for every value individually. Ideally the values would be automatically clustered and would be presented in a table and I could then just specify the newly mapped value.
How would I go about spitting a column every 12th row so I have three features from column a instead of one
Hello everyone, I have this very large raster and a shapefile with polygons. My process is a looping one where the raster is clipped with each polygon. In order to avoid reading the whole raster everytime, I've created a subprocess that uses the polygon bounds directly in the search envelop of reader. Then, it is clipped.My problem arise when the polygon used for clipping is outside the raster extent. The "inside" port of the transformer is empty but the process continues. This output is supposed to be used later on in a script (arcpy custom transformer) to align many other rasters. But clearly all this fails because there is no raster. The best solution I have come up with would be to add a Tester or something after the transformer and create a bolean value which would allow me to deal with this empty raster directly in the script. However, I can't seem to find a way to do that. Mind me, I cannot use the "outside" port since I always have an extra part to
Hello,After using the CenterLineReplacer transformer on a ploygon I get the following result. Is it possible to extend the line that was created before so that it reaches the edge of the polygon? Thanks for your help
I have a 3D building file (stemming from a PostGIS reader) that is read correctly in FME (green object below). After exporting it as a File Geodatabase with geodb_multipatch geometry, I get the orange result. Any idea on what might be going wrong in the FeatureWriter?
I have a set of tabluar data with attributes (X, Y, EPSG). Where the ESPG can be any valid coordinate system. My goal is to create a set of points in a common coordinate system. I understand I could use a TestFilter for each EPSG I'm expecting then create points, but the workbench will fail if the data contains an EPSG code I didn't expect. What is the best approach to create points in a single coordinate system without hard-coding the workbench for a set of expected coordinate systems? Thanks
I have been linking S3Connector and the RasterExtentCoercer via the FeatureReader reading a downloaded COG to get its extent, but thinking about the nature of COGs, is there a way to only read the top layer overview instead of having to download the whole tiff? Downloading is ok for smallish files, but this would save a lot of time for large COG files.
Hi all, Today I wanted to set an attribute based on incoming values of an fme_feature_type name. I noticed that if I wanted to avoid getting an 'Incomplete Transformers' warning from FME, I would have to expose the fme_feature_type attribute first, before I could use it in e.g. an Attribute Value expression of e.g. an AttributeManager or AttributeCreator. Note that it was possible to disregard the warning, and the expression would still work. I wanted to avoid the incomplete (red cogwheel) warning. But as I also wanted to keep things clean in the workspace, I wanted to perform both actions in an AttributeManager; first expose fme_feature_type in the first line, and then in the second line set a new attribute using the exposed fme_feature_type attribute. However, I noticed that the AttributeManager still shows up as incomplete (red cogwheel), and if I look at the summary annotation of the AttributeManager it only shows the line about creating the new attribute, but not the first