A space to discuss FME Form
Recently active
I have tried the RasterDEMgenerator and the ImageRasterizer but both give errors regarding the input features or geometry. I have tried different feature settings but to no avail.
I'm new to FME and impressed by what can be done with it. However, I got stuck regarding some details. I have a PointOnAreaOverlayer transformer and I wonder why the Point output port let's me use all attributes, whereas the Area output port generates no output for some attributes that I need to use. What is the solution here? Thank you!
I am using 'AGOL Feature service reader' to fetch data from Survey123 survey results feature service. When I export to excel using Survey123 the labels are being shown as headings, but while writing using FME displays the attribute names instead of Label. Is there any way by which I can export with Labels as headers using FME?
Is there a possibility to iterate trough attribute values in a shapefile. I want to pass each value trough a WFS query.
I am creating texture atlas (using FME 2022) from cityGML files at the time of tileset (cesiumjs) creation. But I am not able to find the texture atlas. I want to know where it gets stored?
Hi,I was trying to use below python code in FME. But it is throwing an error i.e. '<TypeError>: bufsize must be an integer'. Can anyone help me on this to get it resolved? I will provide the complete script on request if required.Thanks in advance#Code used in python callerarg1 = ['pg_dump', '-t', 'schema1_table1', 'server1_conn','|','psql', 'local_conn']proc = subprocess.Popen(arg1,cwd=directory, shell=True,stdin=PIPE) #where #server1_conn = "host=<server_host> port=<server_port> dbname=<server_db> user=<server_user> password=<server_pwd>"#directory = C:\Program Files\PostgreSQL\14\bin
I want to use the PythonCaller to read a value from the header of an ECW file. The value I am looking for is four characters long, starting at the position of 37. I want to then print the value. This is the code I have so far; import fme import fmeobjects # Template Function interface: # When using this function, make sure its name is set as the value of # the 'Class or Function to Process Features' transformer parameter def processFeature(feature): pass # Template Class Interface: # When using this class, make sure its name is set as the value of # the 'Class or Function to Process Features' transformer parameter class FeatureProcessor(object): def __init__(self): pass def input(self,feature): print ('start') n = feature.getAttribute('fme_dataset') print (n) f = open(n,'rb') f.seek(37,0) print(f.read(4)) f.close() self.pyoutput(feature) print ('finish') def close(self): pass But it does not return the value
Currently imported a 'subledger' text string via Attribute Manager. Need to have leading zeros added to the left so it is always 8 characters. For example, '1046' should be '00001046'. Please advise which Transformer should I use. Also another 'subledger type' text sting is dependent on the above 'subledger' field. If no subledger, it shows blank. If something in the subledger, then 'W' should show under 'subledger type'. Please advise how to achieve. Thanks.
I am reading non pyramid tiff files in CRS EPSG:3844 and I am trying to write to Geopackage Tiles with pyramids using Incoming Feature Tiling Scheme to keep the original CRS.Using RasterPyramider the output is one raster for each pyramid level, that translates to many tables in Geopackage Tiles and it defeats the purpose.How should I aggregate/combine the level rasters to write a consistent GPKG file (directly)?
I am constructing a workspace that builds a file geodatabase from a schema specified in Excel. Each worksheet row defines an attribute and its feature class and feature dataset hierarchy (and domain, if any, but that will be for another day). The schema has feature classes mostly nested in feature datasets but some are root level. For testing, I have extracted a small sample of the schema, representing thirteen combinations of feature dataset and feature class with one feature class at root level. Now, after Excel file reading and subsequent processing, near the end of the workflow the attribute records go through an Aggregator transformer, which creates the attribute{} list attribute. The result is thirteen schema features. Schema features exiting from the Aggregator have no geometry, of course, and consequently have fme_type=fme_no_geom and fme_geometry=fme_undefined. I created and set the following attributes on each schema feature to hold the values that I want to specify as
Attached workspace created using workflow option "Single Merged Feature Type" for Personal Geodb Reader. Steps to experience the issue.Execute the enclosed workspace in FME Desktop 2022.1View the cached features of reader (Click on the tiny magnifier icon on the reader)Even though FEATURE_TYPES published parameter was set to Highways, data attributes of Highways feature class were not shown in the table under Visual Preview panel.You may check the issue by passing a different Personal Geodb and Feature type(s)
How would I build a workspace with an ECW Writer transformer, followed by a Python script that modifies the ECW image file after it has been written?
How to rectify this error?
I have thousands of data, and each datapoint has six attributes, which I want to store in one list per data point. Which transformer could be used for this?
Hi, I need to work with a file that uses EPSG:5682 as CRS but unfortunately it's not available in the CS Gallery. I tried to add it as a custom CS, as described in the online documentation but it's still not showing up. This was my workflow:I went to the online tool and pasted the ESRI WKT for EPSG 5682I entered the missing parameters (that weren't already populated from the WKT)I unzipped the files provided by the tool and copied them to ..username\\Documents\\FME (see attachment)After restarting FME, the custom CS is still not available in the gallery. Did I miss something? Thank you for your help!
Hi, We are creating an integration between Smallworld and FME Server. The Smallworld tool will call an FME workspace on our FME Server. The FME Server is hosted internally only and we are using built in authentication. There is an option in FME Server to create a short lived session token via the api. I've set up a user that only has access to this repository that can be used to generate the token. There is a second option in the Administrator interface to generate a fixed api token. When is this used? Is it more or less secure? The Smallworld developer notes that if you are using a user name and password to generate the short lived token then the risk is similar:'It seems to me that the API token with restrictions is more secure than username/password. Such a token is long and not recommended. It can be extracted from the Smallworld session and this applies for username/password.' For integration with Portal for ArcGIS we use the short lived token generated by a built in
Example: We have a layer with employees. Each employee has their own unique polygon. We can easily go in and create unique symbology for each person. We can use hashing and colors to allow overlaps. The issue is finding a way that every time someone new is entered in the employee database, they get symbology automatically setup. In other words, does anyone know if FME can create a new layer file, symbolized with rules, that accounts for new rows/values. We were hoping to find something in ESRI solutions but haven't so far. So now wondering if FME can just automatically recreate the base layers files that the map service would ultimately consume. Thanks
I want to change the text alignment of the texts in a dgn with an attribute manager before further editing. Does anyone know the attribute that is responsible for this? Thanks.
I am downloading data through an API from OS open source. The connection is set up correctly and the data is downloading when ran but it downloads several versions of the data in several formats such as SHP file, GML and Geotiff. For my project im working on I only need the shapefiles but I cannot figure out what tool to use to filter the rest of the unwanted data types out correctly. Or maybe its not a tool and its done in the JSONfeature parametres?I have attatched some photos below so I hope it helps clear up any questions.
The above image should explain the issue. I have tried AreaGapAndOverlapCleaner which fills the donut and dissolves with 1 of the polygons (I have chosen the polygon with the longest boundary at present), which results in below. This is ok but ideally I want the donut evenly split across both polygons. Is this possible? Can anyone recommend a transformer or number of them to get my required output?
I'm doing a basic transfer of Geomedia Text Features from one table to another. In the past I've always done this by exposing the oracle_element{} attribute and exploding the list. This is always worked fine but I'm running into problems with certain features that don't contain the oracle_element{} attribute. An example of what I'm talking about:create table source (id int, geometry mdsys.sdo_geometry);create table destination (id int, geometry mdsys.sdo_geometry);insert into mdsys.user_sdo_geom_metadatavalues( 'SOURCE', 'GEOMETRY', mdsys.sdo_dim_array( mdsys.sdo_dim_element('X', 610000, 660000, 0.0005), mdsys.sdo_dim_element('Y', 5500000, 5550000, 0.0005) ), 82232);insert into mdsys.user_sdo_geom_metadatavalues( 'DESTINATION', 'GEOMETRY', mdsys.sdo_dim_array( mdsys.sdo_dim_element('X', 610000, 660000, 0.0005), mdsys.sdo_dim_element('Y', 5500000, 5550000, 0.0005) ), 82232);-- row that translates correctly, sdo_gtype = 2001insert
Hi, I've a bunch of features relative to adresses and associated inhabitants.I've already grouped the features by similar street names and numbers wich results in the "match_id" column.What I need now is to sum each four "total..." column's value (separately) by using the "match_id" as grouping value.The goal is to get the number of peoples, etc ..., living at one adress.I've tried several transformers after the AttibuteManager but none return the attented values. Thanks for your help
Please can someone tell me how to write a WHERE clause in the feature reader that excludes records that do not contain a value.I have thousands of records and some of them have a Global ID - I want to keep these records.I also have records that contain NULL or no value - I want to exclude these values.I can perform this function in a Tester, but a colleague informed me having this clause built in to the feature reader instead will be much quicker. Perhaps someone can confirm this.Thanks, Frank
Is there a way to extract only the non-empty fields of an oracle table?Let's say I have a table like this one, col_a col_b col_c col_d col_e NULL NULL NULL NULL 5 NULL NULL NULL 8 6 0 NULL NULL NULL 3 NULL NULL NULL 0 1and the subtable that I would like to extract should be col_a col_d col_e NULL NULL 5 NULL 8 6 0 NULL 3 NULL 0 1Thanks