Using transformers to modify data.
Recently active
Hey Community!How can I find and know the right projection système of a shapefile that he has not the .prj file?Tnkx 👽
I
Hi all, Often users from this forum reply and attach a file with a sample workspace that shows how the transformer works. So I wonder if there is a collection of example workspaces for any transformer somewhere ? Thank you!
I am trying to load some buildings to Cesium but when translating shp to Cesium 3D tiles I get rotating buildings in Cesium (when changing the camera position), although the buildings' location is correct in Cesium. I've tried converting this shp file to gml and then loading this gml to Cesium ion which makes 3d tiles itself and this works - buildings are not rotating. What could go wrong with FME Cesium tranformer when tiling?
I am converting IFC to file geodatabase. Some are in mm. I have used scaler to convert but the geodatabase properties would seem to indicate that the units are still mm. I am not able to convince myself that my script has actually converted correctly. I use 'generate script' to statically convert from ICF to GDB inserting the scaler where there are features to convert before writing out.Any help would be appreciated,Ian
The following is how the data comes in using SQLCreatorAnd this is how i want it to lookThe other tricky part is that there is no limit on the number of nar_num records (rec_seq) that can be linked to a single ass_num - at the moment I have a max of 17 but that could go up or down I looked at the pivoter and didnt have any luck with that but i am new so maybe i am missing something.Anyone have any ideas?
Hi all, I have a seemingly easy question. I have two feature classes that I have spatially joined using the spatial relator. There are two cities fields in this new feature. For the sake of the example, we can refer to them as Cities A and Cities B. Some values are null in both fields, however the Cities A is more accurate. How do I combine Cities A and Cities B into a new field with priority given to Cities A, assuming it is not null. i.e. if Cities A is null and Cities B has a value, we use Cities B. If Cities A and B both have values for a feature, then only Cities A would be used.
I have different features that are segments of cable. Each one is different and the shape is always straight. My goal is to find both end points and then label one as start and one as end. My question is how do I get the points from a line.
Hey community! I have a square in 2D and I want to clip a TIN surface inside this polygon, how can I do?tnkx
Hi All, I'm trying to use PythonCaller for a few more complex date calculations that I couldn't find how to easily do with other FME transforms. One of the things I need to do is some standard if/else testing to set a variable based on two other feature attribute values for further processing down the chain, however the results are not returning correctly. I've split out what i'm trying to do into a simple PythonCaller: import fmeimport fmeobjects# Template Function interface:# When using this function, make sure its name is set as the value of# the 'Class or Function to Process Features' transformer parameter def processFeature(feature): #Define vars completionDate = feature.getAttribute('PREREQ_COMPLETE_DATE') notRequiredDate = feature.getAttribute('PREREQ_NOTREQUIRED_DATE') useDate = None #Test if completionDate is null and fill with notRequiredDate if so if completionDate is None: useDate = notRequiredDate else: useDate = completionDate #Set new
Hi @everyone, I want to test my 3D Dataset for vertical lines (only horizontal are allowed). I instructed the transformer to test if the z-start point is the same like the z-endpoint. Now the problem is the amount of z-points in the data set differs, some lines got more than 6 or less: How can I test dynamically for the end z-point? Thank you in advance.
Hello,I have a bigger workspace with a lot of spatial transformations writing into .ffs files. The process is running since two yeas on FME Server 2018. Now after migrating the workspace to FME 2020 the process ends with a FATAL 'Expression: !isPoly || curve->isClosed2D()'.However the .ffs are written successfully.Now I 'm searching for the transformer which might have fired the message to analyse what I have to change.Any ideas?thanks Klaus
I have to read all the WFS features, but it can't be sequential read, because server crashes then using this method (feature count is ~3 000 000). I managed to read in all features with 10 different WFS readers and XML filtering by attribute. Is there any simpler/faster way to pull it? For example it is possible to somehow read first 100k features, then request another 100k and so on?
Hi, I want to check my dataset( with different layers), which contains polygon and line features for correctness. Which Method can I use to check if there are Layers filled with the wrong features? To check it manually is no option, because the dataset is to large.
I have a bunch of rasterfiles (Geotiff's) which shows flooding-depths under different scenarios. All in all I have 35 rasterfiles with a resolution of 0.4x0.4 which equals ~12 GB each. I also have the same data split in smaller files (approx. 700 files). What I'd like is some advise on how to optimize my workflow. eg. how do i choose a reasonable tile size? Does the float to intergerconversion pay off? Is it faster to call an external rastertopolygon coercer?Right now I: Tile input -> remove redundant tiles -> convert to integer representation -> reclassify tiles -> rasterToPolygon -> simplify -> clip -> collect. Unfortunately the client is reluctant towards resampling the input. I added a workspace and some exampledata at https://drive.google.com/drive/folders/1AHXnj8nDOZwjqDsam9KCBgMYoKQzAc6i?usp=sharingLet me know if you need more input. Best, Mathias.
Hey community! How can i create a vector outline from the edge of a raster?
Hello, I have a line feature with a unique ID field. I would like to separate them base on the unique ID, so a feature for every different ID. Is there a way to do it automatically and not do it manualy with a testfilter. Is there a transformer that create feature base on every unique entry in a field?
Hey community! How can I extrude or lay a raster on a TIN surface? With a DEM? How?
I've created straight line segments using the VertexCreator (x2) and Rotator. I need to add an arrowhead on each line segment to show the direction (from vertex 1 to vertex 2). I tried to copy the approach listed here: https://community.safe.com/s/question/0D54Q000080hg35/convert-line-to-an-arraw?t=1611682329612 but I'm not getting an arrowhead as a result. There is mention of 2DPointAdder but I don't see 2DPointAdder as a Transform. Also I don;t understand the Line and ArrowHead portion of the solution on the link. My approach so far is:What am I missing?
Hello, What are possibilities and what would you suggest to optimize and have the best performance (time response) with spatial anaysis (SpatialFilter and/or neightbor(pair)finder) research ? I work with an "Oracle Spatial DataBase" and at this time FME 2019.2 For exemple if I have a located punctual object with coordinates and need to find the closest street axis or all street axis in a buffer around this coordinates, but i don't want to read all my linear objects "street axis" in the database , otherwise each individual research will be quite slow and I need a high performance for time response Thanks in advance for your help and suggestion Regards Frederic
Hello all,I've got a spreadsheet with filenames, and have been asked to rename the files in a folder/subfolders - with the filenames in the spreadsheet. After joining them, which works fine, I then put it through an Attribute Manager to have the attached image as an output destination (Folders and a Document at the end). I was wondering if anyone could shed any light on why the output files, from the FileCopy writer (both Copy and Move mode) come out as folders, and not the PDF files as they went in?
Hi! My knowledge of FME is very limited and I'm only familiar with the program. I have several folders containing thosands of .jpgs. I want to rename adding a prefix. I've seen other threads like this but they don't help me at all since I know nothing of the program. This one [https://knowledge.safe.com/questions/41624/is-there-a-quick-way-to-rename-files.html] for example uses a tool named filecopy but I can't get it too work. Any suggestions?
How could i save the output in inspector automatically in pdf file ,i do not want to click on save Data as and choose the type of file Pdf manuel for every time.is there a method to save it automatically ? and also i want to write some legend (as red : way ) at the left down corner for the output in inspector,How could i achieve that ? Thanks for help
Hi, I am using a matcher to compare 2 schemas (2 esri gdb, original and modified one). Result of this match should be a file which lists new attributes (probably a csv). Can you please give me a hint, how to realize this? Do I need more transformers than matcher or do I only have to configure the CSV writer correctly? (I am using FME 2013 and a FME beginner) Thanks in advance, Christin
Hi All, I want to filter my datasets for features which are closed polygons with surface area>0. I assume I need a filter but which one and how to set it right? TY