Using transformers to modify data.
Recently active
I need to get data from my Bing subscription into the MapnikRasterizer. At least that how I think it should be done.It works of course in the preview because I made the Bing maps available through the options. But as I see it for the MapnikRasterizer I will have to provide the background as an image and I am struggeling to get the Bing data into my workflow. background settings in MapnikRasterizerHow can I get the Bing data into the MapnikRasterizer?
For normal Reader feature types, to update for schema or attribute changes you simply go to Readers > Update Feature Types. I can't find the same functionality using a FeatureReader. Is there a way to do that? The only workaround I've found is to drop the FeatureReader and re-add it.
Hi, why does the attribute pivoter no longer work? I have already read several questions about this. There is an alternative somewhere with the aggregator, but that doesn't work very well for me either. Isn't there an easier way or a reason why the pivoter doesn't work?
Hello all,I have some point (electricity poles) and line (overhead conductors) features which I need to connect up for our utility network model. I am trying to insert a vertex on the line at the nearest point to the pole. I have a neighbor finder and vertex creator, but neither are actually adding a vertex to the line (the neighbor finder has insert vertex on base feature set to yes). Is there something I am missing or another way to go about this?thanks.
Hello,In FeatureWriter, User Attributes,I want to use a User Parameter as the name of my primary key.User Parameter (in french: Primary key name)Feature Writer (not working)
[Edit] I solved this by fiddling about. Se solutions at the bottom. Will leave post as is, incase it can be of help to someone else.Visual Preview and Data Inspector are behaving very erratically on my computer in Form 2025.0. Bordering on making the software unusable.Some of my issues:One specific to a workspace Today Form refuses to show the results from inspectors inside Custom Transformers, it will only show those in Main. This worked fine yesterday. Only difference is a computer restart.This issue prevails if I open the workspace in 2024.2. I created a new empty workspace and got the previews working from within Custom Tranformers.The issue below goes for all workspaces. Form is behaving like a raging toddler when I try to turn on Enable Feature Chaching. I try to get it to work with me by clicking the setting over and over and over again, but it just resets and does noting each time I press run. Then suddenly it complies without me understanding how that happened.There is simply
Hey, I’ve been trying to get FME (Feature Manipulation Engine) by Safe Software to use Python libraries from QGIS (like qgis.core) so I can mix their cool features in my temp.fmw workspace. The idea is to use QGIS’s Python (version 3.9) inside FME by setting it up with PowerShell commands. But it’s not working, and here’s why, explained like I’m talking to a 5-year-old and then a bit more grown-up:The Toy Box Story (Simple Version)Imagine Python is a kid who needs toy helpers to do jobs—like QGIS toys (for maps) and FME toys (for data tricks). These toys are called DLLs (little helper files). I want Python to borrow toys from both QGIS’s toy box and FME’s toy box at the same time.Step 1: I told Python, “Look in QGIS’s box (C:\Program Files\QGIS 3.32.0\apps\Python39) and FME’s box (C:\Program Files\FME\python)!” That’s like setting PYTHONHOME and PYTHONPATH.Step 2: Python found some QGIS toys (like qgis.core), but then it yelled, “Where’s my Qt5Core.dll toy? I can’t play!” It’s like a t
In my workbench I am taking points, buffering them, and using those buffered areas to clip small portions of a raster mosaic. After clipping I then run a raster calculator on each of those points to find the sum, mean, min, max range, etc and create an excel file with all the values calculated and collected. My workbench runs successfully, however in several of my datapoints I get empty rows with no stats being calculated. When I check the area in ArcGIS Pro there aren’t any null values in those areas and it runs without any issue. I have tried using RasterBandCoercer to change any null values to 0, rasterbandnodataremover, and nullattribute mapper to help deal with these issues but none of them give me results that I can actually use without skewing the data and giving me invalid results. Does anyone have any suggestions or ideas on how I can fix this issue? Currently running FME(R) 2024.0.1.0 Thanks!
Dear FME Users,In our organization, we frequently work with Esri Geodatabases, and we often use FeatureWriters to write data to these databases. This process has always worked smoothly for us until we updated our FME Form to version 2024.2. Since the update, we've encountered an issue where the geometry of a feature class is no longer auto-detected when adding a connection to a .sde file (we always embed these connections) and then adding a feature class from the dataset. Previously, this functionality worked perfectly, and we appreciated not having to manually set the geometry.Could this issue be related to the version of FME Form, the transformer itself, or are we possibly missing a setting in the FeatureWriter setup?ExampleInterestingly, when we select a table without geometry, it is auto-detected as a 'geodb_table'. However, for some reason, geometries are not being detected.Any help would be appreciated!
Given the height, length and width of an underground vault, I'd like to create a 3D box of the vault. I'd also like to create a flattened box out of the same dimensions.I've started out with a creator, cloner and a 2dBox replacer then a 3D extruder for the box. I'm a bit lost with the flattening of the box in a 2d plane. Any suggestions on how to get the bottom corners of boxes 1,2,3, & 4 align with the corners of box 5?The bigger challenge is how to project this so I can draw this in a DWG file later in my translation. I have a lat/long as the center of each vault and I could probably start at zed value of 0 initially.me dimensions.
Upgrading 2023 workspace to 2024.2. When upgrading or adding a new LenghtToPointCalculator transformer and referencing existing attributes for the X/Y coordinates, FME adds 2 rejected ports to the transformer. If you then run the workspace you get the error:Cannot have multiple factories with the same name. Multiple factories were assigned the name 'LengthToPointCalculator_<Rejected>' Any suggestions on how to get only 1 rejected port?Thanks.
Hi everyone, I've just uploaded my very first custom transformer to the FME hub which I'm very excited about. However when downloading the transformer it doesn't show my name next to the community publisher. Any idea how to show my name there?A lot of time went in this transformer so a little bit of credits would be nice :)
I have a workbench that creates a table based on a number of joins that are on occasion, filtered on an attribute. Instead of manually entering the attribute values, I’d to read a list of attributes from, say, an Excel doc e.g. NSG001, NSO001, TES001 so I don’t have lots of duplicated transformers. How do I iterate through a list of values and plug them into FeatureJoiners without duplicating lots of stuff.
Hi,I need using attribute value to create another attribute, but the @Value<attributeName> no work in attribute creator.Can you help me? Thank´s
Hi everyone,I have a set of consecutive lines, and I need to detect when there is a digitization direction conflict between them. As shown in the image below, the green arrows represent the direction of my lines, but Line 2 is oriented differently compared to the others.Is there a way in FME to detect such conflicts? Ideally, I’d like to flag or filter out the lines that have a reversed direction compared to their neighbors.
I’ve read a couple of posts on this, but I’m still not perfectly sure on how this works.I have over almost a year been working on and refining a flow. Since I keep getting new updates from the project, the flows has became large. It became into 3 flows, that could maybe have become 1, but I don’t think it would be that easy, at least I’m not up for that task. It consist of multiple feature readers and multiple feature writers. Each flow takes up some data from the other. For example something can have been made in a file Geodatabase or on ArcGIS Online, and the next flow would then use that content.So, I easily enough just want to run those 3 flows, by one click in workbench. I would expect just to create something like this. I just find it’s strange to connect it like that.Is it that easy?
I have different IFC files which I want to read and transform.The geometries each contain a Transformation Matrix. From the FME Form Documentation I know they are not applied.How can I apply them?I tried to extract the parameters (with TransformationMatrixExtractor) and then used the 3DAffiner, but with no result.Ther must be a more convenient way, right?!
Hi all, I have a workspace that preps all input features by reprojecting them to GDA94/ Australian Albers and then calculates input area. When I run the same feature (as a shapefile, but different different coordinate systems) I get different Area values even though they’re both in the same Coordinate System.I ended up testing the features with an AreaOnAreaOverlayer and turns of there’s really tiny slivers across the boundary of the feature (I don’t know where these slivers are coming from?). I added both the shapefiles in ArcGIS Pro and followed the same process- reproject and calculate area and both area values are coming out as the same in Pro. I am unable to figure out why I’m getting this difference in areas in FME but not ArcGIS Pro. The difference is tiny but ends up changing the final stats.Screenshots attached. Any help would be greatly appreciated.
How to convert polyhedralsurfaces(voxels) stored in database with addtional attributes stored in columns into cesium 3dtiles?Additionaly to export the data in a suitable format to view voxel and its attributes?
Hi Everyone, I’m kind of stuck with a problem with my Geopackage writer. For a client, I’m working on building a script that generates multiple Geopackage tables, each with its own name. Each Geopackage table writer uses a fanout to automatically provide the writer with the needed file name. The writer also uses a Geopackage with styling embedded in the database, with 0 features, as a template file. This template is provided by an engineer from the team, which should automatically style the Geopackage based on the attributes it has. The problem occurs when I have both fanout and template file enabled. This causes the Geopackage to only write certain features. I can’t find any logic behind why it writes some features and not others. The template file and the Geopackage writer are 1-to-1 copies of each other, and I get no errors/warnings regarding feature issues. For example, one table, which consists of 470 features, will write 233 features, and 237 features end up somewhere in space. :
Im fairly new to FME, I have a programming background, and I was hoping to bring those skill here, but i can see is not fully the same. So I apologize before hand 😂 I have a custom transformer that does a API calls and loops until it finds “last-batch” set to true from the Header area. For Reference Here is the custom transformer:The first call uses uses the InitialHTTPCaller, which uses the the request url and access token from the main workbench. Here is a screen cap: The _response_header list will have the variables I need to determine if the its the last-batch = true and the next batch url. The JSONFragmenter, is exposing the values for _response_header{5}.value,_response_header{6}.value.I have a tester that checks if _response_header(5) is true to go the pass else it will fail and will go to Output and call upon the Loop to the NextPage. When the NextHTTPCaller gets called it will be using the User Parameter named NextUrl of which im setting it with the @Value(_response_header
Hi,Does anyone know of a method where I can readily identify which transformers are affected (ie need an update / fixed / superseded!) when updating from one version to another?Whilst I know there is documentation with each release, is there an easy way to compile a list that could be read into a workbench?I am also aware that each transformer has a version number.I want to create a method for identifying which workbenches are going to break before updating the software!I am hoping someone has already thought of this and the solution is already built… Any help much appreciated.Stu
Hi Im using the AGOL feature service writer to write to our AGOL account but it is not working correctly. The workbench reports that it has been successful with the correct number of features. However, when you open the item in AGOL, there are features missing. The last one I tried had 80k reported to have written but only 4k in AGOL!If I use write a fgdb locally and then the ‘ArcGIS Online Connector’ transformer to upload the file and another to publish it, it works fine. However, I cant work out how I could use this to do updates to the hosted feature service when the data changes (Ive got this sorted with the writer)Im using FME 2023.2 (dont really want to upgrade until 2025.1 is out as its a proper pain to upgrade server) but if there is an issue with the older version of this transformer I will.Does anyone know why the writer is not working but the connector is? This data is business critical so I need to ensure that it is correct.Thanks
Hi,First off, excuse my ignorance in this question - im a beginner. Please let me know if any additional details would be helpful.I am using the HTTPCaller transformer to run a print POST from an AGOL app (Experience Builder).I’m able to successfully run the HTTPCaller and pull the response_body containing the output pdf URL. Id like to now run another transformer to download that pdf locally. Any suggestions on the next transformer to achieve this? An example of the URL: https://utility.arcgisonline.com/arcgis/rest/directories/arcgisoutput/Utilities/PrintingTools_GPServer/_ags_mapfile_name_hear.pdfMuch thanks!
Hi,I need to find the average distance of 25 nearest neighbours in a point layer. I have tried with Neighborfinder set to 25 number of neighbours to find and generate a list, then a ListExploder to expose the list, but I don't know how to group the 25 neighbours to calculate the average distance of these 25 neighbours to the base point Im gettin this of ListExploder: idRecord it’s the ID of points.Any ideas for grouping the 25 neighbours to calculate the average distance?Thanks you all.