Using transformers to modify data.
Recently active
HelloI want to write Lines (with 2 points) instead of Polylines, so i use a Chopper to create Lines with 2 Points. But if i use a DWGStyler to set the Linetype all those Lines are written to DWG as Polylines. If i do not use the DWG Styler everything is like i need it. I'm not sure if the DWGStyler is the main reason for this.So i would like to know, is it possible to force the Writer to create Autocad Lines instead of Polylines? The writers Autodesk AutoCAD DWG/DXF and Autodesk AutoCAD RealDWG DWG/DXF create the same result. Thanks
I currently have a template like this:- { "pd_id" : fme:get-attribute("pd_id"), "name":fme:get-attribute("district_name"), "code" :fme:get-attribute("district_code") } Is it possible to add a rule that says: IF district_name is null then name = fme:get-attribute("pd_id")
Hi All,I am trying to create json file using the json templater . input for this file has postGIS file with geometry in wkt format . i tried to convert using json templater but it not giving the desired output . can somebody help me with this ? i am uploading the json format file which is my desired output for this . file name examplebody.jsonalso i am attaching the screenshot of the out put which i am getting.
I have 1 Road(Line) layer with so many attributes e.g. Name, Speed, Direction etc. I want to find if any segment of 1 continuous road(line) has different names. Ex. ABC Road is of 5 KMs but in database there are few small segments which has name as XYZ Road, abcd Street etc. How to detect these segments.@takashi @david_r Thanks
Hi, I have a road network and a start and end point on the network. The points are not snapped to the network. I would like to snap the points to the network, then trace the path between the start and end points along the network. I have tried using vertexCreator, followed by Neighborfinder and shortestpathFinder, but no results in the output. Any suggestions and what would be the considerations to improve performance ?
Hello,I'm having some issue with some an excel fileUsing the inspector, I have the right information in the feature information mode.However, in the table view mode some attribute have <missing> value.How can I correct this? It prevent me to get the right information into another file because those values are missing in the output.
Is it possible to write KMZ data in tiled format ???I'm trying to write some raster data to a single KMZ file.Writing the raster data to KMZ is no problem - but not in a tiled format - it doesn't seem possible ?.........................With Geotiff, you get an option to write:No. of Columns per Tile 512No. of Rows per Tile 512..........................Has anybody else come across this or know a solution ?..........................RegardsHoward L'
Hello!I am working with polyline data that have known z-values derived from as-builts and inputted into a spreadsheet that was then used to plot the x, y, and z values. The vertical datum on these values were in NGVD29 but we need to convert the elevation values to NAVD88. However, the horizontal coordinate system is already in NAD83, so CsmapReprojector using the "NAD27 heights in NGVD29; NAD83 heights in NAVD88" has no impact. Are there any alternative solutions that can be explored? I would really appreciate the help!
i have source excel file that it includes first name and second name and id for each name and another excel file that includes first name and second name at the same cell how could i merge to get id for each name although ometimes the second name repeated
Hi I have been working on a workspace the pat few weeks. Before I know it is now looking quite hard to read. I have considered including junctions, create tunnels, using custom transformers if possible,I have a number of lines crossing across (see attached). Any suggestions what are the best practices?
Hi,I was formating big date numbers and I encountered a strange rounding effect when evaluating a big float number (see screenshot below). It can lead to issues when formating a datetime as FME needs seconds to be within 0 and 59 (60 not allowed). As a workaround, I do the flooring using attributesplitter on strings (separator .). However I wanted to ask whether this behavior is correct? I believe this is due to the size of the number.Thanks for your answer
Hi,We are having issues with performance using the DEM Distance Calculator. The issue probably lies in the fact FME is trying to be too precise. Working with a large polygon and a 5km raster cell In the logs we see:VectorToRasterPopulator_ClippingFactoryPipeline::CLIPPER (ClippingFactory): Clipping with an automatic tolerance of 1.6032000000000016e-11 Is there a way to change this tolerance and make things run faster.Also I attach the workbench to try to see if there are other barriers to the performance. Many ThanksOliver
If anyone knows, I was wondering why I have some greyed out numbers between the transformers, and then it comes back to black when writing the data?
I have a line starting at (A) and ending at (B), consider it's a 50m distanceI may be at either (A) or (B). Using a nieghbourfinder , I know this line is there. How do I know at which end I am.Please advise. Expect your feedback Gosh, my professor always used to say to me, it all depends on which end of the stick you are in :). Now I am still trying to figure it out.
I want to split a line at regular interval distanceQ1. Assuming the above is a 50m distance line and I want to split at 20m distance, If I split the above , I would get two segments of 20m distance and one 10m distance segment.Q2. I want to do the splits starting from both (A) and (B) Can anyone advise on how this is done?
Hello,I've converted Sentinel-2 Level-1C scenes into Level-2A bottom of atmosphere (BOA) products using the ESA SNAP Sentinel Toolbox. I would now like to use FME to read the scene classification (SCL-20m) SNAP outputs and create a raster mosaic of these. The attached illustration shows this data in ArcGIS Pro. I've been unable to read the data in FME.Thanks.Tony
Hi there,One of my customers has a very large raster DTM (spacing 1 meter over a large region) that comes from numerous tiles.He wants to compute consistent contours over the whole dataset, and ContourGenerator should be OK for this, but...Computing contours on tiles independently causes issues on tiles boundaries (impossible to combine the contours that do not fit over tile boundaries.Computing contours on the whole mosaic fails after around 1 hour.Any thoughts about a clever method ?Also, I wanted to check more about the surface model used internally by the SurfaceModeller, to see if it could help build a surface model incrementally, but did not find much documentation on using this option.Thanks for your help,Fred
I need to split the data below into 2 recordsie . 01_GF_CR should be 01_GF_NH and 01_NH_CRhow would i go about doing this ? thanks Line Segment - OnePlanRoute Name - OMEGA01_GF_CR01_GF_NH 01_NH_CR02_GF_CR02_GF_NH 02_NH_CR03_GF_CR03_GF_NH 03_NH_CR04_GF_DN04_GF_NH 04_NH_DN10_EB_ENR10_EB_EBE 10_EBE_ENR13_CR_GF13_CR_NH 13_NH_GF26_BH_SM26_BH_IB 26_IB_QS40_QD_QB40_QD_IA 40_IA_QB
Hello!I have two datasets of lines - streets and roads. I would now like to get all intersections of streets and roads as points, but not intersections of streets and streets or roads and roads. I tried the transformers "Intersector" and "LineOnLineOverlayer" but both only have one input. So how can I sove this problem?Thank you, Stefan
HelloI have two datasources: one is sde featureclass with status quo data, the other is a WFS-Service, which supplies more current data. This data I compare with Changedetector on their geometries and could change this succesfully (-> the geometry) . But now I have the problem, that both dataset have a totally different nongeometry attributes. I don't need the nongeometry from the WFS. But after the delete and/or insert process of the ChangeDetector i lost the old nongeometry attribute information from data, which for example in the new StatusQuo a geometry is now split to two geometries. Has someone a workaround for a solution for this trouble?Sorry for my english, but I hope you understand my problemThanks
Dear Community, I would like to integrate one external library called pyntcloud (https://github.com/daavoo/pyntcloud) within a workspace. I have made some testing within conda environment and everything worked perfectly. However, when I wanted to run it within a FME workspace there was a problem with a package. The following error occurs:2020-06-30 15:43:16| 0.5| 0.0|INFORM|Using Python interpreter from `C:\Program Files\FME\fmepython37\python37.dll' with PYTHONHOME `C:\Program Files\FME\fmepython37'2020-06-30 15:43:16| 0.5| 0.0|INFORM|Python version 3.7 loaded successfully2020-06-30 15:43:16| 0.5| 0.0|INFORM|Adding folder `C:\Users\SAVe\AppData\Local\Temp\' to the python path2020-06-30 15:43:16| 0.5| 0.0|INFORM|Emptying factory pipeline2020-06-30 15:43:17| 1.3| 0.8|ERROR |Python Exception <OSError>: [WinError 126] The specified module could not be found2020-06-30 15:43:17| 1.3| 0.0|ERROR |Error executing string `import<space>fme<lf>import<space
I'm having some difficulties with an translation of an Excel file that contains a normal table kind of structure and needs to be transformed to another more layered kind of structure (Kind of reminds me of a xml) in Excel. The input is as followed:And needs to be transformed to this output:I managed to get a semi result using the AttributeSplitter and work my way from there but it is way to hardcoded to be useful. If a Sub folder 2 or another task is added it needs extra work to correct it. When done i would like to add some extra tasks later so best to prepare for it now. How can i loop through the folder and name attribute and build up the structure so i can add the description and result in?Any ideas on how to tackle this problem?And is there a way to use the indentation option in Excel like the result above?
Hi guys,Pretty new to FME so any help would be greatly appreciated.My client wants me to use FME to produce an Excel sheet that will show the ‘Expected layers’ and ‘Unexpected Layers’ in a given DWG file and a count of features per layer. I am able to use a Tester to filter for the ‘Expected layers’ and ‘Unexpected Layers’ but I am having trouble making an Excel document that will make each Expected layer the head of its own column. Right now all the Expected layers are coming in together in one column and without a count. I'm assuming I have to breakdown the 'autocad_layer' found in Format Attributes in the reader into new attributes based on the list of ‘Expected layers’ that I have? I have been playing around with Attribute Splitter, Attribute Manager and Attribute Exposer all to no avail.. Hopefully someone can point me in the right direction. Thanks in advance, Fred
Hello Therewe are using Google static MAp Api in order to fetch static MAP for the linesince the api take the center point we thought we should use the bounding Box, get the center from there, but we are missing the zome level that should cover the entire linehttps://maps.googleapis.com/maps/api/staticmap?center=40.714728,-73.998672&zoom=12&size=400x400&key=YOUR_API_KEY we are using image fetcher transformeror do you have any other way to do it Thanks
Hello, I have a Smallworld database in a coordinate system that I cannot find (or are not) in FME Workbench.The main data:- Datum: ETRS89- Ellipsoid: GRS80- Type of Projection: Cylindrical, North UTM- Zone: 30- Origin of Latitudes: 0.000 m- Origin of Lengths: -4000000.000 m- Units: mmAttached image:I have tried the Safe web assistant but I think something is wrong. It looks like this:COORDINATE_SYSTEM_DEF Prueba_CABB \\ DESC_NM "Para CABB" \\ DT_NAME ETRS89/01 \\ PARM1 30 \\ PARM2 1 \\ PROJ UTM \\ QUAD 1 \\ UNIT METER \\ ZERO X 0.000 \\ ZERO_Y -4000000.000 But I'm not sure it's correct. I would greatly appreciate your help Regards Luis