Using transformers to modify data.
Recently active
I am testing the OGCAPI of the Norwegian Mapping Authority (https://ogcapitest.kartverket.no/rest/services/havnedata/collections). It provides five different coordinate reference systems. http://www.opengis.net/def/crs/OGC/1.3/CRS84http://www.opengis.net/def/crs/EPSG/0/5973http://www.opengis.net/def/crs/EPSG/0/25833http://www.opengis.net/def/crs/EPSG/0/4326http://www.opengis.net/def/crs/EPSG/0/3857 The OGC API – Features Quick Facts suggests that the OGCAPI feature reader supports coordinate systems. The reader seems to default to WGS84. How can I choose a diffrent CRS in the OGC-API reader? The call would be like "http://www.opengis.net/def/crs/EPSG/0/5973&limit=2" alt="https://ogcapitest.kartverket.no/rest/services/havnedata/collections/fender/items?crs=https://ogcapitest.kartverket.no/rest/services/havnedata/collections/fender/items?crs=http://www.opengis.net/def/crs/EPSG/0/5973" ... but how can one provide the crs information in the reader? Thank you.
I have a table that I need to export to an Excel file. To this file I want to apply some styling. I’ve written a Python script that works well: it uses a FeatureWriter followed by a PythonCaller, and the result is an Excel file with the desired formatting, including filters, colors, and so on.Now I’d like to split this Excel output using a fanout expression, which generates 23 separate Excel files. Each of these files should then be processed by the PythonCaller. However, that’s where things go wrong — the process seems to get stuck. I’m using the _dataset variable from the Summary output port of the FeatureWriter as the location for the Excel files, which the PythonCaller should loop through.Is there something I might have overlooked?
I have tried using the online tool but not having any luck. Could anyone show me how to get this into FME? How does someone get this built as a coordiante system in FME
I have line segments (vertex only a beginning and end) and want to create polygons for each (including their attributes). The line segments represent a span between utility structures in a right of way. The goal is create the polygon geometry per span and calculate the acreage in each. The Bufferer works great when the line segments are straight, but when a turn is introduced, I get slivers and overlaps as seen in this screenshot:Notice the overlaps and slivers where the line turns Bufferer Parameters:Bufferer parameters To visualize what I’m trying to create - here is a mock up of where I want the polygons split (red lines were drawn in by me and the green polygon is just a buffer of the dissolved line segments). The centerline represents the spans.Red lines = where I want the polygons split Doesn't sound too crazy but it’s kicking by butt at the moment. Any idea or suggestions?
I want to upload some files for a specific workbench using HTTP.I'm using Python for this with requests library, but I'm having difficulty getting it to work.My python code is as follows: with open(file_path, 'rb') as file: url = f"{fme_url}/fmedataupload/{script_location}" data = { 'custom_file': { 'value': file.read(), 'options': { 'contentType': 'application/octet-stream', 'filename': file_name, } }, 'opt_namespace': directory, 'opt_fullpath': True } token = get_token() headers = { 'content-type': 'application/x-www-form-urlencoded', 'Authorization': f"fmetoken token={token}", } return requests.post(url, data=data, headers=headers, json=True)I do get a 200 OK response, so authorization is fine, but the file isn't uploaded.It even creates a directory at the right spot.The response is as
Hi folks,Trying my hand at a workflow that takes certain records from a GIS feature class and writes them into a Spreadsheet XLSX (2025 Work Plan). I’ve renamed the attributes from the GIS feature class schema to match the relevant fields in the 2025 Work Plan Spreadsheet with no issues. When I examine them, they look good in the table.The Spreadsheet has certain Excel-only fields that are not included in the GIS feature class. What I am finding is that while the information is being translated into the 2025 Work Plan Excel Sheet, it is also writing the remainder of the fields from the GIS feature class into columns in the 2025 Work Plan Excel Sheet that are Excel-only.This is despite trying to remove the excess fields in the Writer. And even mapping the fields directly to the corresponding fields in the Excel Writer. I had tried experimenting with the ‘Update’ parameter rather than Insert, but that caused errors.Are there any suggestions to ensure only the specified GIS fields are wri
Hello, I am trying to extract html tags from an attribute, however the documentation is very unclear and need further guidance.Page: https://docs.safe.com/fme/html/FME-Form-Documentation/FME-Transformers/Transformers/htmlextractor.htmStates: “In the HTMLExtractor, a query is constructed to find the div tag with the id “article” (CSS Selector = #article). The contents of that tag will be extracted (Tag Part/HTML Attribute = Value), and output to the new attribute articleText.”Where is the mapping document that maps FME CSS selector ‘ids’ to html tags? I am trying to extract <br>, what should the CSS selector for this be? Using “br” as the selector and then using a list exploder produces an attribute with empty fields.
Hello,I am currently learning how FME handles IFC HVAC structures and have been using some sample files from the RWTH-E3D DigitalHub repository (https://github.com/RWTH-E3D/DigitalHub) for my tests.While doing this, I'm having trouble getting FME to read all the features and their geometry correctly. The IFC file itself appears to be valid, as it displays correctly in an external IFC viewer like BimVision. (filename: DigitalHub_FM-HZG_v2.ifc)Here you can see the full HVAC system with pipes, tanks, pumps, etc.However, when I bring it into FME, I get incomplete results, and the behavior is different depending on the version I use.1. With FME(R) 2025.1.1.0 (Build 25615):The reader fails to read most features. The feature count for IfcPipeSegment, IfcTank, IfcPump, etc., is 0. The FME Inspector confirms that nothing is read.2. With FME(R) 2025.0.3.0 (Build 25241):This older version is partially successful:It correctly reads features like IfcPipeSegment and IfcTank with their geometry.Howev
In an Esri SDE database, fields (attributes) have a property setting of isNullable (Allow NULL). This property determines if the field allows null values or not. I want to be able to set this property in FME when I create a new feature class. Is there a way to set this property with the Esri Geodatabase SDE writer? See screenshot below to see how to set the setting in ArcGIS Pro.
I can't remove the "issue." fields. I tried deleting them with Attribute Manager and AttributeRemove without success. Could someone tell me how to do this deletion?
Hi everyone, I'm working on an FME workflow that needs to process multiple Shapefiles. The challenge is that these files come with different schemas (different attributes, attribute names, etc.). I’ve noticed that transformers like DuplicateFilter, AttributeExposer, DatetimeConverter, SchemaMapper... don’t handle these schema changes dynamically. That means every time a new Shapefile with a different schema is added, I have to manually update these transformers to accommodate the changes. Is there a way to make this process more dynamic, so the workflow can adapt automatically to different input schemas without manual intervention each time? Any tips or suggestions would be greatly appreciated! Thanks in advance!
I have a process that downloads groups of shapefiles of the same schema to a folder from a google bucket. I am trying to read in those shapefiles with a feature reader so that I can add an attribute containing the shapefiles name. Then I want to write all those shapefiles to a singe feature class in a geodatabase. How would I set up my featurereader so I can create and write that attribute in all those shapefiles before writing to the feature class?
Hi, I’m using XSDDrivenXMLWriter to write very dynamic XML to a file. There is one part of the xml with a lot of features that is very static and contains always the same data like origin and publisher… I don’t want to create all the 30 features with the XSDDrivenXMLWriter for this static part and thought I could use the _XML_FRAGMENT_ feature and 3 attributes like xml_fragment, xml_document_append_path and xml_document_append_as to tell the XSDDrivenXMLWriter to add my static xml to the output. But somehow I can’t get it working.Can you please provide me an example workspace? Unfortunately I cannot provide my workspace because it is restricted by the customer.Many thanks.
For years I’ve successfully used the Geocoder transformer with the ArcGIS Online service. Now with the recent upgrade to Version 2025, it appears to be broken. I’ve read a bunch of recent articles concerning the new (?) ArcGIS connector package, but nothing seems to relate to the Geocoder transformer. Anyone else having similar problems?
The texture image displayed by the Appearance Setter converter is correct, but the texture map written in 3dtile format is incorrect. It should be due to the loss of texture coordinates. When will 3dtiles improve? Currently, it can only be used simply
I’m using the SchemaMapper and I have a question. After transforming the data, I noticed that in the 'Unexposed Attributes' section, the attributes are correctly mapped, but in the resulting table, the attributes still appear without the mapping. Does anyone know how to ensure that the attributes, after passing through the SchemaMapper, show up correctly mapped in the final table? Is there any additional configuration needed?
I’m trying to query data from BigQuery using the GoogleBigQueryConnector and get a ‘Failed to get authorization header’ error message when trying to select a project. FME has been given access to my Google account to view and manage data in BigQuery.
Hi All,I am trying to migrate Dimensions from AutoCAD to ESRI. But while doing so, i get an error "An error occurred while attempting to set the 'DimensionShape' property on the 'IDimensionFeature' interface for the dimension feature class 'PD_ServiceDim100'. The error number from ArcObjects is: '-2147220936'. The error message from ArcObjects is: {The coordinates or measures are out of bounds.}". I have assigned the coordinate system in dwg. I have tried by normally migrating the Dimension as well as re-projecting the same, but am getting the same error. To test, whether the coordinates are correct or not i placed a point feature in the same and was successfully able to migrate (without reprojecting) it to a point feature class in GDB. Not sure, whether any attribute is creating a problem for Dimensions. Any ideas ?
Hi everyone,I'm encountering an issue when running a workspace in FME Workbench, and I get the following error:“Zorba Internal Fatal Error”What would be the best way to troubleshoot or fix this issue?
Hi everyone, I'm facing an issue in my workflow: when I process two shapefiles with the same name, the Feature Reader (in Generic mode) interprets them as a single file. This causes an error in my Join. Is there a way to handle this so both shapefiles are read separately?
I’m working with getting raster imagery in the area of interest out from the WMS. It’s the Land Coverage WMS. (https://dmsdata.cr.usgs.gov/geoserver/mrlc_Land-Cover-Native_conus_year_data/wms?)End goal is to clip the Raster out from WMS into smaller area, and I need to be able to write attribute table showing the value number & RGB value in the Raster.End Product. (Smaller Raster with attribute table)The issue I’m having is that the Palette index seeing inside ArcPro and FME is different. (Approximate location, SE corner of Possom Kingdom Lake, Graford, Texas, USA.) (32.856463, -98.431004)Screenshot from ArcPro. When clicking Blue (Water) the value is 11. Screenshot from FME. When viewing the Palette after using RasterPaletteExtractor it showed Blue as 0. and I cannot figure out how to get the value “11” out of it. Also If anyone can help me figure out how to write the raster file out with attribute table that would be greatly appreciated. I’m quite new with Raster, so I’m no
Hi everyone,I have a very large dataset made up of numerous GeoTIFFs that I need to merge using FME’s RasterMosaicker. Unfortunately, the process stops due to memory issues, most likely because of the amount of data being processed.What’s the best way to get around this limitation and still perform the mosaic?
Hello,I've encountered an issue with how color attributes are read by the different IFC readers.The IFC reader (deprecated) reads a color value as the diffuse color, but the newer IFC_API reader reads the exact same value as the ambient color.Consequently, when using a writer like the CityGML writer, the diffuse color information is missing, which results in incorrect materials being created in the output file.Let me show you with a simple IFC example.When viewed with BIMVision: The color appears correctly as expected. When read with the IFC reader (deprecated):The geometry has the diffuse color, which is correct. When read with the IFC_API reader:The geometry has the ambient color instead of diffuse. What is the recommended way to handle this? Do I need to wait for the next version for a fix?As a temporary workaround, would it be possible to change the ambient color to diffuse color? This seems difficult because in my actual project files, the hierarchical position of the geometry par
How can I maintain the exact postgre data type of numeric , when write it back to database. The image below is the database datatype (numeric) used used as a Reader but the above image is the writer output data type as numeric (1000,500)