Using transformers to modify data.
Recently active
Hi All,I have created a workspace that reads all GDBs included in a folder (and subfolders) and export a few attributes to an excel file but now need to bring the GDB name (path_filename) into the final output. I tried to expose the attribute to bring it along the workflow but seems isn’t part of the unexposed attributes.I was expecting to see the GDB name as part of the Generic elements (within the unexposed attributes) but the GDB is only in the <Schema>,How can I bring the GDB name as column in the final output (excel file in this case)?<Generic> screenshot<Schema> Screenshot
Dear FME community, apologies up front for being a novice python userI am trying to use the python caller transformer to execute an external .py file. However my external .py file does not have any classes therefore I don’t know what to do with the ‘Class to process features’ parameter in the transformer. If I run the python caller regardless, it executes my .py script fine, but crashes at the end with this error message “PythonFactory failed to load python symbol `FeatureProcessor'”. This is because I’m using the default ‘FeatureProcessor’ as my parameter for the “class to process features”, which I know is wrong.My python script simply generates a JPG file and saves it to a directory.I hope someone can assist and I haven’t totally missed the point.Regards, Damian
I need to transfer a file to an external agency, who has set up a ftp filedrop locationI am required to use TLS/SSL Explicit encryptionI have been given an ftp URL ftp://a usernamea passwordAlso, my organisation has a proxy server, which I think I have to specify in some wayIs FTPCaller suitable for this task?
Hi everyone! I am new to using FME software and I am trying to use FME Form to extract information from a PDF using the Adobe Geospatial PDF reader. I was wondering if it was possible to somehow extract the color of the text in the document. For example, if I had a PDF document with yellow highlighting and blue highlighting, being able to extract the bits that are only yellow and only blue. Thanks!
Hi, I have been working on CESIUM 3DTiles generation, but I am facing challenges because the results are not aligned with my intended goals. Specifically, I am unable to achieve the desired mesh quality. The input files consist of a GeoTIFF with a resolution of 6 centimeters per pixel, and the point cloud data is stored in a LAZ file containing over 250 million points. Despite these inputs, the resulting mesh quality remains disappointingly low. I am seeking guidance on how to improve my workspace and achieve a high-quality mesh.
When I run: .\fme.exe python -m spacy download en_core_web_sm I get the following error: Expected an even number of command line arguments, instead got 3 for command line: >> `pip' `install' `https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.7.1/en_core_web_sm-3.7.1-py3-none-any.whl' <<Program Terminating I was able to install “spacy” to my Python environment, however I need to install the models for spacy as described here: https://spacy.io/usage/models Is there anything I can do about this error?
Hi all,Is it possible to tile a raster based on the defined polygons (coming from a shape file) and not based on the dimensions or number of tiles?
Hi everyone ,Is there any way to create an area using the limits of area geometries in input ?For exemple , if my geometries look like this : and if I use the BoundingBoxAccumulator transformer ,it only creates a box based on the limits of the input . But I want the output to be like this : Any Insight is much appreciated !
I have a very long list of attributes that I have typed into an AttributeValueMapper transformer. I now want to share this mapping with someone (not an FME user), so I would like to export the source and destination values to excel. I see that there is a button to import to this transformer, but not one to export. Is there a way around this, or doing I have a lot of typing to do?
Hi,I am extracting GIS layers into a DWG file using FME 2017.0.1.1I would like to define the color of Autocad block attributes using Red Green Blue (RGB) codes (autocad true color) instead of autocad color values.The RGB values are defined in an Excel settings file that I call up in the transformer “AttributeCreator” :However in the output DWG file, the color is defined by an autocad_color value (very close to the RGB value but not quiet the same), but it doesn’t write the RGB values in an autocad_true_color attributes.I also tried to create an autocad_true_color attributes defined by the RGB codes of my Excel file but it doesn’t work neither (same output).Is there a known limitation in FME working with autocad block attributes with autocad_true_color? And is there a known workaround?Thanks in advance for your support.Aude
Hi there, I am trying to create a 3D photo mesh using LiDAR and aerial imagery, but find using the TIN Surface produces a more jagged output, even with a higher tolerance. I was wondering if it’s possible to do this using a DEM and if this would produce a neater result. I am using Surface Modeller to convert the LIDAR to TIN Surface. I then remove existing appearance and hook up the result along with the aerial image to the appearance setter transformer.What should I be using to get a neater output or is TIN the only way to go?Regards, Josh
Hello everyoneI am currently working on a project where i have to create an ifc file from a CAD floor plan.in fact in order to do that i have some issues to solve, one of them is that i have to create gaps in walls for doors and windows, for that i thought of extruding the walls and doors twice using two extruders to create solids and use CSGbuilder to create the gaps but it rejects them , so i thought of extruding the walls and doors only once to create surfaces and use the clipper , however the doors surfaces happen to fall next to the walls , and not precisely on them which lets the clipper fail at calculating the intersection , so i am wondering if there is a way to somehow project the surfaces (for example the doors on the walls) before using the clipper or maybe you have an entirely different idea for handling this problemThank you in advance.
Hi All,What the best way of reading multiple ArcPro GDBs saved within multiple subfolders? I have looked into the Creator + FeatureReader transformers but can’t get it to work, folder structure as follows: I would like to read the multiple GDBs form the DATA level and force FME to go through the subfolders.
Hi, I am trying to simplify .stl file that is a fme_surface.I am trying to get from this to this I have tried MeshSimpifier and Triangulator+MeshSimplifier but it failed
I have used the 'filecopy' writer. The workbench works fine within FME desktop but when I run as a 'data stream' within FME server I get a message saying 'There was an Error'. See attached screenshot. I guess the question is, is it possible to 'data stream' a PDF. And if it is, should I be using a PDF writer?
Hi FME Community,I’ve been testing out an old script with FME Form 2023.0.0.1 and noticed one workspace with NeighbourFinder transformer has come to a halt with no clear message of warning or error. The same workspace works well with older FME Desktop Workbench 2022.1. Data size is around 50K rows, however it’s unclear at what progress/rows the halt would happened.I was suggested to upgrade to newer version, anyone encounter similar experience?Cheers,Noe
I am trying to use attribute, which reprsents search path, to fill in the XML Path in Update section as shown in the screenshot below. But the update is failed. The original value for the element is gone. From the translation log, I can see the following warnings. But I cannot figure out why it says about “end of file”. Please can someone shine a light on the issue?Thanks.
I have been trying to create 4 feature datasets inside 1 file geodatabase using FME, but it looks like in FME there is no option to create an Esri feature dataset. When I have opened the feature writer, I don’t see an option to select feature dataset.I have a lot of shapefiles that I want to organize by province represented by the Esri Feature datasets and inside each feature dataset there will be points, lines, and polygons (it is not just one type of geometry).Do you know if that’s even possible in FME?
Hi, I wanted to very simply use a tester to select all records that had a date in the past week. I have tried everything but it does not seem to work.I have a date field in the correct format, I have also tried other formats via the date/time converter but it does not work. @DateTimeNow()-7 does not work.Anyone have any other suggestions? ThxNathalie
The WSG transformer gets following error when I try to upload files to Projectwise: ProjectWiseWSGConnector: Uploading file "testfile.shp" to Bentley ProjectWisePython Exception <AttributeError>: 'NoneType' object has no attribute 'encode'Traceback (most recent call last): File "webserviceconnectorfactory\webserviceconnectorfactory.py", line 227, in input File "webserviceconnectorfactory\webserviceconnectorfactory.py", line 1129, in _handleException File "webserviceconnectorfactory\webserviceconnectorfactory.py", line 200, in input File "webserviceconnectorfactory\webserviceconnectorfactory.py", line 467, in _doUpload File "webserviceconnectorfactory\webserviceconnectorfactory.py", line 511, in _uploadFile File "bentleyprojectwiseconnector\bentleyProjectWiseConnector.py", line 320, in uploadData File "bentleyprojectwiseconnector\bentleyProjectWiseConnector.py", line 282, in _uploadNewData File "bentleyprojectwiseconnector\bentleyProjectWiseConnector.py", line 233, in _upl
FME Configuration: FME_PRODUCT_NAME is 'FME(R) 2023.2.1.0' HelloFeatureHolder is suppose to wait for all feature to arrive then process then further but as shown below it’s not working.I’m basically re-adjusting the first part of my FME App.Get Path location / file extension Hold Features Check if file is correct then proceed further File is correct then check is .SHP file extension existsWhen I run my workspace, it stops here: Not sure what’s going on or if I misunderstood the process.Thanks
Hi,I’ve got a strange issue.I am using a FeatureMerger to match values from a lookup table.Then I use a DuplicateFilter to check that all the terms from the lookup table are used. And strangely, with certain non ASCII caracters, there are duplicates coming out the Unique port ! Another strange thing is that these duplicates in Unique port dont appear when I check for duplicates immediately on the lookup table.So what happens in the FeatureMerger that makes the DuplicateFilter dysfunction ? Here’s what the Excel lookup table looks like. When I replace the non ASCII caracter, the problem doesn’t appear.What to do ?
Hi Guys..I need your Guidance to accomplish above scenario..I was able read a GDB and Excel as source from Feature Reader and also able to do required Results Now , At attribute Manager , I want to add around 52 new field names along with field alias from importing it throughexcel and this would be new field and then i want to write a GDB , so All field along with other New fields which has alias name to be written to GDB.. How can i do this ? Anyone , Kindly Guide..Thanks
Hello , any idea , how could I get benefit of using transformer chat gpt to improve my workbench for GIS data ? Why are using chat gpt transformer ?Fme 2021thanks in advance.
I am trying to insert a new item/child into an existing XML element. I want to add: <keyword>USA</keyword> to either the top of this list of keywords (Note this is part of a larger XML document.) I’ve tried to use the XMLUpdater to no avail after a substantial Forum search. Here’s where I am at with the XMLUpdater:I assume my XML/XQuery expression is the issue. Any help would be appreciated. Thanks in advance!Version: FME 2022.2.0.0 (Build22765)