A space to discuss FME Form
Recently active
I have Here Maps Data in XML format. I want to extract the data to CSV in FME. If I am directly adding XML there are issues in reading the file. Currently I am using an XML Flattener tool built using python. Is there any option in FME to do this?
Hi all, I am relatively new to FME, it would be greatly appreciated if someone can shed some light on a couple of problems I can't seem to figure out. 1. Is there a transformer similar to the attribute filter transformer but would enable me to route unique value to the output port dynamically? I understand that I can using the import value function to bring in the unique attributes values, but sometimes I would only like to only filter a portion (which could be about 50 unique values) of the total number of unique values. Inputting the required attribute value manually is laborious and prone to mistakes. What I would like to achieve is a 2 step dynamic filter of features, each feature has a Local Government Area (LGA), and a Suburb (suburb is a subset of LGA) attribute. Depending of the first LGA filter (ideally a check box list), the second transformer would route filtered features with unique suburb attributes to an output port. Is this possible? 2. I am currently trying
I’m attempting to automatically add three lines to the start of a processed data set, in order to create a batch file.There is probably a very simple solution but any help would be appreciatedThanks
Hello everyone,I am a beginner with CityGML and am currently trying to convert a dataset to CityGML 3 with generics extensions using FME Workbench. However, I am encountering a couple of issues:Warning about inheritance relationship: The output gives a warning indicating no inheritance relationship. I have used AttributeMerge to add gml_parent_id, but the system does not seem to recognize it.<GML_2 Writer> - '12482' orphaned features found, XML comments representing these features will be present in the output file: <!-- orphaned feature - parent id:'...', id:'...', type:'...' -->Geometry export issue: It does not export correctly after setting up the geometry. In the Inspector, the data appears as a table without geometry.Additionally, the original dataset complies with the CityGML 3 standard, and its geometry's encoding is Name (encoded: UTF-16LE). Could this encoding be affecting the process?My settings and the transformer export are shown in the attached image.I would g
Is it possible to get the minimum pixel value, per pixel, in a multiband raster? Rasterstatisticscalculator seem to only do single bands. But what I want is to find the minimum value of a pixel in a raster of 20+ bands. Thank you
Title!i’m trying to import shp files into a gdb database in separate dataset based on the folders that the shape files are located. i know i’ve read somewhere in the help to set dataset/feature name for feature name but its not workig.i get an error that its not possible without coordinate system. so i’ve added coordinate system to writer but i still get the same error.the error isFileGDB Writer: Cannot currently create feature datasets with unknown coordinate systems. Please specify a known coordinate system, or do not write to a feature dataset. Failed to create feature class 'B10/Shape_Z'so is it possible to write datasets in esri geodatabae with Esri Geodatabase (File Geodb Open API) writer? if so can you post an example.
I'm trying to write new (Insert) features to a Utility Network feature service using the Portal writer and it doesn't appear to be preserving global ids despite my parameter setting to do so. The issue appears to exist on all layers in the service. I've tried connecting to Portal via 'Web Connection' and with 'Generate Token' parameters and see the same result. I am connecting to a branch version and not DEFAULT. I can confirm that Globals are not coming over as expected on the version.I've got some Fiddler screengrabs as well if that's helpful.Thanks all.
Hi folks,In my situation, I am using JSONExtractor but the JSON queries differ between the testing and production environments. Rather than creating and maintaining two separate FME scripts, I prefer to define the target attributes and JSON queries in a database. This way, the correct configuration is used based on the environment's database.However, the challenge is that multiple rows of configuration records are retrieved (with target attributes and JSON queries as table columns). Is there an example that shows how to convert these database records and assign them to the JSONExtractor in a generic way?Thank you very much!
Hello,Hope for your advice how to implement my idea.I have an FME workbench that is triggered by web application. In case workbench failed, I need to update a record in PostgreSQL database. I wander how I can implement this, because if process already failed, how I can run SQLexecutor transformer after that?I thought about Automation, but what would be the trigger in this case? I don’t see anything suitable in the list. Taking into account that I don’t need to run workbench by trigger, since it is triggered by user in web application.The main need is to let application know that FME workbench has failed. There might be some obvious solution for this which I don’t know :)
Hello Forum, What is the best method for moving an entire folder (which includes subfolders, each containing files) from location A to location B? I’ve looked into File Copy, but that doesn’t seem to do the job. Well, I couldn’t see how it can told to do so. In addition there didn't appear to be a writing option (to set the destination location) within it. I’ve also look into the ‘Select Multiple Folders/Files option in FeatureReader. I can see that I can select an entire folder but it’s asking for a Format. Typically when using a FeatureReader, say for reading in a shapefile, I’d choose ESRI Shapefile. But this is different. Here I’m picking an entire folder with contents. So, what ‘format’ would I choose, if indeed this is the right approach? I’m keen to get this sorted as I need to place a schedule on to it through FME Flow. Thanks,Stuart
How to assign RED colour to this cell in final output of EXCEL file. Because TESTFILTER have filtered this Column, whatever Rows are there, irrespective value inside the cell i would like to assign RED colour to the CELL marked with a Blue circle inside final excel file, this is default OUTPUT This is how I WANT
Hello,I am trying to write several files in NetCDF format with FeatureWritter; but after writing the first one it gives me this error: NetCDF writer: Failed to define variable. The error was 'NetCDF: String match to name in use' If anyone has experienced this and can help me First of all, Thanks
When I open an “old” FME workspace in FME 2024 I get the following confusing dialog:attributes unsupportedIt is related to a Bufferer and what I want to do is use fme_geometry in a subsequent Tester to find out if the feature has become a donut.So I wondered if “fme_geometry” is deprecated, but it doesn’t seem so.What is this all about ? What are disabled attributes ? If I leave them enabled: why can I do so ? Who disables the attribute ?I use FME for 20 years now and I am completely confused.
We’re currently experience FME 2 minute+ freezes when we add an Esri GDB reader to a workbench, then press the ellipses to browse to the location. This only happens in the dialog if we have selected Esri Geodatabase (File Geodb) as the Format. We have found a work around of pasting the GDB path into the dialog box but we still experience a 30+ second pause when we hit Parameters/Tables. This takes a substantial time to load. The issue is decreased when a gdb reader is added to a brand new workbench.
Hey there,I’ve been struggling with a geometry problem. Here’s the thing :)I’m merging two datasets of building polygons. Both come from SDE geodatabases and both appear fine in Esri ArcMap and ArcGIS Pro.When I put theses geometries through a PointOnAreaOverlayer, some polygons, when written to a file geodatabase have weird behaviours in ArcMap and Pro.Their contour draws OK but they don’t fill ! 🤣 The way I solved the problem was by using a GeometryExtractor before the PointOnAreaOverlayer and GeometryReplacer after it. To me this is weird, eventhough I know there are problematic geometries in there. Besides, I tried to solve the problem with a GeometryValidator but that create many more errors. 🙄 If you have any insights about this, I’ll be happy.
Hello, I would like to export my FME workspace (see image below) in order to integrate it in the appendices of a technical report. Is there a way to do so apart the "Print"? Printing the workspace sadly does not work since it is quite large and would then become very small and unreadable. Any alternative? Can be either exported in a text format or a reduce graphic format...
Hi All, https://support.safe.com/hc/en-us/articles/25407773286157-FME-CIM-XML-for-Electric-Utilities The link mentioned above offers valuable insights about the process of transferring data into XML format specifically designed for CIM electric utilities. Upon constant verification, "61970cim18v02_61968cim14v00" is mentioned in cim.xsd file. This seem to indicate that the CIM version is of version 14 (version 0)? I am seeking assistance to determine the specific CIM version associated with the link provided. Understanding the appropriate CIM version is crucial for ensuring compatibility and seamless integration within the current system. Your guidance on this matter would be greatly appreciated, as it will streamline the process of identifying and implementing the correct CIM version, thereby enhancing the overall functionality and efficiency of the system. Thank you in advance for your support and assistance in clarifying the CIM version associated with this link.
Hello everyone,I am currently working on migrating sewer utility data from an AutoCAD Civil 3D (2022) DWG file into the Esri Utility Network Foundation (Sewer) feature class/file geodatabase.Issue: The attribution for the DWG sewer layers is stored in tables that I need to join to my DWG/Feature class during the FME workflow by matching an ID field. However, the ID field in my DWG is not appearing in the reader I am using (Autodesk AutoCAD Civil 3D), not even as an “unexposed attribute”.I discovered a legacy .fmw file that successfully reads this field using a different reader (Autodesk AutoCAD Map 3D Object Data), which I do not have a license for.Questions: What is the necessary license for Autodesk AutoCAD Map 3D Object Data (aka AUTOCAD_OD)? Is it an FME-based license, or does it require an active AutoCAD Civil 3D license on my computer (which I currently don't have)? As an alternative, can anyone guide me on how to copy-paste the ID field that I can’t access in FME into a differ
Hello all, I am trying to use “reader” AGO data to provide a “Writer” GDB which contain the attachment photos I have been advised to use this process:In the “reader” I set up o include attachment:and selected the attributes: Set up “AttributExposer” In “RasterReplacer” I am not usre what should be done: When I try to select “Data:Became unable to process: I have been advised“ It seems you missed the last step in my first response. "The arcgisonline_attachment{}.data attribute holds the raster data which you could then use the RasterReplacer to recreate the image."You should add RasterReplacer to restore data into an image and then use a writer with the correct format (which you selected within RasterReplacer) to write those output.” Does someone one know what to do? ThanksCheers
I have been using Dynamic writers to create feature classes and tables in an Esri File Geodatabase for years. I normally use the FME field type “fme_int32” to create Long Integer field types. However, I need to create attributes using Esri’s new ‘Big Integer’ field type. I assumed I could use “fme_int64” but when I run my workspace in FME 2024.0, it runs without errors but it doesn’t create the new feature class. When I change the 2 fields from fme_int64 back to fme_int32, it runs without errors and creates the new feature class. I have ArcPro 3.2.2 installed which also supports the new Big Integer (64 Bit) field types.My question is: Should I be using a different FME Field type besides ‘fme_int64’ to generate Big Integer field types via a Dynamic FGDB Feature Class Writer?Thanks in advance.
Hi, I am trying to publish a file to a certain folder once per month by using FME workbench. Currently, the file is generated daily with the filename format of YYYYMMDD. And in the destination folder, there is a single file for each month, e.g. 20240101, 20240203, 20240302, etc. For example, if I run the workbench and generate the file on 20240601, the file should be published to the destination folder as there was no existing files in the folder with YYYYMM=202406. However, when I run the workbench again on 20240602, the file should not be published to the destination folder, as there is already one for 202406. Any help would be appreciated.
Hi,I have an FME workbench that outputs a KMZ but i want to create a folder tree style for ease of view. Currently it outputs as below: I have been unsuccessfully trying to create a tree which will output something like this:Proper name instead of doc (folder) → operating_voltage (folder) → feeder_name (folder) → actual feeder spatial data .Screenshot of workbench below: The operating_voltage and the feeder_name coming from the attribute_renamers at the right end of the workbench.I tried using the instructions in below link, but it is not exactly the same as the attributes are in the data already and not being created for the purpose of the multi folder.Creating KML Folders Through KML IDs – FME Support Center (safe.com)Any ideas how this can be done?thank you,fb
I am trying to dynamically join a bunch of datasets to a lookup based on the layer and a specific attribute name and attribute value. I'm currently doing this with an attribute exploder to get the attribute name and value, but the amount of features it's creating is causing a problem when I come to spatially join it to a feature class using a spatial relator. Any suggestions?
I'm try to translate fgdb to shp file But I got following errorBADNEWS: File C:\\Program Files\\FME\\metafile\\MULTI_WRITER.fmf could not be opened(C:\\code\\fme\\foundation\\framework\\control\\generiz.cpp:1658) class StatusInfo *__cdecl STFGenericizer::processMetafile(const class stk::ex::UString<0> &,const class stk::ex::UStringArray<0> *,const class stk::ex::UString<0> &,const class stk::ex::UString<0> &,const class stk::ex::UString<0> &,const class stk::ex::UString<0> &,class STFAttributeName &,class STFMetaMapper &,class STFObjectNameConstraints &,bool &,bool &,bool &,class stk::ex::UStringArray<0> &,class stk::ex::UString<0> &,class std::vector<class STFFeatureType,class std::allocator<class STFFeatureType> > &,class stk::ex::UStringArray<0> &,class stk::ex::UStringArray<0> &,class stk::ex::UString<0> &,class std::vector<struct