Using transformers to modify data.
Recently active
Is there a way that FME can "bypass" the native format of .img Garmin (or intermediate format?) so I can create a transparent map to add on top of an official Trackmaps in both BaseCamp and GPS?
Hello FME Community, I need some help for some topics for a FME talk. Next week I'm gonna hold a talk for some coders which have not heard about FME, or is well know to the world of GIS, but they were interested letting me talk about FME. These guys are very familiar to docker, fullstack js, databases and so on.Have anyone had a talk about what FME can do to a bunch of coders? I was thinking in the direction of how to make all your databases and files related? But, I got a amnesia when it comes to thinking creative. Have anyone done something similar and want to share their presentation with the community? Best RegardsPaal
I have two polygons, one of parcels and one of building footprints. I am trying to merge the attributes of the parcels to the buildings. A Spatial Relator or Filter would be the obvious answer, but some of the building footprints overlap more than one parcel. I want to merge the attributes of the parcel the building is found MOSTLY within. In the case of the below picture, the red building is adopting the parcel attributes of #2. Is there a way I can prioritize the amount of overlap determining which attributes are joined, therefore adopting parcel 1?
I'm pretty sure that when using an IN clause in the tester, a comma separated list of values could be used as long as there were no spaces, there was no need for additional quotes. However, it looks like there is an issue with the tester - if i send a list with no quotes, everything passes! If the quotes are required due to the presence of the hyphen, then surely the middle option should fail everything rather than pass everything?FME 2019.1.0.0 (Build 19608 WIN32)
I try to drape a high resolution orthophoto (12'000x12'000pix) to a TIN with the AppearanceSetter. But I only get an black surface. When I resize my orthophoto to 3'000x3'000 Pixel everything works fine. Is this a limitation in the AppearanceSetter? Is there an other solution to keep the high resolution? Thank you very in advance! Dominik
Hi! I have a set of 2D polylines, where I want to assign different z-values on the start and end node coordinates. The values I want to set are stored as attributes (let's call them "z_start" and "z_end"). Is there an easy way to achieve that?
Hi, I have data coming on on a daily basis to a table with no ID field. The data is a volume recorded by a meter every 15 minutes. A user on here called @Takashi kindly helped to put the workspace together, which creates a volume every 15 minutes even if the data is missing (it adds a 0). However, I did this on an INSERT statement and am now finding that new files are coming in that update the previous values. I didn't account for this. I need to alter my workspace to:find if a record already existsif the record exists and is not zero don't update the fieldif the record doesn't exist add the data.Any idea how I do this? I'm not sure whether to use a ChangeDetector, FeatureMerger or FeatureJoiner and so am a bit confused! ThanksNeil
Hello, Not sure if I have phrased the question correctly, but this is what I need to do:I'm processing signal data from text files. The data has attributes on each of the 7 rows, then the actual signal values in rows underneath. I'm using a VariableSetter and VariableRetriever successfully to process the data as each file has a different meter id or signal date.I now need to process the data into 15 minutes intervals which I have done. However, these 15 minutes intervals (96 in one day) need to be aligned to a master table to fill in the blank rows where no signal data was received for the missing 15 minute intervals.I can use a FeatureMerger / FeatureJoiner to join my two datasets by the 15 minute datetime, but this doesn't transpose the actual meter data (meter id, other ids, date of data) into the empty fields, and I need to do this to build the 96 interval profile for each text file.Any ideas how I can fill in these missing values when I join the tables together? Apolog
how to write recap with intensity info from E57The color value and intensity are not saved in the Recap
I'm trying to figure out how to create the table (Output) from a single column table below.In R, the function pair.matrix does what I need https://www.rdocumentation.org/packages/cape/versions/2.0.2/topics/pair.matrix How can I replicate this? Input Output idname idnameid2name21apple 1apple1apple2banana 1apple2banana3carrot 1apple3carrot 2banana1apple 2banana2banana 2banana3carrot 3carrot1apple 3carrot2banana 3carrot3carrot
I have created a workspace to extract data from a series of datasets based on selected land parcels.When I run it from the desktop it works fine, the DWG file is created and a PDF of the data is also produced.When I run it from FME Cloud Server, I get the following error around the PDFStyler. 94PDFStyler_2_CheckLineWidth (TestFactory): The clause 'TEST 1 TYPE NUM ENCODED FEATURE_TABLE_SHIM_SUPPORT Yes' within 'FACTORY_DEF * TestFactory FACTORY_NAME PDFStyler_2_CheckLineWidth INPUT FEATURE_TYPE FeatureWriter_public.ParcelCadastreCombined TEST 1 TYPE NUM ENCODED FEATURE_TABLE_SHIM_SUPPORT Yes OUTPUT PASSED FEATURE_TYPE __CheckLineMiterLimit__' is incorrect. TEST must look like: TEST <value> <operator> <value> [ENCODED]95The clause 'TEST 1 TYPE NUM ENCODED FEATURE_TABLE_SHIM_SUPPORT Yes' within 'FACTORY_DEF * TestFactory FACTORY_NAME PDFStyler_2_CheckLineWidth INPUT FEATURE_TYPE FeatureWriter_public.ParcelCadastreCombined TEST 1 TYPE NUM ENCOD
Hi, I want to find out whether an object with certain coordinates (x3,y3), is within a region that connects two points of a line. See the image below. I have a line between two points (X1,Y1) and (X2,Y2). I want to know if another object is intersected by that line. As the object is just a point, and my accuracy of the points is low, i want to put a buffer on its x/y co-ordinates of like 1m either side (so effectively a square), and see if that crosses it. Is this possible in FME? If so... how?
Hi everybody,I try to assign a specific layer for several attributes in a block Acad (in order to respect our CAD standard).I try to assign dedicated layer with the "Attribute manager" (see attachement), but when the acad file is created, I've only one layer defined by "Layer Name" in DWG Writter.Following documentation, it should be possible to acces this kind of information:https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_ReadersWriters/acad/Inserts.htm But in my case, it doesn't work ... any help ? Thanks Eric T.
I have a CSV file with attributes in several columns and coordinate pair(s) in a single column. The column with coordinate data has X and Y coordinates arranged like this:Y, X, Y, X 430,495,678,272 Y, X Y, X Y, X Y, X 82265,5487539 82479,5487545 82553,5487896 82645,5486795Coordinates may contain one or more coordinate pairs. There is an attribute within the file indicating the number of coordinates pairs the feature has but no attribute to indicate whether the feature is a point, line, or polygon. What would be a way to create correct geometry from the list of coordinates?
I have a python code, here is an example, how will I set it up in a Python Startup Script or even a Pythoncaller. Here is a sample code. I know some might be able to do everything I am trying to do in FME, for the moment I will like to use my available python codes in FME, hence my question.def my_function(food): for x in food: print(x)fruits = ["apple", "banana", "cherry"]my_function(fruits)
I'm using a Spatial Filter and want to understand how the merge attributes element deals with multiple features. In the example attached the 'orange' grid is the candidate and the 'green' features the filter, with dark green feature A and light green feature B in that one dataset. For the highlighted purple square the following is true:The cell would pass, because it intersects the 'green' layer.It outputs the purple square attributes with the addition of A (dark green), (NOT B (light green))My question is - How is it decided which attribute value from the 'green' data set is used (A or B)? the first it intersects, the largest feature or something else? Apologies if this has been asked before I couldn't figure it out from the help file, or how best to pose the question on Google! Thanks.
Hi,I have workspace which I have made with FME 2016. It works ok with 2017, I can run workspace, but I can not edit Joiners. Not even if I upgrade them. Here is error I get:I am able to create and edit databasejoiner in new workspace.Where can I download 2016.1 version? I have backup:)
I have a workbench that Inputs a fileGDB that has a feature class with just a few points. The output location is generated based on the input with a timestamp added. Savings as a new file gdb (Regular API and the open API) ones both work when saving to local C drive but not anywhere on the network and gives the following error:"Unable to connect to the File Geodatabase at 'H:\\Temp\\CAD_Test.gdb'. Make sure the correct filename was specified, and that the geodatabase wasn't saved with a newer version of ArcGIS than the one installed locally. The error number from ArcObjects is: '-2147024894'. The error message from ArcObjects is: {}"Using UNC paths is same resultIf I change the file type to .csv I can export over the network no problem, but filegdb fails and don't know why, have the drop table setting set to yes Any ideas?
Hello FME' users,I'm try to extract some informations from Video ( .mp4 extension ) using the custom transformer VideoPropertyExtractor.First, I downloaded the ffmpeg and installed all packages in the folder.Using the transformer Creator -> I configureted the custom transformer, like bellow: The Workspace executed without success: Attached the log file - FME Version 2019.1 - Build 19608 Command Line is Works: Thanks in Advance,Danilo
Good morning!I have created a very simple workspace to test reading and writing a DWG file with Extended Data.No issue when reading it. I get the extended data as a list:But when I create the new DWG, there is no extended data in the result. I have checked several related questions, but I haven't been able to solve this issue so far.These are my writer parameters:I'm using FME 2018.0.0.2 - 32 bits.I have attached the workspace and the source DWG.Thanks for any help provided!
I have 2 .tif files (1xBounding Box with correct extent and 1xRasterMap image with wrong extent).Please can someone show me an example (or list of tools) how to import or get the correct extents from a bounding box .gif raster file into another .gif raster file (map) with wrong extents. I've tried BoundsExtrractor, BoundingBoxReplacer, RasterCombiner, ExtentsCoercer & Merger/Georeferencer but can't get what I need! The images below illustrate what I mean. Any help appreciated! ScottaidhGeoreferenced tif
Hello,I'm trying to figure out if I can do this in FME:I have to produce an axonometric 2D vector drawing (SVG) from a Revit file (3D room geometry), something like this:We do this for PowerBi dashboards, so people can filter data using the actual rooms, it helps them to undestand the building a bit better...At this moment I have to rely on Rhino and their "make2D" command: http://docs.mcneel.com/rhino/5/help/en-us/commands/make2d.htm It works, but too much work...So, I'm wondering, is there a chance to automate this using FME?
Hi, I’m processing CAD-files in a script and my mission is to repair them to some limit. In one section I’m using the AnchoredSnapper to snap one type of lines to another type of line. Using the AnchoredSnapper bc I need the first set of lines to not move. Worked fine with the first file I ran, but the second time I ran the script with another CAD file, which didn't contain the type I set as anchors, the AnchoredSnapper processed the lines as I was using the Snapper instead, ie snapping the candidates to eachother. My expectation was that every input would pass out through the untouched port since there were no anchors to snap to.Is there a reason for this? How can i solve it? Best Regards, Anna
Hello,I am trying to use AttributeValueMapper to Map values that contain a certain string as "Pending" to an existing field. I am not sure if this is the right approach or If I have to add another transformer, or if I am just using the wrong Wildcards. I have and AttributeRangeMapper that is working perfectly before it. I need to take those values and add a new category "PENDING" to the same field for the strings that contain "PPA", that's why I have those values as default. It is showing the default values but not any "Pending"
Hi everyone,I'd like to create an arbitrary subset of features and can't find a suiteable way to do this. My features have a unique ID and I'd like to select a sample of n-features of it. How can I get n-individual random numbers to test these numbers against my ID and filter the features this way? Or how can I fetch n indices from a list that might be created from the features?Here is some sample data: