Using transformers to modify data.
Recently active
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
Hi All,I have successfully created a workflow that populates an empty template GDB with a relationship class (1 to 1) pre-created in ArcPro. The workflow works fine but I’m thinking to publish the same data onto our Portal for GIS platform to avoid the manual process of publishing the GDB through ArcPro.As far as I’m aware, FME will not create the relationship class and I was thinking to upload an empty template GDB (with 1 to 1 relationship class already created) to Portal for GIS and then point my FME to the feature hosted layer and fill the layer with the data,I have done some basics tests but can’t see that the relation class 1:1 works fine in Portal for GIS (even the empty template has set up correctly the relation)Does anyone have some experience publishing data onto Portal for GIS (or AGOL) with relationships?Any ideas more than welcome,
I would like to convert surface data (like mesh or LandXML) to IFC (using for example the ifcTriangulatedFaceSet class). I think, it has to be quite easy but I have no idea how to write those IFC data.I attache an input example-file (LandXML).Thank you very much for any suggestions.Franco
FME Desktop 2022.2Objective: I want to terminate my workbench if the FeatureJoiner spits out any UnjoinedRight records. So this means, even if there are any Joined records, I want these to also terminate in the flow because there are UnjoinedRight records being caught. Workflow and Logic:I have the following set up but it is not working. Notice in the screenshot below, I added a counter to the UnjoinedRight port, and a Tester. If the Tester conditions are met, they Pass and I want the Joined record to move along. If the Tester conditions are not met, then they Fail and I don’t want the Joined records to continue and would like the workbench to Terminate. Why is the Joined record still continuing, if the Tester conditions were not met (Failed). The value of the _count_unjoined is 1, thus, as per the conditions, they are not met, so then it sends it to Failed and to the Terminator, BUT the Joined record keeps going, which I don’t want. I thought the Tester logic would stop this. Eventu
Hello,I have a workbench 2022.2 that writes out data from a join of another feature service to an SDE feature class out to an existing service. I am using an attribute manager, see below, before a date formatter and reprojector. However, when I run the workbench, the writer always gives me a mismatch on attribute sizes error in manual and automatic modes. I have tried to update the attributes to the values listed in the error but it always seems to revert back. I know I am missing something simple but for the life of me I cannot see what.Thank you for your time. Scott
My question is about the following: I want to create Geopackages from about 20 Oracle spatial datasets. Each dataset must be stored in a separate geopackage.For Example: Oracle dataset 1 must become Geopackage 1, Oracle dataset 2 must become Geopackage 2. The names from the Oracle dataset must also be copied into the Geopackage.In addition, each Geopackage must be zipped.Is there a way to automate this in FME? I was already thinking about the AttributeExposer, but I can't get it to work.Thank you in advance.