Using transformers to modify data.
Recently active
Just recording this for anybody that needs it. FME Datainspector shows a CW/CCW (clockwise/counter-clockwise) direction for an arc under the geometry, but this value can't be extracted as a trait using a geometrypropertyextractor and the arcpropertyextractor doesn't list any attribute that return clockwise/counterclockwise.
This seems like a simple operation, but I can't seem to figure it out. I have a feature writer output that contains the summary field total features written. I'm trying to use this attribute to populate 4 records from a table from another feature class after the writer is done. I just need the same "total features written" to be applied to 4 rows.I'm trying to get 1487 in all of the totalfeatures field.I'm also trying to use "total features written" to do some calculations after the fact, but everything comes up missing.
Hello!I'm using a dissolver before a pointonareaoverlayer and I'm trying to figure out how to be able to pass the areas from the dissolver to the pointonareaoverlayer before the points, so I can improve performance. I have it set up so it should read in all the records for the dissolver before the points.
Dear, I have a rectangle with width 2 and length 3. How do I increase the width to 3 and length 5? The angle can not be changed. Thank you!
HiI have downloaded the workspace 'Buffer On Left or Right Side Only' from the FME Knowledge Centre (https://knowledge.safe.com/articles/20651/buffer-on-left-or-right-side-only.html) I am following this exactly as I want to create buffers on either the left or right side of a road. I then want to create polygons from these new segments (buffers). I have a separate line (split into 44 segments) which I am using to split the buffer by. For some reason it keeps missing out one section. I seem to have an overlap at this section when I run the 'Common segment finder'. This then stops the polygonbuilder from creating just one segment. I am really stuck in how to fix this. Any ideas would be really appreciated. I have attached screenshots within Inspector of the common segment finder 'overlap' and 'no overlap' as well as the outputs of the polygon builder 'polygon' and 'unused line' Thank you.
Hello everybody,please, is there any possibility to set font size, color and name for string in table for MS WORD output? I use MSWORD Styler, but for "Content type: Table" there is no possibility to edit font parameters. Have You any idea please?And is there any possibility how to place image next to paragraph, not below? Thank You for tips!Lubo
Hi,I was wondering whether some basic operators like erode or dilate exist for raster processing? These operators enable opening and closing operation on raster, operations that are very useful.Thanks for your answer,Florian
Hello everybody, im looking for a transformer that replace the "eleminate of Arcgis", i want to merge the small polygone (less than 5000m2) with neighboring polygons that have the largest area or the longest shared border.i heard that sliver remover can do it but im not sureThanks
I have starting values like 1.35m and I would like to round up to the nearest half a meter, so in this example 1.35 becomes 1.501.89 becomes 2.00 etc.
I'm looking for a way to extend a line until it touches another line. The extender is nice but I don't want to specify a length. Can somebody help? Thanks
Hello, I'm writing a workbench that downloads sentinal-1 SAR Geotiffs, reprojects, coerces that to look right, then overlays some vectors on them. The input files very is size but are about a gigabyte and I want my output to be around 5mb. At the moment it is failing at the mapnik rasterizer because of 'bad allocation' which my research tells me is usually related to running out of memory. Is there a way to compress by raster at the start of the process so it is both faster and less likely to fail?
I need help joining a table based on whether or not a feature falls within a date-time range.Table A: Has an attribute with unique recorded date-times for all 3,233 recordsTable B: Has a "Start Date-Time" and an "End Date-Time" field for all 29 recordsI built this query:and it was able to join and return 2,731 records that met the criteria. Here's a sample of what was joined: My issue now is how to join return the other 502 records that may not fall the range listed above. I've tried several iterations such as NOT BETWEEN, IS NO, <>, etc.Any advice would be appreciated! Thanks. Note: Tables are generated from a CSV so that's why I chose InlineQuerier.FME 2018.1.1.2 (Build 18586) 64-bit
Hello, I have a problem to find overlapping lines with FME, in a DWG file : If there are common vertices between lines, SpatialRelator (or SpatialFilter) works.Wheareas, if there is no common vertex, overlaps are not found. I tried LineOnLineOverlayer, Intersector and TopologyBuilder, but They have not fixed the problem.I read these articles, but I didn't find a solution :https://knowledge.safe.com/questions/1633/intersector-overlap-issue.htmlhttps://knowledge.safe.com/questions/58290/find-overlapping-lines-in-network.html Is there another solution to do this ? Thank you.
I am trying to leverage the 'Adjacent Feature Attributes' function in AttributeManager to generate a list of unique IDs (UID) for a set of records. In this example I have generated a UID for a single record based on if the record in 'col0' contains a "G" and concatenating the CSV Line Number with 'col2' (this is a timestamp, so I removed the colons to avoid issues down the line). I now want to replicate that _UID_G field to the other records until I hit another 'G' type record to ultimately look like this: Here is my issue: the number of CSV Lines between records that have 'G' in col0 can fluctuate for each CSV that I run. I am trying to dynamically set the Number for Prior Features in the AttributeManager: I think I need to build a list from the CSV file I am using first, then figure out how to count the number of records that exist between each "G" feature. From there I can use a TestFilter and address each unique number of
To report about certain datasources, I need to retrieve the bounding box's xmin, ymin xmax, ymax values for later insertion into a text file.I have coupled a BoundingBox Accumulator Transformer to my Reader, which gives me a geometry object for the bounding box, but alas, I don't know how to get the aforementioned coordinates from this object.Any help would be greatly appreciated - Markus
Using FME2018.1 and SQLcreator reading attributes from an Oracle database, the attribute names always are in uppercase (although written lowercased in the SQL-select statement). Is there a way to avoid forcing the names to uppercase (I know the use of attributemanager or bulkattributerenamer, but am looking for a way to just leave it as specified by my SQLselect-statement)? Is there e.g. some ..\\FME\\2018\\metafile-file where one can parameterise the behaviour?
Hello, I am trying to reproject a .dwg file and write it in .dwg format as well. I am using a GeometryValidator and a SnakeGrid transformer. The workbench runs fine, until I connect a .dwg writer, where I get the error as shown in figure.Any ideas more than welcome. Thank you for your time.Kind regards,George Floros
Hello,I am stuck on a problem that is probably very simple, I just don't get it...I have a simple test IFC file with two rooms and some random furniture:I would like to use FME to run an inclusion test, which furniture is in which room.My thinking is to extract a center point of every furniture instance and run a spatial join using the Clipper tool. Something like this:Now, the confusing part.The clipper attribute merge is telling me all the furniture are in just one room:Why is that?It works fine using an AreaOverlay, but I really need a 3D inclusion test...Test IFC and my workspace:Thanks.
I used the Ifc-Writer to writeout an IFC-file succesfully. However, I need to add some elements that are not supported by FME yet (IfcZone and IfcPresentationLayerAssignment. The latter is quite easy to do, if you take the relevant ID's from the IFC-file.For the first however, I need to add an IfcGlobalUniqueId. This is not a regular GUID, but some sort of encoded uuid, see documentation here.Now FME already writes those IfcGlobalUniqueId's and I am not that much of a developer. So I am hoping someone can help by either passing me a bit of Python-code or maybe Safe can create a Custum Transformer like IfcGlobalUniqueIdCreator? Any other solutions are welcome as well off course!In this case it is about IFC2X3 or higher.Best regards, Lars@DaveAtSafe, @takashi
Im using FME 2016, and i need to merge attribute of the clipper and the clippee on the outside clipper, i already checked the merge attributes checkbox , Is there any transformer can help me with that please?
Hi, my workspace runner sends off a job to a child process which grabs files from a file system and zip them together.The files are being copied to a temp location such as E:\\Temp\\_auto_zip_dataset_1549542585771_21996 but they don't clean up after the child process is done with the zipping job and the zip file is written into a desired output location.Could you please suggest how to make sure the temp location doesn't run out of space?Thanks, Monika
Hello FME members, I try to marage two polygons ech other, but system coordinate is unknown (Left polygon). I try AffineWarper but reports empty output (it does not work). Another "trans" what i tested it's RubberSheeter, but coordinate system results not changed.How to reproject polygons like "georeferencer" tool and saving information at attribute field: (angle, scale, rotation) in FME? FME ver. 2018.1 PS: I found the solution in QGIS VectorBender tool.
I have a csv file with both lat and long fields that I would like to be converted from GAUSS-Kruger to UTM system. I tried a .csv reader and a "reprojector" transformer and a csv writer. The output csv is simple the same as my original input. Any ideas? thanks!
Hello, I need to use FME to do some custom cellwise manipulation of different rasters. I am quite new to FME, but so far my plan is to import rasters using a GeoTIFF reader and then doing custom manipulations in a PythonCreator transformer. Ideally I would like to be able to do operations equivalent to manipulating an numpy array, but I obviously realise that the operations do differ. So far I have gathered that you can access different bands in rasterdata by using getBand(), however I am uncertain in regards to how you go about accessing the data itself and further, how you can change individual values and so on. I have also read up on tiles, and seen examples such as " prevData = prevRaster.getBand(0).getTile(0, 0, tile).getData() " (by @takashi), but I am not confident in exactly how to change individual datapoints within the raster. And as a side question, what is the best/preferred way to troubleshoot code to be used in an PythonCreator? Any help would be greatly apprici
I am performing a reprojection on triangulation (in dxf format) to a custom coordinate system. However I still need the Z values shifted by 2000 metres, which is not covered by the reprojection. How can i approach this? Do i need to extract all vertices?