Using transformers to modify data.
Recently active
Currently I use python to launch FME workspaces and return error with subprocess (below). Is it possible to also return count of the features written?CommandLine = 'FME ' +ScriptName +' -LOG_FILENAME ' +FME_LOG try: retcode = subprocess.call(CommandLine) if retcode == 0: logger.info(' Complete on SABOGISP01 @@@ ')
Hi FME'ers,I am trying to update values in an XML documents but these values are conditional. For example: IF <MethodCode> like 'FF%' THEN <MethodCode> = 'PM' andIF <MethodCode> = 'FF12' AND '<ItemDesc> = 'Basket' THEN <ItemDesc> = 'Wicker Basket'. ELSEIF <MethodCode> = 'FF10' AND '<ItemDesc> = 'Basket' THEN <ItemDesc> = 'Laundry Basket'I think XQUERY will solve my issue but I don't have time to learn a new query language. Many thanks,David
I have a set of contourcurves that I want to use in order to create a printed model. In the printed model each curve should be represented by a plate, see example below. I have the contour curves as lines (with z-value) and some of them are connected at the ends with which I can create areas/polygons with the AreaBuilder transformer. Some lines however have loose ends, but I would still like to create the plate discs here. So I created a bounding box with the BoundingBoxAccumulator over the entire input dataset. My idea was then to use this box and the seperate lines (height curves) to create new areas that I then can extrude. Here is an image of my idea (orange area should also include red, blue include both orange and red): But here my knowledge in FME seems to end. Any idea how this problem could be addressed?
HelloI seem to be locked with a seemingly simple problem with reading ESRI FileGDB (Geodatabase)If I specify a Search Envelope the reader refuses to read non-spatial data.Non-spatial data are only read if no Search Envelope is defined.So how do I read spatial data with search envelope and all non-spatial data ?Do I need two readers ? If yes: How do I say read only non-spatial data ?There is an option: "Spatial data only", I don't see a "non-spatial data only" option ?!Thanks for any hintsMichael
Hi Fme team,After completion of fme script, i need to run sql query for the resultant destination table. So I am running sql thru end python script. And for this sql query I need one variable(fme published parameter or fme attribute)from jest ran fme script. is there any way i can get value from fme published parameter into end python. pls help.
Hi!I am kind of new to FME so this must be a simple issue to solve for anyone in here.I have a xls-file with zip codes, 5 characters together. I want to add a blank space between the third and the fourth character. I just can´t find a simple way to do it with my limited knowledge...Thanks, Tobias
Hi there,I need to generate some raster images based on shape file data, but I'm having issues with creating a bounding box for my edges that is always square.Here's an example of some of my data:When I use the BoundingBoxAccumulator, it gives me a rectangular polygon, which is entirely expected as the above geometry frame is much higher than it is wide.Ideally, I'd like my bounding box to use the biggest one of the two for both the height and width, so that the polygon is still based on the size of the Geometry, but always perfectly square.Any suggestions on how I might achieve that?Thanks,
I have a series of polygon feature classes all in the same geodatabase. I want each feature class to do a 'area on area overlay' with land parcel polygons and create a file for each overlay. I have tried creating a custom transformer with a loop but I couldnt get it to work. Really not sure how to go about doing this.I dont want to have to pass each feature class to its own 'area on area overlay' transformer. Any help to find a better way of doing this would be appreciated.
Hi,Previously when passing attributes names 'today', '1 week ago' etc ot the dateformatter it could work out the date. This is now failing.Have I missed something?Thanks
See FME 2018 New features, I can't find the 11th feature in my current FME 2018.0.1.0. Did the official version cancel this feature or did I not find it?
Hello, I am having some problems with reprojection between two coordinate systems. My data in some local coordinate system that is similar to MGI based EPSG:31276(same projection but different datum) and I want to reproject it to EPSG:32634(I have even made new coordinate system using https://demos-safe-software.fmecloud.com/fmedatastreaming/Coordsys/Start.fmw?). I have transformation parameters but I don't know how to edit existing transformation files. I could really use some help if it is possible. Important things: I have tried Reprojector,csmapreprojector but they are not giving me good result. I don't have ArcGIS installed so I am not able to use ESRI Reprojector.
I have 2000+ 1x1km TIF DEMs which need to be subtracted from the same amount of 1x1km TIF DOMs. The result should be 2000+ normalised TIFs containing the heights above Ground.Which method could I use to iterate through each DOM and subtract the correct DEM? I am unsure about how to match the correct DOMs and DEMs.
I currently use the predifined dashboard workspaces for FME server. They all show a period of one month. Is there an easy way to change this to lets say 3 or 6 months?
I have a script that will move points (ServicePoints) in an SDE database based on updated XY coordinates coming from a separate database source, on a daily basis. These points are not supposed to be snapped to any lines (Conductor features), though many are in reality. I'm looking for a graceful way of 'unsnapping' these point from their (possible) connected line endpoints prior to moving them.Using ArcGIS 10.1 (and ArcFM 10.1), FME 2012 SP4. Any help would be appreciated!
I am quite new to FME, so sorry for my lack of knowledge. I've created a very basic workspace to combine three LAS point clouds, reproject them from State Plane Alaska Zone 4 Feet to UTM84-6N. The combination and reprojection work and create a file, but the new LAS file is now georeferenced about 300 kms east of where it should be. I've done a similar transformation in LASTools successfully. Any ideas?
I am fairly new to FME and I have been trying to find a workflow to find points within polygons. My point data is dense and contains over 84 million points. I am trying to find all the points that fall within a given polygon for polygons. I have tried using PointOnAreaOverlay, FeatureReader, SpatialFilter, and Clipper. They all take a couple of hours to run. If I use ArcGIS Desktop and do a Select By Location it completes in less than 30 seconds. Is there a methodology in FME that could produce fairly quick results? The data is currently in a File Geodatabase but could be converted.
Hi, I'm trying to split some text, based on the value auf another attribute. Unfortunately the AttributeSplitter transformer doesn't accept attribute values comming from inside the workspace, only pubulished parameters as the delimeter. Is there a way to set up individual delimeters for every feature and carry out the splitting upon them?One Example:Text_line_data: 2018-06-11 08:39:23| 486.7| 0.0|STATS |62b88ad3-1c54-43b2-b010-479f2141a98a Here comes the text string im interested in. The string wil vary in length for every featureDesired delimiter: 62b88ad3-1c54-43b2-b010-479f2141a98a I',m looking for the string that succeeds 62b88ad3-1c54-43b2-b010-479f2141a98aThanks for your support!
Like Projection Standard parallel (s)Longitude of originUnit False easting \\ northing
I have several really old Arcview Project files, in apr. Has anyone built a custom Transformer for this?Seems like it might be doable as Arcmap 10x can read them.Thanks.
Hello,I have a field called SPECIES that could contain surveyed tree values such as E,AS,TA within each record; or perhaps the record could contain just AS or maybe JP,BS, etc. What I would like to do is categorize those values in that record into a new field value such as 'Stocked to Hardwood', 'Stocked to Softwood' etc. (see image). However, I'm having problems as what I would like to categorize as 'Stocked to Hardwood' (e.g. record with AS,TA) is getting flagged as 'Stocked to Softwood and Hardwood'. Is there any way I can use existing operators to categorize a value such as AS,TA to be 'Stocked to Hardwood' or do I need to break this SPECIES field up and extract each tree species separately and work with those?Thanks.
Hi! I have a problem! I need to export dbf file (FoxPro) to CSV. FME to read dbf file had changed fields with memo type - automatically to add numbers before text. I can’t remover numbers, because some text start by numbers. Please give me advice to solve this problem.
Hi FME'ers,I would like to build a workspace to generate and validate UK GEMINI 2.2 metadata. I can generate the xml using a template and updating the required elements from the feature. Validating it however is where I am stuck. The xml is validated using two ISO19139 schemas and the GEMINI schematron. These are available on github here:ISO 19139 XSD Schema (EDEN 2009-03-16) ISO 19139 Table A.1 Constraints Schematron (Medin/Parslow 1.4) GEMINI 2.1 Schematron 1.3 I am pretty new to xml schemas and schematrons. I think a series of XMLValidators would do the trick but I don't know how to configure them. Has anyone is FME Land accomplished this before?Many thanks,David McDermott
Hi,Any idea how to convert Collada / 3ds single sided faces to double-sided faces?Thanks,Y.
i am able to download a .TAR file, which contains a .GZ file, which in turn contains multiple .grb2 file (with no extension). i am needing to get these files into a directory and add in the ".grb" extension.
Good morning!I am trying to close walls at the intersection of another wall. I have tried using the anchor snapper to snap to the nearest lines, but it doesn't seem to fix all of them. Some walls are already closed. I have also attached my workbench. Thanks!David