Using transformers to modify data.
Recently active
Hi All,I have a survey asking participants to rank their favourite colours—Red, Blue, and Green—in numerical order (1, 2, 3).I want to use the results to create a workflow that counts how many times each colour has been picked based on the ranking.Here is some example data.Sample Data Unique_ID Colour Rank 1 Red 3 1 Blue 2 1 Green 1 2 Red 1 2 Blue 2 2 Green 3 3 Red 1 3 Blue 2 3 Green 3 What I am trying to achieve Colour Rank_ 1_Count Rank_2_Count Rank _3_Count Red 2 0 1 Blue 0 3 0 Green 1 0 2
I have a feature reader that’s reading an Oracle non-spatial database. I have a workbench that writes all of the read tables to a file geodatabase. Some tables, I process twice; one where just the flat table is written, and another where the coordinate attributes in the table are used to create a point feature class written to the same file geodatabase. For some reason, only the flat tables are being written and none of the point feature classes are being created. Both work if I run them separately but not if I have two coming out of the same reader port. I’ve hidden the lines to write the flat tables to the feature writer.Is there a setting in the feature reader that I need to change to ensure it processes multiple outputs for each feature?
Hello there, I am trying to execute some Python using the ArcPy module in a workbench base on this Tutorial, Using Arcpy for FME Feature Processing, but I am getting this error the following error:Geodatabase Error (-2147220970): Cannot acquire a schema lock because of an existing lock.Could not open File Geodatabase dataset `C:\Users\’USERNAME’\AppData\Local\Temp\wbrun_1740499345598_2444\fmetmp_24\1740665793794_2528_d\tor470\temp.gdb' for readingFailed to obtain any schemas from reader 'FILEGDB' from 1 datasets. This may be due to invalid datasets or format accessibility issues due to licensing, dependencies, or module loading. See logfile for more information It the issue seems to be the GeoDatabase is still “open” in memory, but my Google Fu has failed to come up with a fix
Hello FME Experts,I am working on processing a point cloud and need to create height-based sections to later filter the point cloud accordingly. Here is my goal:Extract the minimum and maximum height of the point cloud (already done). Create sections every 1m, starting from the minimum height up to the maximum height. For each section, create a buffer of ±0.5m (so each section spans 1m). Finally, filter the point cloud to extract the slices based on these buffers.My idea is to extract the Bounding box of the pointcloud, extrude it 0.5m lower, and then slice it starting from bottom every 1m until reaching zmax, and use them with Clipper.How can i slice this bounding box?I thought about creating a new attribut Number of slices = zmax - zmin and then use it as increment? or is there a simpler solution? Thank you for your help
I am trying to write out to a DWG from multiple inputs and need the output file name to be a combination of variables i.e. Extract_@Value(lot_number)_@Value(survey_type)@Value(survey_number)_@Trim($(_extractCoordinateSystem),EPSG:)_@DateTimeFormat(@DateTimeNow(), %Y%m%d).dwg The variable creates fine using a variable setter But when I try to run the writer it fails. It appears it is trying to write the file multiple time and fails to overwrite Any ideas on how I could set the variable file name better?
Hi All,I have recently upgraded from 2022 to 2024. Previously, when choosing to remove an attribute from within the AttributeManager transformer, the name of the attribute was removed from the ‘output Attribute’ column. This was very handy as it gave a good visual prompt for how the new dataset would appear. Example shown in the screenshot below:I now notice with the new version that the name is no longer removed and stays visible in the Output Attribute column. Example shown below:Does anyone know if this is this something that can be changed in a setting somewhere? I know this is only a small thing but it made a big difference to my day lol :D Thanks!
I have the blue lines drawn identical to red line.with right and left angle of 90 deg as shown on left.How can replace the 90 degree angle with small arc with specified radius lines(fillet).This group is wonderful and members are gratefully giving always such help.
Hello FME community,I have two feature classes and I want to know which features have identical shapes. It's somewhat like a FeatureJoiner, but I want to join based on identical shapes.Thank you
Hi All,I’m trying to create a 10m node line from a 2.5m node line. I have tried ‘Densifier’, ‘Line Combiner’ and also ‘Chopper’ but can’t get it to work,How can I reduce the number of vertices and to obtain a 10m node line?Thanks
Hi everyone,I'm using the AreaBuilder transformer in FME to create polygons from line features. However, I've noticed that some lines disappear after processing. It seems like the AreaBuilder ignores or removes them in certain cases.The lines are neither in the Area nor in Incomplete nor in Rejected.The lines that have disappeared are marked in yellow.after Areabuilder before AreabuilderWhat could be the reason for this? Are there any settings or common issues that might cause lines to disappear?Thanks in advance for your help!
I was tasked with determing raster statistics (e.g. flood height and DEM elevations) for a large number of building footprints. I didn’t expect that the Clipper transformer would treat the following input Clipper polygons the same as outside Clipper polygons:With the “Determine Cell Location By: Centers” parameter, any clipper polygon that doesn’t intersect a raster cell center is treated as being outside, even though it intersects the raster. That is the polygons labelled below as “bounds only” and “no point or bounds” are treated as being outside the raster. With the “Determine Cell Location By: Bounds” parameter, any clipper polygon that doesn’t intersect a raster cell boundary is treated as being outside, even though it intersects the raster. In this situation the clipper polygon can have an area much greater than the raster cells. That is the polygons labelled below as “point only” and “no point or bounds” are treated as being outside.A raster (green grid with red centers) bei
I am performing data validation of a excel source data.I have configured multiple validations in Attribute validator.Issue:FME validates the not null validation and all other validations given, but what I require is if any of the attribute is null, I don't want to do any other validations.How do I perform these in FME?
I have a a workflow of moving several tables from one database to another one. I needed to make a change and wanted to test the workflow writing to my localhost instead of production database. So i changed the postgis writer from “Truncate existing” to “Create if needed” targeting my local test environemnt. Still i get an error complaining that the tables does not exist?.. It does not matter if I hardcode the Table Qualifier or not. Or if i remove it all together. I have tried to not running the wb in cached mode etc..Tried running the WB in both 2023 version which it was created in and in 2024 version. “POSTGIS Writer: Table 'rplan.PblMidlByggAnleggOmråde' does not exist. Please check the Table Name specified, or modify the Table Handling value under Format Parameters”And yes the schema “rplan” does exisit in my localhost database.I have no explanation to why FME would struggle with this?
Is it possible to get the owner information using the ArcGISOnlineConnector? if not, is there something else I can use? I used the List Action and was able to get a list of the services/maps, but because there are the same item in two different AGOs in this group, I am unable to get the right one unless I know the owner. Thanks
Good day , I have these 4 lines. Each line is an aggregation of two different lines (blue and yellow). I want to split these 4 lines into 2 lines each where they intersect with a given point (red dot). I used the intersector and the point on line overlayer. But in both cases I get 3 lines as a result instead of 2. These two transformers split the lines at point intersection as well as desaggregating the blue and yellow line part. This is not what I want. I only want to 2 lines (split at point intersection) as a result of the transformation. How can I achieve it ? I can not split lines at point intersection before I combine the lines. It’s a complex workbench.
How do i read LAZ raster files from Azure Cloud?
Hello folks,I want to split data from below data as shown. I want the output format in CSV as this - where the target quantity is Quantity / No. of days in months.The problem I am getting here is I am not able to split the data of month into number of dats because as I need the date as 01-Jan-25 for all the days in the monthHow can iterate these values. Kindly help!
I appreciate that’s a wordy question. Hopefully, this pic will clarify. A and B - green polys, low detail at edge - are a dataset I am using to run into a SpatialFilter to determine areas of intersection with the more detailed dataset in pink (amber where there is overlap). You can see that part of the upper example polygon I have coloured part of area 1 in blue, and sits mostly inside A. The smaller, black part of 1 sits inside B. I want to join the entire area of the intersected polygon fully to the feature from the green dataset that contains the largest part of it - in this case, to A. Any ideas how best to proceed? I currently foresee: Check for intersection of area 1 with areas A & B Calculate area of overlay Test for largest Join all of the area of 1 to A Feels like there may be a fair few transformers involved. It’s a national dataset. Just trying to figure out how best to do it. In Esri, I think there might be a simple option to ‘join to largest’…? (Not that I want to jum
Hello, I would like to do the following (see attachment):Select these three lines (black, green, red) from a db table (how the table is structured I have to select the three of them and not only two) Create a 2m buffer around each line Identify the two lines (black, green), as they are the lines with a smaller angle to each other, and create a point where their buffers intersect /diverge (red dot) Create a perpendicular line to the green and black line starting from that point Create a point (yellow dots) 4m away from the intersection of the perpendicular line with black/green line on the black/green lineThe first two steps are easy to do but I have troubles with steps 3-5. What transformers shall I use ?
I’m trying to split an ArcGIS sde table of rooms into multiple CSVs based on floors, and then upload the resulting CSVs into a Google Drive directory. I have the first part, but when I run the Google Drive connector it says the translation is successful, but nothing gets uploaded to the GD directory. I have admin access to GD and there is nothing wrong with my connection. Has anyone else had a similar problem?
Hello am new to FME I in the process of Automating the import of invoices and G/L transactions. Our CitySuite by Harris. Is the anyone who is or who has been involved with the integration of these. My biggest hurdle at the moment is the format of dollar amounts in XML. I have tried using the xquery formula but then the XML Templater fails. Any assistance would be appreciated.
I used PointToPoint overlay to find out which two points are a repeat in two datasets. How can I still grab two columns of information from dataset 1 into dataset 2 if they are overlap? the two datasets do not have FKs, is there a way to join them spatially and then have the tables join instead of union? ---Thanks---
I have finally started using FME Workbench (Form) 2024 a bit more consistently now that I built a new instance of FME Server (Flow Hosted) 2024.1.1.1. I like the updated look, but am missing a few things and noticing some inconsistencies in how the transformers render on the canvas:The newer look is more modern and although it’s just “ok” for me (looks like a card and less “fussy” than the previous transformer look), I like it. I miss the cog-wheel to access settings with a single click at the top-right of each transformer. Now you have to highlight the transformer and then you can click to access the settings. Doubling the mouse clicks isn’t a great enhancement. Would love to see this make a come-back, maybe as a minimalist “dot” or something... I can double click to get to the settings, but still not thrilled about it. It is forcing me to use the Parameter Editor window more now, docked to the right of the screen. Still getting used to it in an effort to reduce the clicking but with
Hi,How can get the green dot on the blue polygons.I have created the polygon centroid using center of polygon and with neighbor finder I get the green dot on red line. What I need the green dot on blue polygon and the small segment connecting the red line to blue polygons.I tried lion on area but I cat extract the segment marked in black.Any help is appreciated
Hi,It seems that the SpatialFilter does not always work as expected when the Filters First option is enabled. I have taken several steps to fix the incoming data (such as using the GeometryValidator and applying reprojections), but the SpatialFilter only works consistently when the Multiple Filters option is enabled.Below, I have included an image of my workbench, where—after multiple test attempts—only the top SpatialFilter suddenly works as expected.Is this a bug?I am comparing .dwg files with a feature class in a geodatabase (area)I work with the DataInteroperability extention by ESRI, in a workbench created outside of ArcGIS PRO,FME(R) 2024.0.1.0 (20240328 - Build 24202 - WIN64)