Using transformers to modify data.
Recently active
While reading data from Smallworld, FME translation is terminated abruptly by throwing error "Error running translation." in the translation log. Generally if there is any issue with source, data then FME writes an error, skips the record and move forward. But here in this case after the error translation is stopped with error message. If the data come out of reader, we would be able to handle it by some logic. However, in this case data is not coming out of reader. Are there any settings in FME such that we ignore such records and move forward? I have already tried setting Continue translation in Rejected Features handling. It dis not work. Any ideas on this are highly appreciated. Kindly help .. Thank youSiva Bulusu
Hi all,Just taking my first steps with FME. I am using the FTPCaller to download two .zip files that are provided on a weekly basis. When I specify an existing folder everything works fine. However, I'd actually like to download the .zips to a folder whose name is actually the date on which the download took place. However, when I try and incorporate this into the FTPCaller's 'Target File' path (e.g. C:\\Downloads\\@DateTimeFormat(@DateTimeNow(),%Y_%m_%d)\\@filename) the translation fails as the file is unable to be written.If the FTPCaller is unable to create a destination folder on the fly, how would I go about creating the folder?Any suggestions appreciated!Thanks!!
Hello, Could someone provide some information on how i would go about breaking apart a polygon based on the number of vertices the polygon has. It has to be similar to the ST_Subdivide postgis function. This function breaks the polygon into smaller polygons at right angles. @Takashi Iijima @davidmelanconasters
Hi Team, I have a large map which has a route on it, I have buffered the section to widen the path and would like to know how to snip the map section out. Also how to adjust wider or smaller on the buffered route.
Which i then replace with regexp.How can i have it just yield following result? "amount" : 10000 I'd like to have it solved inthe Templater rather then resorting to regexp clean-up. Tx in advance to all.
I'm doing a change detection on a date field from 2 sources. One source always includes time even if they are "000000". The other source appears to be strip those 0's. How can I add the hours minutes seconds to the records that are missing them? Do I need to filter for the records missing time values before adding the 0's. I will attach an image with the "J_NotifyDate" column missing time if they are 0's
Hi, I thought this would be easy but it's starting to look like it's not even possible. For each feature, I want to copy the contents of a list attribute from the previous adjacent feature (-1). It is possible to create a new attribute and copy an adjacent attribute this way, but since you cannot just create a "list" attribute in the AttributeManager, this doesn't seem possible. Is there a way to achieve this? I have also looked at the ListCopier, but it cannot access adjacent features since that functionality is only available in the AttributeManager. Is it possible to access adjacent features via Python? If that were possible, maybe Python could provide a solution to this problem. Thanks.
Hello,I am using Dissolver to remove common boundaries and create larger areas based by an attribute.Next step was to calculate the areas of areas from which I created the large ones - DONE (Accumulation -> Attributes to sum).Now I would like to create a list of some attributes from small areas and put them in another attribute separated by comma ( ex: name, id of old small area).Can we do this in Dissolver? Thanks!Nicu
Hi! I'm trying to connect points to each other using lines. The points are in two seperate postGIS datasets, but have an ID-value in common. So I would need help to join points based on a common field / attribute. Does anyone know how to do this? I have successfully done this in QGIS using the Hublines tool. https://docs.qgis.org/testing/en/docs/user_manual/processing_algs/qgis/vectoranalysis.html#qgishublines
Hello! I've been working on a project for a few weeks now and finally got a good enought network. Now I want to calculate the distance from every school to every adress point. This is to later create polygons from set distances. Is it possiable to do this in the same shortest path finder? I've been looking at list but can't figure out how to do it. Can anyone help me? I have attached my workbench and the data. Best regards Jesper
Hi there, I'm converting IFC to CityGML following the tutorial FME shared here: https://community.safe.com/s/article/bim-to-gis-intermediate-ifc-lod-300-to-lod-4-cityg. It is noticed that the representation of WallSurface is quite strange (red lines on the surface). May I know the reason and if there are any solution to make the wall surface shown as smooth surface like others? Thanks in advance!
I have an Edge line (like a polyline) and would look to trim some length in feet off the beginning of the line, with the rest of the line remaining intact as is. Is there a transformer that can do this?
I need to update a text file which contains the settings for an executable tool. It would be really useful if I could automate this in FME. The text file is saved in UTF-8 format and for example, lines two and three contain the variables for START_TIME and END_TIME: START_TIME=2005/01/01 00:00END_TIME=2007/12/31 23:59 How can FME be used to change the two dates, 2005/01/01 and 2007/12/31? Thank you, Rob
In a linked custom transformer, $(FME_MF_DIR) is resolved to the path of the folder of the installed custom transformer and not to the path of the workspace. My workspace is in C:\\workspacesbut $(FME_MF_DIR) is resolved to:\\\\filer25\\users\\uxxxxx\\FME\\TransformersI have to use a PythonCaller in the custom transformer to get the value resolved to the path of the workspace. In a PythonCaller, FME_MacroValues['FME_MF_DIR'] is resolved to the path of the workspace and not to the path of the linked custom transformer.Is this as designed, or is this a bug?
As far as I knew, the MRF2D transfomers that are offered by FME were only available with an extra cost. That detail was mentioned in the docs of those transfomers, but today I have seen that there is no longer a mention of an extra cost: https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Transformers/Transformers/mrf2dduplicateremover.htm The transfomers matrix doesn't mention that extra costa, either: https://www.safe.com/transformers/matrix/ Are those transfomers now available for everyone? If that is the case, do I need to download them from somewhere? They don't appear on the transfomer gallery of FME 2021.1.
I have a very large dataset that I usually split into 3+ pieces when I export to shapefile, then zip them up together. I'd like to use the shapefile writer to do both without setting feature thresholds (hi, FeatureCounter!) and using an external compression utility. However, when I leave the Split Dataset... checked and check the Create Compressed Shapefile option, all that's in the SHZ is the last portion of the split data set (FILENAME_3.shp, etc.). Can I use both? If so, what trick am I missing? Shapefile haterz to the back - it's sadly what The People want.
I'm trying to make the difference between two DEM in an overlap area. Already how do I create the overlap area of the two DEM (raster) in FME. And how do I calculate the difference in pixel value height between raster 1 and raster 2? thanks you!
Hi FME users, I am looiking for good geometry examples of any corrupted or errors that can / cannot be cleaned with the Geometry validator 2013. I found the following list: https://support.safe.com/hc/en-us/articles/25407709561741-Invalid-OGC-Geometry-Examples which is a perfect start but i would like to be able to hilghlight the following issues at least: http://docs.safe.com/fme/html/FME_Transformers/Content/Transformers/geometryvalidator_issues.htm Does anyone has a complete collection of geometry sample errors? Thank you. JP.
Hi, I have 2 sets of features (terrain and buildings) that derives from Sketchup source file in coord WGS84 and are read via FeatureReader in to the workspace. When I combine the two features via FeatureHolder and look at visual 2D preview they both have the correct geo-location, . But if I switch over to visual 3D preview the building features seem to get an offset? If I add a Reprojector transformer (having the source coord read from feature WGS84, and destination coord to SweRef 99-18-00) they both line up in both 2D and 3D preview. Any ideas why this is happening? Please see attached image. Thanks.
Hello, I am trying to extrude a set of building footprint layer. The building footprint layer is in a 2D shapefile format. Since the dataset doesn't have building height and base height attributes I tried to extract the elevation and building height from point cloud data using Surface draper. I attached the workaround here: I run the Extruder transformer, but the 3D visualization of the building does not represent how a solid 3D building should look like. The top of the building is not flat and when I click on a feature there are lines inside the building model (seems like it generated multiple edges??). How could I generate a building model that looks somewhat like the Lod1solid building model? What are the correct steps?
I'm trying to extract building footprints from GEOTIFF raster images. I have raster Orthophotos (Aerial imagery), Digital Terrain Model (DTM/DEM) and a Digital Surface model (DSM), but I do not have the building footprints. My end goal is to use the DEM + DSM to extract the height of the buildings and extrude the building footprint to 3D models. I found this article: https://smartcarto.com/gis/detect-buildings-in-satellite-imagery-using-machine-learning-fme-vs-arcgis-pro/, but it doesn't really go into detail, and since I also have DEM and DSM, not just orthophotos I thought I migh thave other possibilties. I've extracted building footprints from Point Cloud date before, but this time I only have acess to Rasters. Is this possible in FME? Is there any tutorials? Thanks in advance.
I have a shapefile that just contains a couple of attributes. Its attribute values need to be mapped to a GML that needs to be of a structure provided by a XSD file. The XSD asks for more attributes than the shapefile provided, but I want the GML still to contain all the attributes, despite that a lot of values are not provided by the shapefile. Which steps do I need to take to convert the shapefile in to this XSD-conform GML?
Hello, I want to create a raster for each different source_point_id (number of flighline) in a single las file.Do you know how to extract the source point id from the las file in order to generate a raster on the points of the chosen source_id point? thanks you for your help!
I have over 10 list attributes that I need to explode. Setting-up 10 ListExploder in a row seems tedious. Is there another way ?