Using transformers to modify data.
Recently active
I'm working on converting a 12dxml file to a GIS format with an attribute table like an Esri FGDB feature class. Eventually the workflow will be used to write new data to an editable hosted feature service via a FME Server tool. Using the xml reader and feature paths I'm able at access and process the xml elements I require and create the output I need. Rearranging the key:value nature of the xml data is a little fiddly, but I've achieved that using Aggregators, AttributeCreators, AttributeSplitting and lastly an AttributeExposer. Using the AttributeExposer means that I've had to hardcode in the attribute names into the workflow and I'm wondering what the options are for managing these if additional attributes are added to future xml files? Perhaps using a published parameter or a txt file that stores a list of attribute names that can be dynamically read into the AttributeExposer?Exposing the attributes may not even be necessary if I make use of the dynamic opti
I´m extrating data from Postgis to DWG. And I´m using template file, but my lines in DWG output are Block. I would like line as polyline. How I can solve this? Thank´s
I need to perform AffineWarper in Group By mode. Separate affine control vectors for separate group of objects. Any idea?
Bonjour a tous Une question pour utiliser Python dans Fme j'ai plusieurs pages de pdf que je souhaite assembler en un seulj'ai teste plusieurs solutions avec les divers transformer FME mais cela ne fonctionne pas Je voudrais tester avec la fonction pypdf2 et un python callerqui parait fonctionner je suis preneur d'aide et d'exemplesMerci beaucoup
ignore it, ignore it, ignore it
Test w/ drag and drop image. testing to resave.
testing copy/paste
Test Images / attachment (using image link button)
Hello,I have a polygon layer which I want to snap to the road network. I used the Anchored snapper and given snapping distance 10. But some edges are overshooting. is there any way, polygon will snap to the nearest polyline?
Dear FME community.I would like to give ID to pair of attributes with FME like that :Thank you for your help.
UPDATE: After further investigation it is the exact same bug as the 2018 version. When Updating/Deleting features with user created id's the writer is unable to use the id as the 'row selection attribute'. When the id matches the internal spatialite id the row is updated but when the id differs the row is not changed. Old text:Nice new feature is the ChangeDetector in the 2019 beta. Because I had some trouble with the Spatialite writer in the 2018 version (FME18567) I desided to create a test workbench for the 2019 version.I think the workbench should update the geometry of the 5th feature. This feature I moved to coordinate 2,1 but when i read the file all features are at coordinate 1,1. The 2nd feature is UPDATED correctly to the value 'new'. By the way, in the FME18567 I was unable to UPDATE features, but it looks like this is fixed. The writer did not read the internal spatialite id and could not use the user made id to update.
Hi,I have a SQLite database with point and line geometries. I want to create a line between the points and the line objects. This line should be the shortest path and the sounding line (90 degres) on the existing line.How can I manage this with a SQL Statement? I want to use the spatial functions from SQLite Thank you and best regards
Hi all,I'm making pivot table from json file but I got problem in this model.Could you tell me why? Thank you
Hello, Experts. I struggle to perform a simple task. Wasn't able to find a solution by googling, I'm sorry.I want to separate a red color from a raster (RGB 255 0 0) using RasterExpressionEvaluator. The end result should just be raster containing RGB 255 0 0 color: I can't seem to find the right expression. Here is the screenshot of my workbench along with the RasterExpressionEvaluator parameters: Thank you very much.
I have a Postgis table with records which have a geometry column. Within the geometry, there are multipart polygons (example. If I query this one record in QGIS, it shows one polygon at location x,y and the other polygon 200 meters north). What transformer can I use to identify records that have multipart geometries that are over 150 meters apart from one another?Other records in the table have a geometry with one polygon and these can be ignored. I'm looking for records that have multipart geometry and if so, that are greater than 150m apart. Much appreciated. Thank you.
I'm fairly new to FME so my apologies if this is a pretty straightforward question. I'm trying to create a GTFS Feed using FME by reformatting data I already have in a excel table. I'm getting an error from a reader and I'm not quite sure where to look, tried reformatting my table data again but no avail. I'm on Workbench 2017.1Here's the error:Python Exception <ValueError>: unconverted data remains: 4Error encountered while calling function `convertDate'f_95(PythonFactory): PythonFactory failed to process feature Any help would be much appreciated Thanks!Kevin
Hi I am trying to build a connectivity model for electrical cables. I need to break lines with the following rules: If the end of line A touches line B then break line b at that point If line A has a node/joint on it, break it at that point If line A crosses line B, but there is NOT a vertices at the point it crosses, DO NOT break that line if line A crosses line B, but the end of line B is a short distance away from line A, shorten the line to A, and break. IF line B does not quite touch line A, adjust its length and break I have played with the topology builder etc and so I am confident that I can identify the nodes where lines need to be broken. I can't figure out how to break the lines in the correct places. Can someone point me towards the correct transformer(s) to do this? Thanks
I'm attempting to convert a series of MDB's to OBJ's. However, I'm getting this error:OBJ Writer: Unknown geometry type 'IFMENull' is not supported, the feature will not be writtenI tried using a 'geometry filter' to get rid of all null values, but that didn't work either.
Hi all,Today I stumbled upon an issue with the ChartGenerator. I'm using it to create histograms of data from 17 data sets. I'm using a workspace runner to batch process and create the histograms with the ChartGenerator transformer, but writing the output to file using fme_basename is not possible. Can anyone guide me to a solution where the 17 generated histograms are written to unique png-files?
I have a esri geodatabase that I'm trying to translate to a "Mapinfo" table. It is successful if I limit the max features to a million records, but the geodatabase is 2 million records and I keep getting the following error (see image). I'm running FME on a Windows Server 2008 machine. It has 2 XEON (E5-2670 v2) processors and has 10GB of RAM installed.I've set the temp folders to the Secondary "D" drive. Not sure why this is happening, as this wasn't an issue when I was running FME 2013. Since upgrading to FME 2018 this has become an issue.
Whenever I try to import data using an Odata reader, I get the following error: A potentially dangerous Request.Path value was detected from the client (:).Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. This is the link ( https://opendata.cbs.nl/ODataFeed/odata/81573NED )I'm able to specify the right tables in the parameters, so there is nothing wrong with the URL. It also works when i try this link in other software as Excel.Does it have something to do with the fact that is an 'https' url instead of 'http'? Because this URL works http://services.odata.org/Odata/Odata.svcAnybody have any experience with this? Or has any ideas? Thanks in Advance!Niels
Hi I have a point and line fc. I am using NeighborFinder to find nearest line from point. However when I compare the result with Near tool in ArcGIS, the nearest line obtained differs. I can see both lines are adjacent. Any idea?
Bonjourje cherche a créer un spline a partir d'une série de pointsuivant l'exemple ci dessous (je cherche a créer la ligne verte)qui doit passer par les pointsj'ai bien essayé avec un Generalizer mais les algorithmes génèrent des lignes qui ne passent par les points(ou je n'ai pas les bons paramètres ?)je voudrais essayer avec des fonction Python et un PythonCalleravec en entrée un tableau des 6 points et en sortie en semi de points représentant ce SplineMais je ne connais pas suffisamment l’interpréteur Python Callerje suis preneur d'idées et d'exemples Merci a tous!
I would like to create a grid file from the corresponding DTM / DSM tiles with the height difference stored in the cells. DSM 1 km tiles are supplied in 2 metre resolution (500 by 500) while the DTM 1 km tiles are provided in only 5 metre resolution (200 by 200). To get the grids to have the same number of rows and columns (so the height difference can be generate in the RasterCellValueCalculator), I first tried to use the Raster Resampler with the number of rows and columns set to 1000. However the interpolation methods produce unreliable results. Is there a transformer that will split the 2m / 5m cells into groups of 1 metre cells while keeping the same value? Also what is the best way of pairing the files so that a workbench can iterate through DTM / DSM tiles with matching file name in the source folders? For example processing DTM\\SO4043.jpg and DSM\\SO4043.jpg together and then all the other matching pairs?Each output would be fme_basename.tifNote I was planning to use t