Using transformers to modify data.
Recently active
Howdy,I have street light points that I need to match up with their nearest address based upon an address point file. However I need to make sure that the matching address is on the same side of the street. 1) Is there a way to have the neighbor finder tool recognize a street center line geometry as a barrier and exclude a potential neighbor if the candidate angle crosses over a street center line?2) If that can't be done then I'd love suggestions on how to do this most efficiently. Assuming the NeighborFinder can't evaluate a match based on a line barrier, the first process of achieving my goal that comes to mind for achieving this would be:run the NeighborFinder, then create a line between the street light point and the nearest neighbor address point (PointConnector),check to see if the new line crosses a street centerline (e.g. SpatialFilter),use the results to identify which light point to address point matches ought to be excluded/prevented;re-run the neighbor finder
HiI want to extract some values from an XML attribute, example content is in the attached file.The file doesn't display properly in my browser, download it and use an editor to inspect it.If I use https://www.freeformatter.com/xpath-tester.html with the following queries they work://gmd:title/gco:CharacterString/text()Text='Straßenbaulast'//gmd:organisationName/gco:CharacterString/text()Text='SAALKREIS//gmd:CI_RoleCode/@codeListValueAttribute='codeListValue=http://inspire.ec.europa.eu/codelist/RelatedPartyRoleValue/owner'XMLXQueryExtractor throws errors, e.g.for the first query:`fme_rejection_message' has value `The following error occurred near line 1, column 4 of the query: "gmd": can not expand namespace prefix to URI'Can someone give me some tips on how to handle the namespaces. I find the help a bit short on examples and the W3C resources impervious to reason.Thanks
So in my workspace I read in an Access mdb file in. Run it through two attributesplitters transformers to split the BlockNO and LotNo fields I the have an AttributeManager transformer setup where I try to clean up and conact the fields back together. I do this be creating 2 new attributes Block and Lot an using a condition statement to reassemble the pieces like this However I can't format the if correctly, every case false and goes to the Else statement producing this type of outputThe "." with no value after it is what I am trying to avoid. Any help would be appreciated. Chris M
Hi FME'ersI've got a speaking slot at an upcoming GIS conference. I do have a number of ideas of what to present, but thought I'd throw it out for suggestions. It's a 20-minute slot and not everyone will be existing FME'ers. It's tagged as a "workshop" slot, but I think it's fairly flexible.I was thinking maybe presenting around an existing blog post:FME Server AutomationsNatural Language Processing With FME A Beginner's Guide to Database Updates with FMEThe Geography of Football Stadiums (as an example of data wrangling/integration with FME)Or I could do a basic Intro to FME workshop, or something with our Data Express app and Server.So, does anyone here have a preference or any other suggestion? I'd like to know what you might want to hear about, or what you would consider presenting in my position; but it has to be something to attract non-FME people if possible.Please feel free to discuss and let me what you think below.ThanksMark
Bonjour. je travaille sur une schematisation. J ai des surfaces qui se superposent. Comment faire pour les surfaces soient au minimum distantes de X metres. ?merci d'avance Hello. I'm working on a workflow. I have overlapping surfaces. How to make surfaces at least at least X meters apart?Hello. I'm working on a workflow. I have overlapping surfaces. How to make the surfaces at least distant from X meters. ? thank you in advance
Does anyone know which attribute (s) you have to work with if you want to be able to get to standing(vertical) text in a dwg export? I have a workspace where I load text (regular text in plan) from a autocad dwg. I want to rotate the text 90 degrees around the x-axis so that it becomes upright (this so that it can be better consumed in eg Navisworks) I have tried with 3D rotator which usually works but it does not seem to work for Text objects.My workaround is the moment to use a Textstroker and then to rotate the polygon objects it creates. The polygon objects rotate just fine with the 3D rotator. However, I would like to have the vertical text as text objects rather than polygons. I know that FME can handle vertical text objects because i tried importing a file with vertical text and export it to a new dwg, the text i still standing. There must be a way:)
I would love to hear from anyone that has some experience in validating data in AutoCAD viewports / paperspace.I have managed to create a workspace that validates the data in model space but where there is additional data in paperspace and viewports is proving a little trickier.If you have some examples or strategies that would be great.ThanksDean
Hello,I have two columns Category and Class already filled. I would like to compare and see if the class entered is in the right category.Example :Category = 10 / Class = 20, 40, 60Category = 11 / Class = 20, 21, 22, 23, 24Category = 12 / Class = 23, 25, 27, 29, 31 Category Class RESULT 10 20 True 10 22 False 11 23 True 12 23 True 10 29 False 12 31 True 10 60 True Thank you very much in advance for your help.Best Regards
My workflow is simple. I use shp files generated from Land Cover metadata to clip the ERDAS Imagine file and convert it to polygons. Each shapefile contains a polygon as a clipper. As instructed by the forum discussion,1) In Workspace1, I set the workflow options as "Single Merged Feature Type" and I chose one of the shape files in my sample data folder (which contains three sample shp files).The output file is named based on the input shapefile name.2) In Workspace2 - Path Reader setting, I set the dataset folder to sample folder and only read in shp files.3) In Workspace2 WorkspaceRunner setting, pointed the FME Workspace to Workspace1 - tile2polygon.fmwset the shapefile to path_windowsset the erdas img file to the corresponding img fileset the destination folder to an empty folder I run the workspace runner without any issue reported and as I checked the destination folder, there are three files with name corresponding to the input shapefile. However, all three shape file
Hello,I want to extract polygons from a raster by using "RasterToPolygonCoercer" but the result doesn't look very promising and I am lost for ideas.I would be happy for any hint to solve my problem.Thanks :)Input:...and output:
I have field COST like below SN.sFruitCOSTQuantity1Apple20per Peace2Banana3per Peace3Orange8per Peace4Mango50Per KG5Cherry250Per KG6Papaya40Per KG7Graps80Per KG8Dragon200Per KG9Kiwi30per Peace10CustedApple60Per KG11Fine Apple40per Peace12Green Apple25per Peace And i have to read MAX value in Cost field
I need to re project from the Standard Namibian projection to WGS84. THis is a South-Up projection. Now I get this message. Where can I change this setting? Coordinate System `Lo22-15' parameters: CS_NAME=`Lo22-15' DESC_NM=`Namibia Lo22-15' DT_NAME=`Schwarzk' GROUP=`Namibia' ORG_LAT=`-22' PARM1=`15' PROJ=`TM' QUAD=`1' SCL_RED=`1' SOURCE=`Dirk Tietens, GIZ-SLR MLR' UNIT=`GERMANMETER' X_OFF=`616.8' Y_OFF=`103.3'Loaded module 'GEOTIFF' from file 'C:\\Program Files\\FME\\plugins/gdal/GDAL.dll'FME API version of module 'GEOTIFF' matches current internal version (3.8 20190621)GEOTIFF reader: Directive '_READ_OFFSETS_IN_CS_UNITS' has the value 'No'GEOTIFF reader: Opening file 'C:\\Users\\erik.velzing\\Desktop\\Freedom Square 10cm Nov18.tif'GEOTIFF reader: File with negative value for ScaleY in GeoPixelScale tag. This is rather unusual. GDAL, contrary to the GeoTIFF specification, assumes th
Hello,I have six polyline features, where each node of the polyline has a measure(I used MeasureSetter earlier in the workbench)I want to create two new attributes "MIN" and "MAX" where;MIN = the measure value of the first node in the polylineMAX = the measure value of the last node in the polylineI think I need to use the MeasureExtractor to do this? But I cannot get it to workI tried Type: Individual Vertex by Index, with Index: 0 but the result was <missing>
Hi All,I have my data in the form given below. The data from 1507 to 2451 is a header and the three rows highlighted in green are one set of data and another set is appearing below it with differing values.Now i want to have the data in the format:where A to J are my columns names from the header (A-J may change in number like sometimes A-F or A-I or A-J as well). Value is coming from first row of the set of data and text from the third row of the set of data.Sometimes the data may be missing also. e.g the second row may be missing and only two rows are there. so for that value we have to write nothing in the main table (shown above)I have attached the excel file for reference Kindly help.
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.