Using transformers to modify data.
Recently active
We are attempting to create aerial data. Using FME Desktop 2014, is it possible to convert multiple TIFF files into a single ECW file?
Hi Community In ArcGIS i create lines and points and for each project i need to create Area's that contain a (almost) fixed amount of features inside the area. The Boundary of the Areas that are generated should not intersect any other features. For example i have a total of 33 features and i want to make area's (zones) that that have about 10 features inside and 0 features that are not fully within. Below i show a rough example of my data and another example of my goal.keep in mind that i do not know before hand how many features are going to be processed. it can be up to 50k or just a few hundred. but i always want groups of about 10 features.The shape of the area's boundary should be as generalized as possible (no complex shapes) as this might happen when you try to force a fixed amount of features inside.How would you aproach this problem? I have tried it myself several times and i always get stuck somewhere down the road. I need some advice or inspiration to start over
hello,i have 3 buildings i made from faces and i want to use the testfilter to check if the fme_vertex_normal_z property has a value of 1 and then make that a roof and if it's not 1 make it a wall these are the features this is the the testfilter
I try to install, among others, the keras modules for use in the PythonCallers etc...I installed them doing$ sudo /opt/fme-engine-2019/fme python -m pip install --target=/opt/fmeserver/resources/engine/Plugins/Python keras keras_metrics tensorflow scipyand reorder the sys.path so all stuff in this Plugins directory comes before all other python modules. This normally works to override versions of packages and such.When doingimport kerasthe engine running the workspace terminates instantly.Now when I do$ /opt/fme-engine-2019/fme python>> import kerasI get a very long summary of the HDF5 configuration from which I pasted the interesting bits below...Strangely I do not have the libhdf5-100 package installed on my system, and installing this (version 1.10) does not solve the problem.Any idea's how to go about this? No wonder the engine craches when a python-command results in an enormous amount of text being spewed out to STD-OUT.Warning! ***HDF5 library version mismatched error***Th
Hello, I am relatively new to FME and try to extract a certain file from a downloaded ZIP file. From this particular file, all I know is that it contains a particular string. I realize that you could do all this by hand, but I would like to automate the workflow because it is quite common. One possibility would be to unzip this file with a system caller, but then I am overwhelmed how to proceed without adding a new reader to the Workbench.
Hello All,I have found a few great posts that helped me get the order of vertices in a polygon but am trying to work out the how to get the start and end coordinates in correct order.My workflow is as follows:1. Read in polygon features2. Use Chopper and counter to break into points and attribute.3. Use Chopper and counter to break into lines4. Use PointOnLineOverlayer to get the start and end coordinated.5. Attribute lines with Start and End point ids. What I am finding is that the start end end points are correct but the order in the line table is not.In the example below, I have a triangular parcel where it goes from point 81736 to 81735 to 81750, so I hoping to get something like1 - 81750 to 817352 - 81735 to 817363 - 81736 to 81750but am getting the following Any assistance would be greatly appreciated. Here is the workspace that I am working on
Under the geographic transformation HK1980 to WGS84 , so do the FME make the automatic transformation using the transformation parameters if they have already been in the default gallery?
Hi, I have to add an image in a table. Which trasnformers that I have to use to insert image from a raster into a table? Someone can help me ?
Hi!I'm looking to create some 3d parallel offsets of existing 3D polylines. My end goal is to actually create a polygon a certain width around a polyline but it must retain the 3d elevations. I've looked into the following tools: Offsetter, OffsetCurveGenerator, Buffer and 3DBufferer. All of these are close however don't quite get me there. The buffer is perfect however is only 2D. I do not know how to then restore the elevations so that it retains its 'parallel figure'. Note that the vertices of the 3D polys have different values, they are not all the same value, ie goes up and down.Any suggestions?Buffer result:Buffer result 3D view:
Hello, I have a set of points with x, y and z coordinates. I would like to create a buffer around those points and then use that buffer to clip a point cloud data.How should I proceed? I tried to swap the Y and z coordinates and then perform a two dimension clip operation but it doesn't give anything.
Hello,I would like to create random points within polygons based on a pre-defined stratification and number of plots field. For example, within the LBS-1-Old strata, 53 random points are needed; however, only one point per polygon is required. Additionally, all points need to be separated by at least 200m. Ideally, the points would also be 200m from the edge of the polygon as well. The ArcGIS 'Create Random Points' tool can create these points based on the NUM_PLOTS field and separate them by at least 200m; however, multiple plots per polygon are possible and ensuring points are farther than 200m from the edges is not. I was wondering if a FME workflow could address all requirements. Thanks.
I have a simple FME Workspace which runs perfectly. However, creating then running the associated TCL file (via .BAT file) is for some reason adding the source-directory parent-folder to the destination directory. This does not happen when running the .fmw alone. FMW Example: Reader Source - "C:/Temp/SourceData/" ; Writer Destination - "C:/Temp/OutputData/" ; Run TCL - adds "SourceData/", thus saving writer results to "C:/Temp/OutputData/SourceData/". Note: the TCL runs successfully, however the results are being written into this subfolder. I can only guess that the TCL file is including code which adds the parent folder...? (The workspace is not doing this.) Any ideas? Thank you!
I am using Kafka connector in my FME job to consume data from Kafka topic. On this job uses this particular consumer group. In case of restart scenario, I want to run the job configuring kafka connector to read from a specific topic. While I do that I need to mention partition number in Kafka connector. My topic has multiple partitions. So how would I tell Kafka connector that it should consider all partitions for restart.
Hi, I am trying to run an SQLExecutor transformer with the following SQL:FME_SQL_DELIMITER ;UPDATE "PROJECTS"SET "TBL_REFRESHDATE" = '16-JAN-2020', "TBL_REFRESHUSER" = @Value(REFRESHUSER);COMMIT;When I run this I get the following error message|ERROR |An error occurred while accessing a table result for feature type `'; message was `Execution of statement `UPDATE "PROJECTS" SET "TBL_REFRESHDATE" = '16-JAN-2020', "TBL_REFRESHUSER" = TEST' did not succeed; error was `ORA-00904: "TEST": invalid identifier'. Where TEST is the value which is currently in the TBL_REFRESHUSER column in the table, not the value which I am trying to populate the column with (ie: 'test_user').However, when I run the following SQL, replacing @Value(REFRESHUSER) with a hard coded string of 'test_user', the script works:FME_SQL_DELIMITER ;UPDATE "PROJECTS"SET "TBL_REFRESHDATE" = '16-JAN-2020', "TBL_REFRESHUSER" = 'test_user';COMMIT;What do I need to do to get the attribute values to be read properly i
I have a workbench that creates an ECW wind heat map from a TIFF file. I have now created another image (png, JPEG or BMP) as a legend that I want to place on top of the ECW heat map, at a specific location. I was unable to find a way to do this, but may be missing an easy way to do this? Two steps are required.1. Place the legend image on top of the ECW heat map.2. Place it at a specific position and at a specific size before finalising the ECW image. Any help on how to do this would be much appreciated.
I have a FME-script with several Python callers. To avoid duplicate code in the callers I want to write a general python class that I can instantiate in the callers. In short I want to be able to access object methods to set specific object variables. Finally I want to call a main-method on the class to do the real work. Where should the Class be placed? In the startup script? In another caller or elsewhere?
Is it possible to get label without point? My final format is .kml Thanks
polygon overlaping
Hi, how do I keep adding records (In red) until I hit 2025 - 12 - 12?Thanks in advance!
I am trying to extract text from a table in a PDF image using the TesseractCaller. But only part of the table values are being returned. The text for the document is the same font and size and the contrast is the same for the entire document. Does anyone have any hints or tricks to get tesseract to return the complete table?
Hi All, We are trying to transpose some data and have run into a little issueWhen we go to aggregate the data back, we get almost the correct data but we are aggregating by time so we get hourly data in columns broken down by hour in the following require format: Times Mon 01/01Tue 02/01Mon 08/0101:00-02:0043302:00-03:00333 The data is coming out exactly how we want however if we have duplicate days and we are using a group by on aggregation by time, it is missing where we have duplicate days like the above two Mondays in the concatenation on _attr_value as we cannot separate the times on the two Mondays.We just end up with 5 comma separated values instead of 6 in the concatenation.We followed this guide to transpose our row data to column data - https://knowledge.safe.com/articles/31701/transpose-a-table-using-fme.htmlAny ideas would be appreciatedCurrent example input_attr_value time uid98 22:00-23:00 17A95 23:00-24:00 17A94 05:00-06:00 17A92 23:00-24:00
HelloI have point layer and related table in ESRI SQL data base. I need to bring it into FME to do some calculations and reporting.But once i bring both of them in FME feature Merger is not working for me. I am using ESRI GlobalID field. I am not sure if that is causing any issues? I don't have any other unique id in both tables. Please let me know if anybody used global id for feature merger or feature joiner? Or any other ideas?any help is welcome!ThanksNikki
Hi FMEers~ Curious around FME's capability of enabling image classification with trained samples, just like the way that ArcGIS/Erdas Imagine do. Having discussed with the Safe technical professional, there is no such transformer developed (yet).Just wondering if any professional has come across a great workaround of doing it in FME. CheersDavid
HiI am a GIS Manager working in a police force in the UK. Our crime analysts use ArcMap and use the "directional distribution" spatial statistics tool (toolbox) to look at directional distribution of crime.see link: http://desktop.arcgis.com/en/arcmap/10.3/tools/spatial-statistics-toolbox/directional-distribution.htm We would like to create those as an output of a workflow which would be automated on a large scale and on a regular basis - however i can't find anything about that kind of spatial statistics tool in FME on the web.At the moment we have an alternative using HullAccumulator to create a area shape from key locations eliminating outliers... but we would like something a little bit more ellispoidal.Apologies but i can not send sample data etc. as senstitive information. Just wanted to know if any of you had some ideas on what is the equivalent FME transformer.THANK YOU ALL.
Hi everyone, the following screenshot is my custom Python Interpreter:This command is what I used to use to install external packages for Python 2.7: python -m pip install <package_name> --target C:\\Users\\tngo\\Documents\\FME\\Plugins\\Python But it doesn't seem to work anymore. I also get this error when running PythonCaller: The User-specified library C:\\Users\\tngo\\AppData\\Local\\Programs\\Python\\Python37-32\\python37.dll could not be loaded Thanks for helping in advance.