Using transformers to modify data.
Recently active
Hi there,I tried to use a ‘User Parameter’ as the ‘Selected Attributes’, but it didn’t work. As you can see the first screenshot below, the HU100 are different between two input resources with GEOID 00037. However, they are listed in the 'Matched' tab. If I use hard coded text 'GEOID HU100' as the 'Selected Attributes', then the Matcher will work fine and the two records will go to 'NotMatched' tab (see the second screenshot below). Could anybody tell me what's wrong with the 'User Parameter'?
In FME 2021, the "Medial Axis" option for CentreLineReplacer was removed - does anyone know of a succinct way to replace this?2020.1: CenterLineReplacer (safe.com)2021+: CenterLineReplacer (safe.com)I found this a very useful feature when combined with a preceding HullAccumulator for auto-generating a new shared network routing close to multiple destination points:My current solution is to use the "Straight Skeleton" CentreLineReplacer option, then trim away all the lines connected to end points:
I have a survey and those filling out the survey are asked if a condition has passed or failed. There are close to 50 questions like this. When a condition has failed it is expected that the person filling out the survey will include details on the failure. The table that collects this information has schema similar to this: Condition1, Condition1 Comments, Condition2, Condition2 Comments, Condition3, Condition3 Comments; ad nauseam. I have created a TestFilter to test for the different conditions. Now for each specific failure I have a corresponding outport. The records that go through these outports will be turned into Cityworks Work Orders. Thankfully, they are all considered the same work order (a generic one). I'm a bit puzzled with how to manage the comments. How can I grab the corresponding comments for a failure? It would be good to also have the ability to report more than one failure and grab all of the comments. I hope I've provided enough detail. I appreciat
Here it says it should recocnize Recap files: https://docs.safe.com/fme/2021.1/html/FME_Desktop_Documentation/FME_ReadersWriters/recap/recap.htm
Hello everyone,My colleague encounters an error when running the featureader when the spatial filter is different from <No Spatial filter>. When spatial filter is set on <No Spatial filter> then no error occurs, however my colleague really needs to make use of one of the filters. When he sets the spatial filter on something different, he gets the following error (see image below)He is trying to read features from an oracle database.The problem doesn't occur when he is using fme desktop 32 bit, but then he gets performance issues. 64 version can't be used due to higher version of arcgis pro that is not compatible with fme desktop 2021 64 bit. The error mentions that the table has no spatial index, but it's weird thing is that this problem doesn't occur with fme desktop 32bit version. Does anyone might know what the cause might be of this error?
I've had some success with the Poisson surface but was interested to see the results from Marching Cubes, however, it never outputs a surface with this option for me.
I have 2 datasets of points created from the vertex extractor transformer. The 2 points have the same X, Y coordinate but differ in Z. I want to create vertical lines between these 2 points. I think this should be possible using the vertex creator transformer with 2 transformers after each other but can’t get it to work.
Does the constant interpolation method in the surfaceDraper transformer takes into account X, Y and Z coordinates (2.5D) or is it only looking at the closest 2D value in X and Y coordinates?
I've been trying to match the closest curve to a series a points.I tried the NeighbourFinder with ListStatistics and a Sorter, but it wasnt giving good matches to the points I have (likely because it's looking at points in all directions, not just points perpendicular to the curves). Any ideas how to match the curve closest to the points?Curves are grouped by _segment_id.
I can't fathom how to do this as a newbie. My feature has two attributes, start_coord and end_coord.On a row by row basis, I want to create a line out of these two points. They are currently WKT POINT geometries that I have created from coordinates. I have attempted to use LineBuilder but that appears to build a line out of all my features (rows) so 44 rows output one messy line. I suppose the PostGIS approach would be something along the lines of:ST_MakeLine(ST_GeomFromText(Attribute From Feature), ST_GeomFromText('Attribute From Feature'), ST_GeomFromText('Different Attribute From Same Feature')) Any advice would be wonderful.
The caller just hangs.Works fine on desktop but not the server.I had to add a feature holder between the HTTP Caller and the XML templater. Any other suggestions?? That seems to be only part of the solution.
Say I have one datasource with an scale attribute. On the same workspace but in a different and unrelated set of features I want to use this scale setting as a variable for a buffer. What is the best way to achieve this?I have tried a few different methods and transfering the attribute through the FeatureReader seems to be the most solid of those I tested, but surely there is a more elegant way to do this?
I want to translate a shp file into gpkg format, but there is a id(32 bit int in shp) field in shp file. I can't do it via FME serverIt throw errors of3792023-3-7 11:28:17 | OGCGEOPACKAGE writer: OGCGEOPACKAGE writer: For feature type 'd_y_n40', primary key attribute 'id' has unsupported type 'mediumint'. Primary key must have type 'int,PrimaryKey'I try to use AttributeRenamer, But it is not working.How can I use AttributeRenamer in this caseThe attached is testing dataset
I have got a school's spatial data (point data) with capacity information in the attribute table. I have set up the Transformers to allocate the students to particular schools. But after allocating, I need to go back to the school's data for the next student. But after looping back, the data should show 1 less number in the capacity (because that seat got allocated to the student). I am stuck here on how to go back and start the process again with reduced capacity. Datasets I am usingSchools Feature ServiceMaster Spreadsheet with Students Data Thank you
I need these translation log info to be part of my translation canvass so I can include them into the header of my report. I used to have this solution in place but I'm hoping to find a more efficient way to include the info in my canvass and not the shutdown. https://community.safe.com/s/question/0D54Q000080hedASAQ/using-the-processid-and-timestamp-as-my-log-name-failing-on-rename-with-py3x-but-not-27
I'm setting a variable via a variable setter as one of the first transformers in my workspace (after an sql creator) so I'm sure the variable is set.However when fetching that same variable downstream in the workspace in a custom transformer (or a custom transformer in a custom transformer).The value is empty. I'm pretty sure that the variable name in setter & retriever is exactly the same (see screenshots). I've tested it by setting the first transformer in my custom transformer to be the VariableRetriever, but the output is empty.I don't cache the data so it's not related with data caching. If I do a VariableRetriever in the main it finds the variable. When I do it in a custom transformer it doesn't find it. What am I overlooking? In other workspaces this works without an issue
I have a chain of workspaces (connected with workspace runners) and would like to set a few initial settings, from attributes, that are to be carried on through all the child workspaces, also in and out of custom transformers.Example: Say I want to fetch a scale setting from dataset Z, and then not use that source any more. This attribute can of course be saved to a separate "settings file" and be used in the child workspaces. But how do I set values on transformers that are not "naturally" connected to the settings file? I have been trying to get user User Parameters to do the job, that works sometimes, but requires extra steps in custom transformers. And sometimes I can't get them to work at all.What is the best practise in order to get this working? And what are the unintuitive settings that one needs to know about beforehand?
Hi, I am writing to a Non spacial SQL Database, using a FeatureWriter.When INSERTing new rows in the table, a UniqueID is created by SQL database.Is there a way to retrieve that UniqueID after INSERT completed sucessfully ?I would need the UniqueID for the next step of my Workbench.I do a SQL Executor to select the last inserted row, it will work, but, if multiple rows are inserted simultaneously, there is a chance that I won't get the right UniqueID. Any Idea ?Thank you.
ho un dato vettoriale in cui per ogni entità ho diversi valori e devo prendere il dato con il valore massimo
I apologize if this has been asked before but I couldn't find anything related.I have a csv with the following data:With no header names. And I'm trying to get the following:I'm not sure which transformer to use, I thought BulkAttributeRenamer could help me here but I can't manage to make it work.I appreciate all your help before hand.
I am trying to transform a the KML within a KMZ file to MapInfo format using gentrans. The following works in the CMD:"C:\\Program Files\\MapInfo\\Professional\\UT\\fme.exe" GENTRANS OGCKML "D:\\Workplace\\Projects\\Acciona\\MI_read_KMZ\\testing\\UT\\PARQUE1.kmz" MAPINFO "D:\\Workplace\\Projects\\Acciona\\MI_read_KMZ\\testing\\UT\\tab" I have used FME GENTRANS GUI GENERATE_CMDLINE to generate a command line. If I run the result on the command line with: fme.exe gentrans <generated commandline> it fails. The command line I use is the following:"C:\\Program Files\\MapInfo\\Professional\\UT\\fme.exe" GENTRANS OGCKML "D:\\Workplace\\Projects\\Acciona\\MI_read_KMZ\\testing\\UT\\PARQUE1.kmz" "RUNTIME_MACROS,\\"KML21_LOG_VERBOSE,No,KML21_RASTER_READ_MODE,GroundOverlay,KML21_SCAN_SCHEMA,Yes,KML21_FAIL_ON_NETWORK_ERROR,No,KML21_DELETE_DOWNLOADED_FILES,Yes,KML21_TRAVERSE_NETWORKLINKS,All,KML21_MOVE_TO_KML_WORLD_COORDSYS,Yes,KML
Hi,I am creating a table in Oracle SDE with FME. Is there to uncheck the Allow NULL property of a field via FME Desktop? Or even a way to uncheck it after the table is created with FME within ArcGIS Pro Catalog? See screenshot below. Thanks, Annette
Is there a way to automatically set the datetime within a parameter and use it to fanout a dataset so that does not then create a folder for every minute the workspace was running. I just want the initial date time the workspace was run. The default date time parameter is not really ideal for this as it defaults to midnight and requires user input. I'm hoping to not have to use a workspace runner. Using DateTimeNow seems to create multiple folders as the outputs are written.
So far, I tried two approaches.Read pointcloud--> extract bounds-> tile point cloud into 1mx1m raster-->extract number of points per point cloud-->sort the number of points--> aggregate the number of points into groups-->write to csvread point cloud-->extract bounds-> calculate density by PointClouddensityCalculator--> rasterCellCoercer to extract the number of points into z--> coordinate extractor to get 3d points--> aggregate z (which corrsponds the number of points-->sorter-->write to csvThe problem with both approaches: it takes a lot of time (more than 1 h) . Does anyone have an idea how I could calculate the density quicker?I add a screenshot of my workspace.I appreciate any help. Thanks in advance!Kind regards,Ingrid
Hello everyone,I'm very new participant in this community and FME as well. Please can everyone help me to convert data from .gdb files to .xml file I would be very grateful if someone could write me the steps and some of the important details in the transformersInput (reader): geodatabase file (with extension .gdb). For example, this file can be read in ArcGIS ArcMapOutput (writer): one .xml file Thanks in advance.