Using transformers to modify data.
Recently active
HiI want to do something like this in FMEOriginal TableAgeNumber0-10510-201020-30230 plus4Create new attribute with range values or group values in Name field by ranges.NameNumberRange0-1050-2010-20100-2020-30220 plus30 plus420 plusThe only way I can think of is to use Attribute Creator and use conditions to set up each category range. I am hoping there is an easier way of doing this.Andrew
In FME what is the diffrence between composite-surface and multi-surface? As far as I can tell when reading the description they do pretty much the same thing. How do they diffrientiate and why would I use one rather then another?
I have a submitter workspace that should call a child workspace.The logfile says it does, however the child workspace never shows up in the job log.The log of the submitting workspace saysFMEServerJobSubmitter(ServerFactory): http://xxxxxx:8084 - Running workspace 'gdp_import2k_worker.fmw' in repository 'Geoportal'...FMEServerJobSubmitter(ServerFactory): http://xxxxxx:8084 - Job #0 submitted This "Job#0" raises my suspicion - is there something going wrong, maybe with user permissions or the like?
Hello everyone I have 3d lines of similar height, clipped in 2d by a line with another z-coordinate. I need to put vertexes at the intersection of the lines but on the Clipper line. I would be grateful for your susuggestions.
I have a geotiff image feeding a rasterToPolygonCoercer. I need to assign the value of the output polygons based on the input raster palette and value. How do I feed the MapInfo TAB writer the correct color from the RasterToPolygoneCoercer?
I would like to extract the value "Version" or "version" (it differs from version to version :x ) from an XML. Usually I do this with a XMLFragmenter but XML is case sensitive so i need to do it twice and aggregate it. I think it can be done easier using XQuery but having a hard time to get it to work. So my questions are:1. How to extract the value Version or version using XQuery from the next piece:<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Leveringsinformatie xmlns="http://www.kadaster.nl/schemas/klic/leveringsinformatie/v20180418" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml/3.2"> <version>2.1</version></Leveringsinformatie>2. How to learn XQuery?
HiI need to expose all hidden attributes in generic way (different attributes are created from different dataset).1. With AttributeExposer I can select specified attributes. How to expose them dynamically? Is there any "magic" way to do that? '*' or something?2. How to determine by Python Script that attribute is hidden or not?
Microsoft SQL Server Spatial Reader: Connection failed. on SQL Executor even though a Reader with the exact same parameters works without issue.
I have a (4KB) png file I want to convert to a vector grid. I want each pixel in the raster to be its own cell in the vector grid.I am using RasterCellCoercerOutput Cell Geometery: PolygonsExtract Band Values As: AttributesExtract Nodata Values: YesMy question is how do I transfer the colour values of the raster to attribute values in the vector?
I have one file which contains over 500 points. I would like to use the transformer "Neighbor Finder" to count neighbors (points) for each point with 50 meters. How do I do that? Thanks so much in advance.
I'm trying to merge different raster features to one image using the overlap value option in the RasterMosaicker. My end goal is to merge these images based on how the look in RGB. The order of the layers is done using the sorter just before the merge. Using the transparency is key because you need to see the different layers when there is "a NoData pixel"The problem i'm facing now is that the NoData values differs with each raster or even that some rasters do not even have a NoData value (even do it should). For the last situation i want to translate the raster a bit so the can be used for a NoData value of 255. By visual inspection i could see that that only the withe (r=0,g=0,b=0)colour needs to be replaced with transparency.My first step is converting all 255 values in RED8, GREEN8 and BLUE8 to 254 so 255 is freed. For the next step i would like to do covert only the RED8, GREEN8 and BLUE8 values of a pixel that all three have the 0 value to 255. I tried using the RasterCellValueRe
HyI nee to connect opposite vertices within certain distance tolerance and then calculate the middle point off the connected lineThxFrancesco
Hello, The below translation aims to take regional address points and regional buildings layers and extract a certain study area based on a buildings polygon. I then try to use another spatial filter to link the address points to the buildings polygon it is located within. However I am struggling to find a way of saying 'IF address point is within polygon then take the property address and apply it to a new attribute in the building polygon'. Does anyone have any suggestions on how to link this together?
Hello,I am trying to get the elevation using a NeighborFinder. I get this error:IFMELine was given an index beyond its current range (see workspace in attached)And I get 'nan' for the elevation. Any idea why?
How do I convert geographic coordinates to UTM in FME. I have not found anything simple, I do not believe that the FME does not do it simply.thank you
I have couple workbenches processing bulk updates each night of which the point data is in NAD and the users would like the eastings/northings for the relevant state plane added as attributes.I created this transformer attached where I flow in the lat/lons, aggregate them based on the rounded coordinate to run the next transformer in a grouped by parallel processing which intersects with state plane polygons and then does the project to E/N before converting back to NAD.It's still slow - anyone have any ideas how to speed this up or do it differently?
In the DEM to TIN generation there are several steps:1.Point Selection2. TriangulationMost algorithms use Delaunay triangulation, and I am OK with that for now, but as far as the point selection I am wondering if anyone has implemented anything else beside VIP and Heuristic --- I am interested in the specific algorithm(even pseudo-code) of the Skeleton Method detailed by Dr. Fowler and Little.
I need to anonymize lat/long of crime data that I am publishing to my city's open data portal. My colleague created a ArcGIS geocoder that takes all the addresses in our municipality, rounds to the 100 block, and then creates points in the middle of the block. All my attempts using FME geocoder have failed. I'm using the REST URL and specifying the address fields but I don't get any output from the Geocoder. Prior to using the Geocoder, I had the Vertex Creator set up to handle X/Y points, reprojecting to the apporpriate format, etc. The only issue was that it was showing exact addresses. Looking for examples of using the Geocoder and/or insights into further transforming lat/long after it's extracted.
Hi, everyone, I've got two versions of a FGDB polygon feature class(original and revised), I'd like to use ChangeDetector two find the differences between them. But the output result was very odd, some added or deleted polygons looked exactly and had seem attributes. I only created a topology dataset to fix overlaps and gaps in revised data, I figureed this is issue. Then I tried the same workflow with my backup data. As expected, I got less output through added and deleted port, and most odd results were not there any more.I browsed FME Knowledge Center about ChangeDetector and I find this question is most likely the reason caused my problem. But all my data are stored in FGDB not SDE. And all FGDBs have same parameters which are default.Further more, my data is stored in longitude and latitude, if a CoordinteRounder is needed I'm not sure how to set the precision parameter.
I have a CSV file as a source to Reader with multiple fields/datatypes but there are some invalid records in it. Is there any translator to remove the invalid records before writing it to destination dataset. By Invalid records i mean - Mismatch in datatype, datalength.
Hi,I am just trying to use the NeighborFinder tool to calculate distances between two feature classes (points to polygon) however I couldnt get the distance output into metres.Coordinate system of the source data are GDA94..Thank you!
I have tried a few different things but can't figure out how to get this to work. I would appreciate a little advice. I have a line file, with measures. I am trying to relate a point file to the lines, and assign a measure attribute to the points. Right now I use the neighbourfinder tranformer to snap the points to the lines, grouping by a specific field. Then I go to ArcMap and use the 'Locate Features Along Routes' tool. The drawback is I can't group data when locating the features is ArcMap. If I have a point overlapping two routes I sometimes match to the wrong line. I'm dealing with over 1 million records so this is a lot to QC. Is there any way to pull the measure from the line, and assign it to the points within FME? Thanks, Chris
Hi All, as part of a work flow i have to parse some XML that im reading via an APII pass a job ID to the api and get this response back:<Response api-method="Job/CustomField"><Status>OK</Status><CustomFields><CustomField><ID>225109</ID><Name>Probability of win (%)</Name><Number>20</Number></CustomField><CustomField><ID>221125</ID><Name># Street Suburb City PO Box</Name><Text>71 Sunrise Ave Murrays Bay 900</Text></CustomField><CustomField><ID>219331</ID><Name>NZTM 2000 Easting</Name><Number>1755638</Number></CustomField><CustomField><ID>219352</ID><Name>NZTM 2000 Northing</Name><Number>5933369</Number></CustomField></CustomFields></Response>I need to extract the "Number" value below the NZTM 2000 Easting and the "Number" Value below the NZTM 2000 Northin so i can
I have downloaded the tesseractcaller and tesseract but when I run a workspace I can not get any output on the Line port. When I use the output type of Text the output is returned in the Text port. But when I choose hOCR a "Tesseract didn't find any text on this raster" error is returned on the Rejected port. I get this result on the TesseractTest.fmwt example as well as the other samples provided by Safe Soft. Let me know if I have missed a setting somewhere.
hey, I am trying to find Min, Max and average time. My time is saved hh:mm. Can I use the Statistic Calculator?