Using transformers to modify data.
Recently active
Consider for example the case with a FeatureMerger or a FeatureJoiner. I have always been wondering how the groupBy is executed here. Is this on a single port (e.g. Requestor or Left) or across multiple ports. Especially in combination with the option 'Process when group changes'. I made a small illustration workspace, with the merging application inspired on 'a hiccup' I came across today where I wanted to accumulate incoming attributes at a 2DGridAccumulator, but there is no default field/option for this (an idea on this was already created, see; https://community.safe.com/s/idea/0874Q000000TlLbQAK/detail). To see differences in results, I changed the order of the features entering the supplier input port of the FeatureMerger, and for whether features should first route to the Requestor, or first to the Supplier port. In the cases when the feature order going to the supplier is changed (case 1 and 2), I see that most features don't merge, but I don't underst
I would like to rename a large dataset of many columns using a lookup file (csv or xlsx) - is this possible? I have explored the ..Mapper transformers, but am unable to get them to work in this way. The only method that appears possible at the moment is through the AttributeRenamer, but am finding this rather tedious entering one by one. The Import facility on this transformer only appears to name Input and Output Attributes with the same names when I use it.Happy to be corrected in my use of this transformer!The column name lookup I have structured in a spreadsheet as below;
Hi All, I have a Child workbench which takes input as SDE FeatureClasses and Creates FGDB. i am passing all feature classes dynamically to the writer (all different types like points, polygons and polyline featureclasses). My SDE Feature Class has Long Attribute(Fields) Names and I required to create FGDB Feature Classes with Short Attribute(Fields) names. I have a web service which gives JSON output of Short Names. For each feature class, i need to connect to web service and get short names, create FGDB feature class with these short names. Could anyone have an idea how can I dynamically update FGDB feature class?
I got some multiband raster images and want to create a workspace which allows the user to choose the bit depht/color depht between Grayscale (8bit), RGB(24bit) and Palette (8bit). I used the RasterInterpretationCoercer but it does not work with the Grayscale, because the input images contains multiple bands. Anynone can give me a hint to make it possible? Thx and best wishes Barry
I tiled a raster image with the RasterTiler and get as result 4 tiles and now I want to name the workspace output file like the output tile numbers. Like this: up left tile= 1 -> Filename_1.TIFup right tile=2 ->Filename_2.TIFbottom left tile=3 -> Filename_3.TIFbottom right tile= 4 -> Filename_4.TIF So I used the stringconcetonator to name the attributes like the tile numbers, but I dont get the desired result what am I doing wrong? Best Wishes Tina
Hello all, I want to create an user parameter to let the workspace user choose between three different picture depht/bit depht: (gray 8, palette 8 and RGB24). I used the RasterInterpretationCoercer, but how do I connect it right with an user parameter? My Result is an userparameter prompt with an list of all possible choices of the RasterInterpretationCoercer (below in the attached picture) But I want just the 3 different possibilities Thank you very much.
When i am trying to read the XML-file "bomen-elburg_short" I get this error: XML Parser error: 'Error in input dataset:'bomen-elburg_short.xml' line:23 column:46 message:prefix 'gml' can not be resolved to namespace URI'Whats going wrong, and how can i solve this?
I have eight lines going into a snipper that are identical with the exception of a distance attribute. I am trying to trim these lines to the length specified in the distance attribute. Two of the lines trim correctly and the other six trim to "0" length and exit as a point. The min and max extents coming in appear to be correct but the min and max extents of the output show the six points being the same. I have reviewed this question from the past: snipper point in exit (https://community.safe.com/s/question/0D54Q000080hdg9SAA) but didn't find my answer there. Here is a snippet of my workspace.
How do I access a AGOL feature attachment that is a JPEG and save it as a file. The AGOL reader allows me to access the attachments, but the data is in format attribute. How do I write that back out as a JPEG file on my system?
Hello im relatively new to FME and I want to determine the resolution of raster images with the transformer "RasterPropertyExtractor", how can i set this transformer to supply the resolution dynamically? Because I want to use the workspace for different images with different resoulutions. Thank you and Best wishes Barrylim
Hi im new to this and want to create a workspace which allows the user to transform the cellsize of a rasterimage. But if the values supplied by the user would cause an upsampling, then the workspace should be set in a way that no resampling takes place. My approach is to set a user parameter but i have no clue how I can set it in a way to make this possible any hints? Thx to all!
Hi,I've found a problem reprojecting 3D data using the CSMapReprojector transformer in 2020.1 running on MacOS Mojave. Essentially, the Transformer behaves badly when the Destination Coordinate System is set to OSGB-GPS-2015-OSTN15. The problem is demonstrated in the attached workspace. Thanks
My citygml file has building part, address, ground surface, roof surface. How do I write all the parts into one 3d tiles. My workbench produces separate parts but I want them merged into one for visualization
Hello anyone willing to help,I have hundreds of similar datasets consisting of up to 10.000 3D points. All of the datasets are created in the same way, they are result of previous calculation. Most of the datasets are perfectly transformable by SurfaceModeller, but some of them just stuck the SurfaceModeller and it never finishes.I distilled out one troublemaker and saved it for investigation. The workspace and a suspected dataset can be found here valeron.sk/FME/suspected_dataset.rarAny help is appreciated.
Hi.I'm clearly a novice wrt. handling rasters in FME. I simply have trouble with understanding the fundamentals.E.g., I want to replace all white (1,1,1) cell values with a transparent cell (x,x,x,1).I looked at the RasterCellValueReplacer, but it doesn't handle colors the FME way, so it's a dead end.And the other raster transformers I've looked at all seemed off-mark to me.How do I accomplish this simple task ?Do I need to explode the raster into individual cells (and later reassemble) to do it ?Cheers.
I am trying to publish a file geodatabase to an ArcGIS Online Feature Service that has several attributes with URLs. One attribute that has just the URL (e.g. https://safe.com) and it works fine and is a clickable link in the AGOL popup window. Another attribute has several URLs with a linked name and using formatting like: <a href="https://safe.com/page.aspx?ID=1">Link 1</a>; <a href="https://safe.com/page.aspx?ID=2">Link 2</a>; If I publish like this, I get a code 400 failure message. I believe the ArcGIS API is looking for an encoded URL so I tried the TextEncoder transformer and that will let me publish but the attribute shows up as text, not a clickable link. I tried several of the encoding types: HTML, URL (percent encoding), and XML but AGOL shows them all as just a text string. How do I make these clickable links? I should also note that if I simply upload my GDB in the AGOL interface it works fine without the encoding (the link names are displayed and
Hi,I am using both Desktop and Server and occasionally get issues with the ZipArchiver failing. I have attached a log file where you can see it at the end.Python Exception <NameError>: name 'unicode' is not definedPython is not my forte! Does anybody know what causes this?Many thanks,Glenn
Hi,I have a very strange error that seemingly has started from nowhere. Part of a much larger process I have been running for years is causing me problems I cannot seem to resolve. I have narrowed it down to an xlsx FeatureWriter. Whenever it gets to that part of a large workbench it causes it to restart on FME Server. So it's hard to log the issue and find out why. It doesn't happen locally, just on Server. Has anybody else had this issue, or knows what might be causing it? Thanks
Hello,I have a problem of optimization. I have a very large set of points with arguments that I can't combine before sorting it. The points are divided themsleves with an argument, and I have around 100-500 points for each group. The problem being that I want to reduce that number to approximately fifty. The new coordinates for each of these fifty points is computed using the other 500, and an argument that each one has. So is there a way we can we replace all the vertex in a feature at once, with lists of points ?The lists would look like this going out of the Python Caller . This is for one coordinate only, the x.[929437.0060424805, 929441.2712402344, 929441.2976074219, 929441.3193969727, 929442.5599975586, 929444.1078491211]Any idea on how to proceed, or another approach possible ?Thanks
Hello,I have several year's worth of rain gauge data at 15 minute intervals. What I am trying to get out of it is sorting the dataset by days when it rained over, and under a certain value (that would be a sum total of rainfall in mm for each day).Any suggestion on how to achieve this are muchly appreciated.Cheers.
I have multiple columns with nulll / no null data and a transformer that does this would be very useful.
I have used the Hub's ZipExtractor transformer for a while, but just found out it does not take user parameters (published or private) as input. The literal values of "Source Zip File" and "Destination Root Folder" will work fine, but using user parameters for either of them will give error "Specified zip file or destination root folder is invalid." I am using FME Desktop 2019.2.1.
I have a floor plan in AutoCAD. I care about two layers (Room_No and Room_Name). In Room_Name, names that span more than one line (usually word) are different features in the same layer. For example Exam Room will be two different items on the layer. I need to group these two items (words) so I can eventually concatenate them to be Exam Room. Based on my experience scraping data from other sources says to group them by their location using x and y coordinates. I can then do the same thing to add in number from the Roon_No layer. What is the right transformer to use for this? I've tried neighborhood aggregator but it output a list of coordinates based on the text value and not the other way around.
I have a google sheet with columns for Beg Date and End Date for several years (2019 Beg Date, 2020 Beg Date, etc). I have a user parameter for Year. I have a parameterFetcher to get the parameter but then how do I filter for only that year. If the user enters 2020 how do I only utilize 2020 Beg Date and 2020 End Date. Right now all of the years (2019 Beg Date …) show up as attributes.
I have a lot of ECW raster, but without metadata (source, pixel, date). The metadata is the same for all my ECW. How i do to write metadata in batch with FME. I'm new with FME. Thank you for your support.