Using transformers to modify data.
Recently active
The basic workflow is:Read in featuresCount them (via StatisticsCalculator, Total Count)Depending on count value, calculate sample valueRandom sample features based on calculated sample valueSampler doesn't allow to set Sampling Rate (N) as attribute value. Maybe there is a workaround?
I need to export all source and destination values from an attributeValueMapper transformer. How can I do that?
Hello,I want to use a FTPCaller to push a file on a SFTP server. It doesn't work on my Windows 10 PC, but on another PC it works fine. And on my computer, I can access to the SFTP server using Filezilla or Winscp. I'm using FME workbench 2019.1.1.0 (20190801 - Build 19617 - WIN64) on Windows 10 version 1903. I get the error :"FTPCaller (FTPFactory): FTP info: Trying XXX.XXX.XXX.XXX:22...FTPCaller (FTPFactory): FTP info: TCP_NODELAY setFTPCaller (FTPFactory): FTP info: Connected to XXXXXXXXXXXX (XXX.XXX.XXX.XXX) port 22 (#0)FTPCaller (FTPFactory): FTP info: Failure establishing ssh session: -43, FTPCaller (FTPFactory): FTP info: Closing connection 0FTPCaller (FTPFactory): HTTP/FTP transfer error: 'Failed initialization'" I join the full log of my workspace, with Debug option, if it helps.
Hi, I have a trouble trying to draw a dgn file containing custom complex linestyle (with cells), but the result is always a flat line. But it works with simple custom linestyle containing only dash and dot. I followed this documentation : http://docs.safe.com/fme/2019.0/html/FME_Desktop_Documentation/FME_ReadersWriters/igds/Custom_Line_Styles.htm When I inspect the output DGN file with FME Data Inspector, the igds_style and the igds_style_name are correctly set. But when I open the file in Microstation, these lines are solid. Did someone know how to resolve this issue ? Can FME deal with complex custum line ? Some screenshots : The linestyle in the seedfile : The result in FME Data Inspector : The result in Microstation (the blue line in North-Est is a custum linestyle too, but with only dash and dot, and it works) : Note the FME Version is 2019.0.0.1. Thanks for your help,
Hello everyone, and thank you for looking! I am asking your help on an operation that I would like to do, but I am unsure how to do it in FME. I have a table such as this: ID AREA VILLAGE1 232 Oxenfurt1 452 Las Vegas1 923 New York2 124 Jacksonville2 298 Charlotte3 767 Las Vegas3 422 Charlotte3 223 Oxenfurtetc... What I want to get is table where ID is unique with a single VILLAGE entry, selected based on the maximum value of the AREA entry, and all other entries with the same ID removed. Taking the above table as example, the result that I would like would be: ID AREA VILLAGE1 923 New York2 298 Charlotte3 767 Las Vegasetc... How do I achieve this? Note that the input also has polygons, but those do not matter; I want to only have a resulting list of unique ID with the VILLAGE that has the highest AREA only, and delete the others.
We are looking into more low cost GNSS rover devices which unfortunately only measure ellipsoidal heights. To use those for mapping applications, we have to post-process those heights to receive orthometric heights (MSL). I have now received an official ascii grid file with the geoid undulation values. The distance between each point feature is between approx. 750 and 900 m:Would it be a viable approach to correct the height from ellips. heights to MSL by performing a nearest feature search (with the NeighborFindertransformer) and then subtract the geoid undulation from the ellips. heights? And if this is a viable way to do so in order to get proper MSL heights, would it be smarter to rasterize the grid first in order to increase the performance (ultimately this should end up in a FME Server webhook upon submitted survey from ArcGIS Survey123 or ArcGIS Collector). What would be a suitable raster size if point spacing varies between 750 and 900 m?
Hi, I have seen a few examples here on how to make a line or a point in a kml file change style when you hover over it, can you do the same with a polygon? I couldn't find any examples of doing this with a polygon.
I am trying to use the RasterObjectDetectorSamplePreparer and Model Trainer transformers. I created my positive and negative samples and also the annotations.txt file with the OpenCV tools. When I try to run my model, everything goes to "REJECTED". I haven't found much documentation on this other than the blog: https://www.safe.com/blog/2019/01/fme-does-computer-vision/@dmitribagh
I have a workbench that uploads features from an AutoCAD drawing to ArcGIS Online. FME is happy to write the first 20000 features (AGOL Feature Service Writer), but then aborts with "Python Exception <KeyError>: 'DYNAMIC'". Any clues to what can be the cause? Note: until last week the workbench worked without any errors.
Current Version: FME(R) 2020.1.2.1 (20200909 - Build 20624 - WIN64) Hello 1) Since upgrading to 2020.1 regardless of build version, the sorting function is no longer working and therefore causing issues. (Tick / Untick box does not work) 2) "Run-to-Selected" no longer working as it should. it carries on translating the entire workspace. PS: Not discarding the fact that it might be a localised issue. ThanksSameer
Hi all!I have a Raster with only 0 and 1 values, where the 1 are the buildings extracted from a LAS cloud point (Class 6) and the 0 the rest of the extent. It is attached and it looks like this:I need to get the polygons of the buildings footprint and my attempt is a RasterToPolygonCoercer, followed by a Dissolver but the result is not what I expected.I tried a buffer of 1m but again, the footprint is not correct and I cannot make a bigger buffers because the correct shape of the building becomes increasingly worse.I tried Generalize but it is not useful here. It smoothens polygons that are already correct and mines aren't. Tried also Aggregator and AreaAmalgamator but never seen the result. They take a really long time to process as there are thousands of polygons.In the end what I want is polygons more or less correct but one per building as the red outline in the image below, where you could easily relate each building to its footprint.Thanks a lot in advance for all the answer
I'm trying to work out how to parse the SAMPLES attribute from the Trace component of the SEG-Y reader. The reader outputs the samples as encoded FME Binary which is represented as HEX in the attribute viewer. The samples are a byte array of 246 consecutive UINT16 readingsI want to parse the samples into a list of UNIT16 values so I can then do some analysis on them. I have tried a whole range of approaches to process the string into a list of numbers but nothing seems to work and I suspect I'm just missing something. Anyone have any ideas?
HANA Spatial has an M value which is used for stationing along a linear asset (a linestring) for example. If there's a length of railroad track, there might be a signal every 1km, so each signal starting from M=0 would be at M=1, M=2, M=3 respectively. If SAFE FME is used to copy over a line from Oracle spatial and that line has stationing (or "measure" - not "unit of measure"), will SAFE FME also copy over the stationing?
I have a tiff file with a tfw. I need to get those tiffs into dwg at the correct coordinates based on the tfw. Basic fme translation produces a new png file. I would simply like to create a dwg that would read the existing tiff. I have over a 1000 files to translate so I don't really want to create new pngs for all those tiffs.
Hi Team,I, as a part of a project of an organization, am using Cesium to plot geojson files of the floor plans on the cesium map. I am having trouble geo-referencing the AutoCAD drawings before converting them to geojson to use them in cesium.The limitation is, I cannot use any software to geo-reference them such as ArcGIS Pro, QGIS, etc.I am looking for a way to implement the process of geo-referencing using control points in our web app using python or any way that doesn’t require use of a software.Are there any ways to do so?Any help is much appreciated.Thanks!
All went well when i exported. I open the file and my contours are in 3d. Each curve as is Z value correct. After, I have tried to use the "SherbenderGeneralizer" to reduce the number of vertices.When I exported the file again, my contours have lost the 3d dimension. Each curve as 0.000 z value. Can you help me? Sure I am doing something wrong. Many thanks
I have an attribute with dateTime values and I want a summary of the start and end date of all the features. When I did use the older FME version statistics calculator I could use the min and max statistics to calculate the start and end date. Unfortunately the latest FME statistics calculator no longer supports this functionality. Is there an easy way to to calculate my start and end dates?
I have a 2GB .ebc file that I need to pull in for transformation. The file has COMP-3 packing set for multiple (but not all) fields. I've tried pulling this file in as a raw text file with default encoding, which results in one extremely long string record that crashes Inspector due to lack of memory. When I try pulling it in via the included EBCDIC US (ibm037) encoding, it sees 100,000+ records but I again run into memory issues on the first record so I cannot see if the reader was truly successful. Is there some trick to reading EBCDIC COMP-3 packed data that I'm missing? Or is this something that requires extra external processing work prior to ingesting the data into FME?
When using the ChangeDetector, the order of the output is different then the input. For example:Input Original 12,5,13,8,4Input Revised 10,4,11,6,1,8,14,2Output Unchanged 4,8Output Added 1,10,2,14,6,11Output Deleted 13,12,5I can't find the logic of it. Does anyone know? The solution I have is using the sorter afterwards, but I want to prevend to using it because of the long processing time with large datasets.
I have a series of transformers that creates a jpg via a VectorOnRasterOverlayer and FeatureWriter, which stores the jpg on a file server. The jpg is then pushed through a HTMLReportGenerator and then to an Emailer. We use GMail and apparently, Gmail doesn't like embedded images that are sourced from a file server. I get the "broken icon" in the email (and no inline image). Can anyone comment on what I am doing wrong? Any help would be greatly appreciated.
Hello I try to build a diagram starting from a source-target tablethe result should be something like this is it posible to be made ? how?
This is actually a water network routing challenge, but I'm going to describe it like a road network problem since the "Nearest Fire Station" problem is a classical network/GIS problem and this is just the urban water supply network equivalent.I have to create a fast-calculating FME workflow that processes 75,000 possible, independent, "Road Intersection Closure" events that may or may not result in some other Intersection "Nodes" also becoming inaccessible to all 100 "Fire Stations" as a result of the closure.This particularly happens when you close a critical Intersection that cuts off all routes to the downstream intersections where they do not have a alternative network route ring road.Ironically, I have a proprietary piece of network analysis software that finishes the above calculation in 20 minutes and is the benchmark for an equivalent FME workflow. Whilst I've found Solutions, none so far have been very performant and so looking
I extracted a zipped folder and searched within this folder for a PDF with an address. I would like to rename my unzipped folder with this address. At the moment I stored this address in an attribute. Is there a way in FME I can rename the unzipped folder with this attribute value? Probably I need a Python Caller for that?
This dialog window showed up during my translation. It does not show any error but I am curious as to why this happened... This is because when I run the workbench for multiple times it sometimes shown and sometime it does not. May I know what is the reason behind this?
Hi, I have a attribute with the coordinates to polygons and want to create a proper geometry out of it. Is there a simple way to do it? f example x;y;x;yx;y