Using transformers to modify data.
Recently active
A PDF file contains points located using TEXT elements that indicate the Z coordinate for each point.My question is this: How can I obtain a file (WRITER) in DWG format that contains a cloud of points in coordinates X, Y, Z, from the X and Y coordinates of the insertion point of the text and the Z coordinate obtained from reading the label of that text?Another feasible option would be to obtain a CSV file of numbered points (writer)A second question, which is a continuation of the first:A flat map is available in 2D DWG format, which contains contour lines. Contour lines are labeled dimensions (Z-coordinate) every few intervals.How could we obtain a mathematical model (mesh) from the given contour lines inferred and interpreted as lines of rupture with its dimension (Z coordinate) obtained from the value of the text belonging to the contour of a 2D flat file?The attached file in DWG format, has been obtained by filtering a PDF file obtaining as a result the texts. Now what interests us
We have a .dwg input file that we are trying to convert into Cesium 3D Tiles file, if I open up the input .dwg then it is placed in the correct place on the map, but when I try to use the Visual Preview, and also the output it seems to be in the wrong place. There is not .prj included with the input and I'm not sure what could confuse the two applications. Any ideas?
I'm brand new to FME, and I know this is likely a basic question. I am converting a CAD .dgn to ESRI shape files. I want to take the centroids of several cells (polygon features) and export those to shape file. The documentation tells me x, y, and z attributes are output but I have no idea how to get them to Esri shape file. http://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Transformers/Transformers/centerpointextractor.htm When I put together a workflow, I get no output. What am I doing wrong?
Hi, really odd one, I had to update an existing workbench that has been in place for at least 6 months. When it exports data from a sql server table to excel the featurewriter puts in 0's where there should be nulls. Another featurewriter using the same source but writing to csv behaves itself. Any ideas what could be going on? Some screenshots of the data going in and the design are below. I have not upgraded the writer. This is the same if run from desktop or cloud.
Get distance between multipoints within a feature in meters. Attached is file with testdata.
"Calculatearea" is the file containing the original data, Test1-3 are the different approaches I have tried shown in the workspace.
I have a problem setting up a WMS background maps in FME from this site. https://kortforsyningen.dk/indhold/webservice-liste. I have tried a few different services but can't get any of them to work. AGOL maps work ok. The layer list is read ok so I assume the token is valid but the background map doesn't show when the workspace is run. Anyone got any suggestions how to fix this?
I would like to do this with the on-board resources of FME. The PDF-Reader can read out the metadata, but can I use the PDF-Writer to overwrite it without changing the rest of the file? An idea:How does the FME read out the metadata? If a library such as exiftool is used for this, then this could also be done using a command line with the SystemCaller.
For example: File 1 has 5 users changing data in the file. So data from File 1 would start updating, one after the other (I assume.) Meanwhile, File 2 has someone changing data at the same time. So those changes would start updating File 1. Is there a possibility of losing data between the files? Is this the best practice to achieve the goal. I am worried about losing data between the updates. Does this make sense?
sql creator load the data always ,but sometimes i do not need this data to load and it takes long time .Could i write function inside sql creator that it should delay till we see if another specific transformer (tester - passed) has data or not .if yes so u should work ,if not so do not load ur data . How couldi achieve that ? Thanks in advance .FME 2018
Hello again, apologies for the questions, i am fairly new to FME and this one is baffling me. To me, this is a fundamental question, but through much research, I haven't found a solution as yet. I try to research before I post in forums. IS there any way to write a bearing of my 3D Object on writing out to KML ? Maybe I should rephrase this as I CAN actually rotate the object. What I would like to do as an option, is somehow have this parameter/attribute in the KML file so that when you click on the properties of the KML, you can input the Angle/HEading/Bearing at this point. The ultimate goal would be to get all bearings from a CSV / External Data source, along with the model type to be used, and on writing to KML would have the correct model at the correct bearing. This is a big one actually and fundamental to a particular use case I'm looking at.
Hello, I'm trying to extract a number out of my comments column. I'm not sure how to write the expression? or if I'm using the right transformer? I'm still new with FME. The number I am trying to extract is 8 digits and is put in comment field with this format "/ 12345678 /" an example of the format is below. VB BLVD / 59208085 / L06-514 / ATT 8547 Is there a way to extract this number? Thank you!
How in FME would you check that two floats are "close", given testing floats for equality can be a challenge? e.g. "-23.123" as listed in an XLS compared to "-23.12300005" stored in a point feature class? In Python I use the math.isClose() or assertAlmostEqual() Thanks
Has anyone experienced SMTP email simply not being sent using either the Emailer Transformer or the FME Server Automation Email External Action? I've had each of these things happen to me once, but the same Workspace or Automation run in most instances does send the email. The log file from a sent and not-sent email looks almost identical to me, I've attached both. These are workspace runs with the Emailer Transformer sending the email. I've asked our IT department if they can look into anything, but they can't say much since SMTP is just a relay. Also the fact that it works correctly most of the time makes it difficult to troubleshoot much further.Any thoughts or things to look into would be helpful.Thanks!
I have a SDE feature class that has a date field and another table that contains only 1 record with a date. I would like to query out the records from the feature class where the dates are greater than the date in the other table. The dates in the feature class and in the other table will change. I do not have a way to join the 1 record to the feature class records but I want to use the same 1 date to filter all records. The table with the 1 record could be text file or most other formats.Thanks, David
I convert input features to XML using XMLTemplater. Everything is fine as long it is done through the same sub-template. When I try to process some attributes (coordinates reading) by calling another sub-template it fails. This sub-template works properly **OBJECT Sub-Template**{<object id="{fme:get-attribute("id")}" visible="{fme:get-attribute("visible")}" lon="{geom:get-y-coord()}" lat="{geom:get-x-coord()}" ></object>} This one, calling another sub-template, doesn't work.**OBJECT Sub-Template**{<object id="{fme:get-attribute("id")}" visible="{fme:get-attribute("visible")}" {fme:process-template("XY")} > Here is the syntax error: unexpected character "{" near line 4, column 5 .</object>} **XY Sub-Template**{ lon="{geom:get-y-coord()}" lat="{geom:get-x-coord()}" } I did try a lot of things but I still don'
Hi, I would like to ask, does anyone know how to divide data into individual sets based on the same ID? For example, the result will be 5 groups of attributes with the same XOBJECTID.Thank you!!!
Hi everyone, I have a simple workbench where I added a reader that reads 20+ featureclasses from a nationwide dataset from a file geodatabase.From there the workbench selects 11 featureclasses and uses the clip transform (clip polygon is a province) to clip out a certain area and saves it to a new file geodatabase. Problem with the workbench is that it has milions of features, and the machine I run it on will run out of memory after 5+ hours of processing. Is there a way to split up the workbench so it will read/transform/write the workbench in 1 to 3 feature classes and waits till the memory is free again before starten the next 1-3 features classes? (maybe with embedding multiple workbenches?) thanks in advance!
Hello!I'm trying to create a point layer from a set of photos in .heic format. I can see in the photo metadata via Windows 10 file explorer that the photos were taken with GPS on and the coordinates are stored in the EXIF data.I'm wondering how I can use FME in order to create a point layer (and save as a .shp for example) using the coordinates found in the photos, and then attach the photo to each point in the point layer.From what I can see, there is a transformer that can create such a point layer from .jpeg photos but there doesn't seem to be a similar one for .heic.Does anyone have any advice?Thanks!
I have multiple lines and corresponding two point for each line. I want to trim those lines by keeping segment between two points. I have tried pointOverLine which does segment the line but I am having difficulty eliminating remnant.
I need to create one list of user names that are in multiple attribute fields.
Hi All, I'd like to split our entire road network into 5 groups. Each group would cover approximately the same total length i.e. (Total length of all roads)/5The roads in each group would be spatially clustered/grouped togetherIdeally i would not be snipping any road segments I've tried to accomplish this by using the PointClusterer and feeding in the roads center points or 10m interval points but when merging the cluster points back to roads, the grouped distances are too varying. Is there a better approach to this? Thanks
I have created a 3D model which shows a 'radiation zone' I created this from REVIT > FBX which will ultimately become a KML/KMZ. I have looked at Styling the edges within the Authoring software ie Revit, but that's a non starter. Is there any way that FME can 'style' the edges of this 3D model on writing to KML ? Many Thanks, please see my other question regarding the rotation of this object.
Hi AllI Have the following datasets, DTM, DSM and Colour Infared, and am trying to extract trees over 3 metres in height from the data.I know that i can subtract the DTM from the DSM to give me the height difference but can not see how to have only the raster cells over 3m, nor can i see how to extract the polygons from the imagery.If anyone has any suggestions on how to do this then please comment.
I have a dataset with attachments using ArcGIS online and would like to download the pictures associated to a certain Field in the spatial dataset. Each attribute(row) usually comes with 1 or 2 pictures and the bulk download in ArcGIS has meaningless filename for the pictures.I would to use one of the attribute field names for the photo filenames. E.g. UNITID_0001_photo1UNITID_0001_photo2UNITID_0002_photo1UNITID_0003_photo1