Using transformers to modify data.
Recently active
As title says, unable to convert lat/long to MGRS when latitude is -80.01 through -81. e.g., x= ‘100’, y= ’-80.1’ . I’m sure this isn’t the exact range but am able to reproduce the error.Was wondering if someone had additional information on how transformer calculated polar zones and, if there is preprocessing required for points located in south and north polar regions?Additionally, lmk as comment if you’re able to reproduce error in other FME versionFME Form 2023.2
I am transforming an IFC file to CityGML to upload the CityGML model to the 3DCityDB. I used the workspace published by Liz (https://support.safe.com/hc/en-us/articles/25407718003341-BIM-to-GIS-Intermediate-IFC-LOD-300-to-LOD-4-CityGML). The CityGML file created looks fine in the FME inspector. However, when I try to import the CityGML into the database, I get a lot of errors saying, “Failed to resolve XLink reference”. I was doing some research, and it seems the problem is that 3DCityDB does not support a gml:MultiGeometry with different dimensions (This is what they mention in the GitHub: In general, a gml:MultiGeometry is a collection of geometries that are allowed to have mixed dimensions: points (0D), curves (1D), surfaces (2D) and solids (3D). The 3DCityDB can handle geometries of different dimensions and collections of geometries having the same dimension. But collections containing geometries of different dimensions are not supported.). Is there a way I can modify the FME works
I have installed FME Server on a machine called "fmeserver-dev.com" and also used this as the hostname.Later we switched everything to SSL (including the Websockets) and the external web host name to "(https://)fmeserver-prod.com". Now, everything (Web UI, Services, Websockets...) is working fine, except the Topic Monitoring! Using the Developer Tools of a web browser, I have identified that there is still a parameter 'webSocketServerName' set to the old hostname "fmeserver-dev.com". This must be causing the issue as the SSL certificate is not configured for that domain. How can I fix this?
I am attempting to add a Geocoder transformer to spatialize address data using a published geocoding service on ArcGIS Server. When running the address data to the transformer, it rejects every feature with “Code 403: Access to this resource is not allowed”. The REST URL and Portal credentials are all correct and I am able to get to the service in a browser, as well as access and use the Locator in ArcGIS Pro to geocode addresses. With that being said, I don’t know why access to the resource would be disabled in FME but nothing else. Any insight or suggestions would be appreciated, thank you!
I need to warp some data, so I'm using the RubberSheeter. This works fine except that in certain parts of the data I also need to create a gap. In broad terms the situation is as shown here: I need to cut along a line (the red line) and then use the control vectors (green) to pull things apart, leaving an empty void in the middle. What I've done is use a Bufferer / Clipper to remove a little bit from the original feature, along the cut line. Then I've added a bunch of control vectors, making sure they don't start exactly on the cut line but just a little bit on either side. However, FME is still showing data inside the gap and I really don't want to have to manually edit that. Does anybody have a suggestion?
Currently the OpenAIVisionConnector (version 6) requires an OpenAI API Key and there is no possibility to adjust the endpoint.I hoped the transformer would be adjustable, but it’s password protected…I was wondering if it is possible to offer a setting where the end user can self set an endpoint. Bigger companies have the tendency to run their own cloud, and ours is no difference here.We for instance use Azure OpenAI, but with open source AI models e.g. Llama getting more and more capable there might be a valid point to give the end user the possibility to adjust the endpoint.It might be a bit uphill, but if there would be the option to chose between an API Key, and a Bearer token; that would be awesome!What do others think about that?
what can cause a process to run on the desktop and then restart on the server? have you had similar problems?
Is there a way to obtain a list of unchanged values then explode the list afterwards similar to how change detector can have an output list for changed values. Below is the sample workflow I’m trying to do but for unchanged values
Hello to all,I have a problem with an IFC file where some IfcProperty are referenced by a propertySet but not defined. Then, I have a message like this : IFC: Could not find instance #245009 in the IFC file.So, my question is to know if it is possible to say to FME to continue to read the file ?Thank in advanceBest regardsBruno
Decoding the “outer” response body parameter value from the HERE Isoline Routing API I get a list of tupels with xy coordinates in this form:[(y1, x1), (y2, x2), ...].How can I convert this into a polygon? I have tried different approaches including PythonCaller scripts but cannot get the correct result.Alternative approach would be using the GeometryReplacer transformer which also supports the Encoded Polyline but also with previous crs setting to epsg: 4326, the LineCloser and AreaBuilder transformers the polygon geometry has a wrong location, without any recognised epsg in a Desktop GIS and the polygon geometry is also incorrect.Thank you!
Hi All,I’m testing a simple workbench to fix the geometry of a SHP thought ArcPy RepairGeometry in FME PythonCaller. Here’s is the simple code to run in FME but for reason fails:FME_MacroValues['SourceDataset_SHAPEFILE']The idea is running the script before writing the data into a GDB,Any idea how to make it to work?Thanks :)
It was all working properly just few days back , today clipper is just crazy. I have IFC 3D Model and Excel file with XYZ coordinates, all i trying to do is clip all those coordinates are inside / touching the boundary of 3D Model.
Hi All,I have created a workbench that includes a few AreaOnAreaOverlayer transformers. For some reason one of the AreaOnAreaOverlayer takes hours and hours to union cadastral data (1,200,000 records) with some protected areas PHI (100,000 records). I have checked the log file and the AreaOnAreaOverlayer transformer always accomplishes the following 4 steps: Performing low-level intersection at phase #1 Performing low-level intersection at phase #2 Searching for topologically significant nodes Breaking curves at topologically significant nodesI have attached the log file as .TXT for reference. For some reason the AreaOnAreaOverlayer_3 slows the process at Breaking curves at topologically significant nodes. This transformer is at the middle of the workflow which means is being fed with data that comes from other transformers. here is an screenshot of the log file:...and here another screenshot of the settings of the problematic transformer:I have also run it with the quick translator an
Hello,I have an ortho image from a drone flight and looking into filling in the square in the middle of the pond (underestimated the correlation between the area of the pond and flight altitude). Photoshop is the last resort. I looked into using aerial images from the past as a background but the pond change dramatically so it's a no go.Cheers,
How can I use FME parameters to fill gaps or holes in a raster image? Please explain best methods.
My current FME job is showing a Completed Successfully message when I get the below error. How do I get it to FAIL the job? Error retrieving next row from result set: 'Query execution was interrupted, maximum statement execution time exceeded'
I have a starting easting and northing and from that I would like to build lines from a number decimal degrees and distances
Hi, I need help I have this table ID Année Logements 20 2024 120 20 2025 210 20 2026 340 I would like to obtain this : ID Année_2024 Année_2025 Année_2026 20 120 210 340 Thank you so much for your help!
On 2023.1.0.0 i’m getting the following python error when uploading a local folder of dwg’s to projectwise. The files are uploaded, but i’d be keen to understand why this error is happening - i thought maybe it was a python version but based on this discussion, it might not be? Projectwise transformers gets 'NoneType' object has no attribute 'encode' error on upload | Community (safe.com) 2024-07-24 14:10:57| 5.9| 0.1|ERROR |Python Exception <TypeError>: WebserviceConnectorFactory.set_feature_attributes() missing 1 required positional argument: 'attr_dict'2024-07-24 14:10:57| 5.9| 0.0|ERROR |Traceback (most recent call last):2024-07-24 14:10:57| | |ERROR | File "fme-webfs/src/webserviceconnectorfactory\webserviceconnectorfactory.py", line 253, in input2024-07-24 14:10:57| | |ERROR | File "fme-webfs/src/webserviceconnectorfactory\webserviceconnectorfactory.py", line 1249, in _handleException2024-07-24 14:10:57| | |ERROR | File "fme-webfs/src/web
Hello,I need to generate data by year (whereas I only have periods)To do this, I'll need to generate numbers between two values (typically years) to make a join with my existing data.I thought of using counter but I need input data, I just want to generate all the numbers between two values (for ex 1791 to 2024)thanks in advance for your help
I have a client who is requesting a feature in a workbench that I am unsure how to implement for them.They have asked for an ability to select which data to run after it has been read into the workbench, preferably with a drop-down menu or a tick box. The data coming in would be a multi-site .IFC file, and they are wanting to be able to choose only a specific site and run only that data. I know that to enable that, all data would need to be read, but how do I make it so that they can then easily choose which data to run without having to modify something like a dynamic filter each time?
My workspace is using ChangeDetector with two data sets original and revised. It appears that if the revised records contain two records with the same key and selected attribute and this key does not already exist in the original table then ChangeDetector will want to insert both records in the original table. This happens when the key is not already in the original table before the run. On subsequent runs, ChangeDetector finds the key and selected attribute in the original table, and it behaves as expected and does not insert a record. It treats it as an update or unchanged. How should I account for this? Attached is an image of my workspace. Thank you.
I am trying to re-write an IFC file including its Type Objects. The IFC reader can either output them as single IfcTypeObject feature type or as separate feature types (IfcWallType, IfcDoorType, etc). Reading the Type Objects works fine for me. After manipulating the data, I would like to write them back into their relevant feature types, e.g. IfcDoor together with IfcDoorType, related through the ifc_type_object_id and ifc_unique_id attributes (I'm unsure how the unique IDs should be created but I simply used the UUIDGenerator where required) I also tried reading and re-writing the IfcTypeObject features. However, the Type Objects seem to be missing from the outputs, giving me warnings like the below. If anyone could help out here? IFC: Unable to write objects of type 'IfcWallType'IFC: Unable to write objects of type 'IfcDoorType'IFC: Unable to write objects of type 'IfcBeamType'IFC: Unable to write objects of type 'IfcSpaceType'IFC: Unable to write
I have a workflow that includes transformers and a Python caller. The output of the Python caller generates CSV, GeoJSON, and SHP writers. The workflow has a user parameter called OUTFIELDS, which specifies the fields that should be written. How can I achieve this? I tried using AttributeExploder, but I couldn't dynamically generate the list of fields.
Hello dear Community,Despite having a Sorter, DulicateFilter and Tester right out of the gate in my model, I still seem to be experiencing this issue on the ID field of my model - OGCGEOPACKAGE writer: failed to execute insert : UNIQUE constraint failed If I run it one at a time, it seems to work, but I'm trying to write to make different Geopackages, with 4 tables in each (with spatial data). I've been racking my brain about this for some time, changing writers from manual to automatic, deleting any output data after each test run to ensure it's not conflicting, making sure there's no duplicates in the ID field that would trip up the writers, but to no avail - and wondered if anyone here may have a lifeline to throw me.Thank you