Using transformers to modify data.
Recently active
I have 5 polygon featureclass and 1 point featureclass. I would like to create a point featureclass that contains certain attributes from each of the polygon featureclass. How would I go about doing this.Thank you in advance.
I have database and web service connections set up in FME Options - where are these connections stored on a Debian or Ubuntu system?
Hello,I am new to FME but not to GIS. I am following the basic tutorials. When I use the filter features in the Data Viewer the results are not showing. I believe I have followed all steps per instruction. I am using FME 2018 desktop with Windows-7 on VMware Fusion.Jim
Hy GuysI need to identify and remove dangle geo of a netw To be clear I need to remove all blue geo in the bmp attached.I tried some workaround with coordinates but no successFrancesco
I am trying to create xml files for metadata with the filename of a gdb forming part of the xml output filename. The fanout expressions are: @Value(gdb_name)_gdb_metadata.xml@Value(gdb_name)_lidar_metadata.xml@Value(gdb_name)_imagery_metadata.xmlHowever, this creates two xml files per output, one empty but with the correct filename, and one without the @Value(gdb_name) but with the correct content. I have tried to feed in the @Value(gdb_name) earlier on in the process but this does not work.
if the output of a workflow is to truncate and update a table - is there anyway to ensure all work prior to the update is complete? sort of a checkpoint that all is ready to update?
I am draping orthophotos on existing terrain using the shared item adder. I find that the resolution of the image is not kept on the resulting geometry with appeareance.Attached is an example, where you see the orginal image under the draped geometry. Any idea how I can get a better result? Original ortho in the middle with result on each side.I also wonder if anyone knows what would be the smartest way to add appearance to a geometry while keeping size as small as possible? @DaveAtSafe what do you think?
Hi,Quick question: I have a attribute containing a larger xml file. I need the text of one element as a new attribute. It's two levels deep. I tried messing around with the flattner but I can't get it to work. Within the root, it looks like this: <BG:gelijk StUF:entiteittype="NPS"> <BG:inp.bsn>*VALUE I NEED*</BG:inp.bsn> </BG:gelijk>Can someone help me out? Thanks!
Hello, I have multiple ECW files and I want to make one raster made of all those images. Those imagery that I have are 16-bit and 4 band. I would need my result to be in 3 band and 8-bit and I would like to write it in BigTIFF format. I am not currently doing this project, I will need to finish this in few days and I was wondering if it is possible in FME. I found this article and this one and I am not sure how to finish all these things in FME and if it is even possible. Thank you all in advance for every kind of help.
I've been working with the python raster api, and I understand that the tiles are a way of chunking the raster, and intelligent tile management can have significant impact on performance.What I'm struggling with is reading in existing data. The raster data can only be accessed per tile. Since the FMETile is an abstract class, it can't be created directly, and each interpretation type had a different call for creating the tile. So while I can get the interpretation of a given raster band byraster = feature.getGeometry()band= raster.getBand(0) bandProperties = band.getProperties()interpretation = bandProperties.getInterpretation()I can't use that interpretation variable directly in creating a tile.The only way I can see to access the data itself is to have write a separate create tile method that is essentially a switch statement def createTile(self, interpretation, numRows, numCols): if interpretation == fmeobjects.FME_INTERPRETATION_GRAY8: return fmeobjects.FMEGray8Tile
Using quite a simple polygon in Geometry Replacer, this transformer fails to convert to skeleton centerline. In this question example we isolated only 1 polygon that makes the centerline replacer to crash as an example; it’s something we have observed over time with different datasets, etc.. The question is - why does centerline replacer using skeleton option fails even if this geometry from shapefile seems rather simple? Tested FME 2014 SP and FME 2015 SP1. The centerline replacer failure using skeleton option was there in previous versions also. In the example we are sending, we identified 1 coordinate that seems to be offending the polygon and causing this crash. We isolate this coordinate, and by moving it very little, the centerline skeleton already works, still, it was not a coordinate that was near or on top of another etc. Attached you will find the polygon (1 polygon only) and the WS with some tests. Assumptions: -We do know that using generalizer help
I am trying to find an walkthrough or tutorial on using the PointCloudSurfaceBuilder. Can anyone point me to a resource that shows me how to correctly use this facility?Many thanks!Edward
I have a text file that contains attribute information and coordinates of points representing polygon vertices. Here is a simplified example of the data set up:attributes: Name="Bob" Number="1"x="634522.22", "y=834343.22"x="634522.23", "y=834344.22"x="634522.24", "y=834345.22"x="634522.25", "y=834346.22"attributes: Name="Steve" Number="2"x="634522.26", y="834347.22"x="634522.27", y="834348.22"x="634522.28", y="834349.22" x="634522.29", y="834350.22"x="634522.30", y="834351.22"(repeats for a few hundred entries)I want to make individual polygons (for use in Arc) with each set of coordinates and attach the attributes. Is FME capable of this (i tried all day without success) or should I be working on a python solution?Thanks!
I have an xml with my metadata profile and another xml which matches my profile and have data but not all metadata elements are present.I need to get my metadata profile filled with the metadata information in my second xml.This is what I've done so far:I have 2 XML readers each pointing to each xml and with "Elements to match" parameter set to MD_Metadata (the parent tag). I've set my profile xml into the Document port of an XMLUpdater transformer and my second xml into it's Update port but I don't know what to do next. What should I set in the Updates section?EDIT: I'll try to expand my question a bit more.On the left you see a very simplified version of my metadata structure (my master XML), and on the right you have the xml I want to obtain completing my profile with the data I actually have (center xml code).As you can see there may be repeated xpaths, which make it a little more tricky, at least for me.The XMLUpdater transformer seems the way t
Hi,I'm trying to send an email with an attachment where the attachment comes from a shared resource.$(FME_SHAREDRESOURCE_DATAADA)/Rapporttoattach.xlsxI'm using this workflowI receive the email but without the attachment. The shared resource does exist. Any ideas on how to troubleshoot why the attachment doesn't arrive?Thanks,Annette
Hi,I am trying to insert a record into a table when the workspace starts and before any features are read to indicate the job has started. I couldn't get it to work without using a workspace runner workaround and I'm wondering if anyone could spot why.SQL statement to insert:INSERT INTO DM_GEO.NG148B_PROCES_LOG (WORKBECH_ID, RUN_STATUS, WORKBENCH_NAME) VALUES ($(WORKBENCH_ID), 1, 'Clipper_Perf_POC')Attempt 1: SQLCreator added to workspace. Record is still inserted after all the records are read and processed.Attempt 2: Use SQL Statement to Execute Before Translation - this doesn't work as the SQL statement is executed before the first feature hits the writer and it seems after the records are read.Attempt 3: Sample one of the features from the first reader and use a SQLExecutor. Record is also inserted after all records are read and processed.I've read about how multiple SQLExecutors and Creators can be ordered but this doesn't help here.Any thoughts woul
I'm very new with FME and there's a few things I cannot get to work.I have a feature with an URL as an attribute and it's like this: http://serverName//document?searchText="section3"&start;=1&max;=1&f;=pjsonI want to read the JSON in it with it's attributes (which I don't know) separated to do something with them.I've been playing with some JSON transformers like JSONFlattener and so on, but I can't get the JSON.Any idea?
I want to read 3D geometry definitions from a new file format not supported by FME line by line, and create 3D AutoCAD geometry. For example, I have geometry definitions for cone, base center, point coordinate, etc. Is there an example of how to read the file and pass the input to the DWG writer?
Hi, I have an area featureclass without gaps or overlaps. I use the Generalzer within FME 2018 Desktop Beta to change the scale. To "preserve the Shared Boundarys" this Parameter ist set to "yes". However some areas are split in two parts by the Generalizer as documented in the attached screenshots. I do not want to alter the count of the areas. I tried other algorithms and parameter settings. Same outcome. Any ideas? Thanks Herfried
Im trying to extract geo-coordinate information from a BIM model, with the intention to plan a drone path using these coordinates. Can safe FME help with this, if yes then can you tell me how. Thanks.
I'm trying to process MODIS data that is provided in the Sinusoidal projection. The World Sinusoidal projection that is provided in FME Workbench doesn't seem to be the same, and I can't figure out how to set it for this data. I don't want to use GDAL to do it manually as there are quite a few hdf files.After scouring the internet, there is a reference to the following proj4 string on StackExchange:"+proj=sinu +R=6371007.181 +nadgrids=@null +wktext"However, I'm unsure how to utilize this in FME. Is there any way to use a proj4 definition in FME Workbench?
Hi all, FME amateur here! I'm trying to increase the performance of my model. The performance is vastly improved when I use the Group By setting and Parallel Processing in my SpatialRelator. The SpatialRelator is followed by an Attribute Creator which uses a conditional query (combination the number of related_candiates and dataset name) to set a value. Without the Group By and Parallel Processing FME will correctly tell me the number of related features in the related_candidates field. However when I put the Group By setting on - every value in the related_candidates field is 0. Does anyone how to fix this?Ta
Is there a way to create a table of attributes from a geotiff? I would like to create a table of pixel values where each pixel has an associated elevation. Elevations can be negative or positive and are from LIDAR. The table can be a .txt file. Zonal Spatial statistics with ESRI can create a table of attributes but the geotiff cannot have float values. The elevations for my geotiff range from about -10.00001 to 24.00001 so these valuse will not work with spatial analyst. I would also like to create statistics for specific elevation classes. any advice welcomethanks
I am trying to add a custom transformation using a NTv2 grid shift file.I have defined this .fme file in \\Documents\\FME\\CoordinateSystems\\ :XFORM_DEF Stereo70_to_ETRS89_NTV2 \\ SRC_DTM PULKOVO42/58 \\ TRG_DTM WGS84 \\ DESC_NM "Stereo 70 to ETRS89 using grid shift file generated from TransDatRo grid" \\ GROUP Romania \\ INVERSE Yes \\ METHOD GRID_INTERP \\ GRID_FILE NTv2, fwd, .\\GridData\\Romania\\stereo70_etrs89A.gsbNow FME wont start. I get the error mesage: Xform 'Stereo70_to_ETRS89_NTV2' contains invalid GRID_FILE value of 'NTv2,'