Using transformers to modify data.
Recently active
I am interested in generalize a polygon following these criteria: max area (areaforcer), max number of vertex and max width allowed (for example a river with maximum width of 3 m and 200 vertex). How could I create this?
The Dashboard data is great for seeing patterns over a period of 30 days but if the period were extended it could provide other information too. For example, "how long has it been since a certain workspace has been used?" That would identify FME scripts that are no longer being used.It would be easy to build something that would store the daily data better than the current CSV files, for example, a SQLite database, and then build reports off of it. However, I'm wonder if Safe has something like this in the works already?
Hi,I created a red colored box with PDFStyler and PDFPageFormatter.Now I would like to center a text in front of this box.Any idea ? How FME computes text position ?
Hi,I am doing a analyse to find most low z-values in a buffer of 50 meter from a point. I started with this steps:- buffer points, - Clip raster file on buffer area's- Use RasterCellCoercer to extract point value's only in this buffered area for efficiency- PointonAreaoverlayer, use buffers and points to merge attributes.But now I get stuck, these buffers have an overlap with each other. So some points only get the ID from one bufferid, not from both buffers with an intersect.(Arcgis 'Intersect' does it the way I like to see with all points tested on all intersecting buffers) Goal: I want to find the 10 lowest Z-values in each area(buffers from a point with main ID) Who can help me to achieve this goal?Thanks a lot!
Found no transformer or question on the Knowledge center so here is my simple question: Is there a possibility to realize something like a SolidOnSolidOverlayer that does an intersection of incoming solids and just outputs the intersecting parts of the solids? Just tried to do that with the CSGBuilder but I think this transformer just outputs the solid features which are completely within another solid.Also visualized my expected result in 2D (the red solid is the intersected solid I wanto to get):
I'm using the FTTPCaller to get a list of files from a sftp site. The attribute that gets returned has an inconsistent timestamp. Is there a way to return the full timestamp like Mar 09 2018 17:35:00 In the _file_contents attribute there is a list of files but the time stamps are not consistent eg. Mar 02 17:36 that has time but no year and Jan 26 2018 which has year but not time.-rwxr-xrwx 1 ftpadmin ftpadmin 74240 Mar 02 17:36 9192815.dgn -rwxr-xrwx 1 ftpadmin ftpadmin 65024 Mar 02 17:35 9192816.dgn -rwxr-xrwx 1 ftpadmin ftpadmin 294400 Jan 26 2018 9192817.dgn -rwxr-xrwx 1 ftpadmin ftpadmin 311296 Jan 15 2018 9192818.dgn -rwxr-xrwx 1 ftpadmin ftpadmin 359936 Dec 18 2017 9192819.dgn -rwxr-xrwx 1 ftpadmin ftpadmin 54272 Sep 18 2017 9192820.dgnThe parameters in the caller
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