Using transformers to modify data.
Recently active
I have a lot of points, like a grid, that I would like to transform to polygons. Any point that is closer to 0.5m should be joined to forme the polygon. Any point with no close neighbor can be ignored. Any suggestion is welcome :)
Hi Jim and team, We hope this resource will be helpful as we continue to build on our partnership. You can select "New Question" from the top menu to add a new post and we can then discuss and collaborate from there. Ensure you select "Avineon" as the space you want to publish in to ensure it stays private for us. Thanks,Nick
Dear all, I have some data that looks like the first table. I usually use Microsoft Access to create a cross-tabulation as in the second table. Does anyone have an idea of how I could accomplish that in FME? Thanks!
I have been tinkering with the /opt/fme-engine-2019/fme APPLY_SETTINGS a bit.I was wondering which other commands and options are there? How are these settings stored?Browsing the safe-documentation I only found the helpful LIST_SETTINGS and options to configure both python, R and some proxy settings.I did an upgrade (deinstall - reinstall -restore from backup) and the settings were just as they were previously.At this moment I would like to 'revert' some entries I made, but DELETE_SETTINGS is not an option apparently. Neither is PURGE_SETTINGS to restore them to the install-default.Thanks for taking notice..Martin
When using Test filter, how do I capture todays date -65?SQL Statement would read "Field_1" >=(GetDate()-65)
I am looking for a way to update/load data into a SQL Server database by using FME as an input form
Hi FME'ers,I have a dataset containing points. I would like to group them so that there is n points per group by proximity. Imagine a voroni diagram but instead of 1 point, its n. For Example, I have 30 points I have want to group them into 3's. This would give me 10 groups with three points each and they would be the nearest points to each other.Thanks,David
I'm trying to create a bunch of graphs where data comes from different data sources. As a consequence the length of the attributefields differ (i.e. some fields are missing when constructing fields af the same length). What I would like to plot is x against y and x against y_incomplete in 1 graph:x y y_incomplete 1 1 <missing> 2 3 3 3 6 7 4 9 <missing> 5 12 4 6 15 8 However, this raises the error:ChartGenerator: Non-numeric input provided. Please validate that the values of the "X Attribute","Y Attribute" and "Error Attribute" (if supplied) are numericChartGenerator_2(PythonFactory): PythonFactory failed to close properlyChartGenerator_2(PythonFactory): A fatal error has occurred. Check the logfile above for detailsA fatal error has occurred. Check the logfile above for details It would be nice if the chartgenerator could handle missing data or in the settings you could set a no data value. Or am I missing something and is the chartgenerat
I am trying to transpose the data from rows to columns. I have attached the example of the final output and my template as well. It would be great if anyone could help me with a solution.
FME-newby question: I selected multiple files (.dwg) and dragged them into my workbench. IFME now sees it as 1 input, so when I extract the points I need I get one output, but I want 1 output per file. How do I assign unique values to each file/layer? In short: i have surface profiles as .dwg and i want to turn every single file into a profile in excel.
Hi all,I'm getting some errors trying to display a HERE background map in the Data Inspector. I'm trying to pull up the satellite.day map Error: (log attached) Cheers, Ed
I'm reading in data from multiple XML files, all of which have the same date attributes (xml_char in the XML Reader). However the dates are not all the same format - some are 2018-06-22 and some are 22/06/2018. I want to write the dates to date fields in a File Geodatabase.I can have 2 DateTimeConverters (one for one date format and one for the other) based on whether the date attribute contains - or / and use a Tester or TestFilter to send the features to the appropriate converter. But is there a better way?I'm wary of using "Auto detect" in the DateTimeConverter - people have previously said it's better to specify a specific Input Format.
Elements that I try to add to my list of exposed elements in NeighborFinder are not being saved after closing and reopening workbench FME Desktop 2018.1. Upon reopening the workbench, only those elements that were originally exposed are still exposed. The newly exposed elements are forgotten/no longer exposed.My workbench contains about a dozen NeighborFinder transformers, but no matter what I do, only a handful of them actually save the attributes that I expose after I save and reopen the workbench. I found an old forum post about the same issue in FME Desktop 2015 (https://knowledge.safe.com/questions/5162/attributesplitter-exposed-elements.html?childToView=91200). Is it possible that the same bug exists in 2018.1? I’ve tried the following workarounds but none of them worked:Copy a working NeighborFinder and paste it to replace a broken NeighborFinder. Save and reopen the workbench.Create a brand new NeighborFinder, expose the elements, save and reopen the workbench.Copy the content
Normally I use input from a JSON-file directly as JSON upload body for HTTPCaller. Now I need to do the same from reading an Oracle table, So how do I build the upload body, so that it looks exactly the same (in an easy way)? Have tried with no luck, so please provide an example, if possible.Example of a simple JSON structure wanted.{ "vandstiktype": { "id": 1, "description": "Byggevandsstik og måler", "explanation": null }, "maalerAnsoegning": { "antalMaalere": 0, "maalertype": { "id": 1, "description": "Vandmåler ved egen boring", "explanation": null } }, "aeldreEllerUngdomsBolig": false}
Hi,If dwg file is attached to dwg file as external reference then we can know with attribute autocad_xref_name. Is there any possibility to know if image is attached???Pratap
I am reading Autocad blocks and writing to PNG format(raster). In the reader itself I am dropping the blocks, and using imagerasteriser transformer and writing to png. But the problem is if the input feature contains polygons or circles , it comes as filled in png output. Actually its not filled element in Autocad?I can I overcome this? or any workaround? (intersector is very costly)
Hello does anyone have some experience with using FME to validate CAD data provided by cadastral surveyors?
Whenever I run a workbench I encounter following errorERROR |BADNEWS: File C:\\apps\\FME\\metafile\\geodatabaseDefline_.fmi could not be opened (tabrdr_classic.cpp:2756 - tabrdr::ClassicTableReader::TableReaderSource::open) - (tabrdr_classic.cpp:1743 - tabrdr::ClassicTableReader::getRow) - (tabrdr_classic.cpp:1743 - tabrdr::ClassicTableReader::getRow)I am using FME Desktop 2018.1
I have lines imported from Autocad to a GIS system, and it seems that the digitazing order of their vertex are not valid for the GIS sytem (e.g. endpoint is on a vertex in the middle of the line).I was wondering how could i correct this order? My first thought was to use a chopper with 2 vertex and then merge all the segment together (LineCombiner) but maybe a transformer does this in one shot.Any idea?
i want to check if the polygon is full with a imagein this case, the polygon has image and here the grey area is missing.is there a way to solve this?
Hello, I am trying to create dimension from scratch using the workspace of @daveatsafe:https://knowledge.safe.com/articles/1131/creating-autocad-dimensions.html I would like to draw the label in a custom location with a custom rotation. So I am trying to modify the attribute values of autocad_text_midpoint.x & autocad_text_midpoint.y + autocad_text_rotation but it doesn't seem to have an effect… Does someone have experience with that? Than you!
Hello, I have a List created with the AttributeSplitter. When I right click on the list and choose 'Expose Element' I can expose a however many number of list items as I want. I've been connecting some of these items to attributes of my destination datasource, and my conversion works. The items contained in the list are written out to the proper attribute. But if I save my workspace, close it, then open it up again, all my connected 'exposed elements' are gone, and I need to do it all over again? Can anyone let me know if there's a setting I can activate to hold onto all connected exposed elements? Thanks everyone, Regards Alex
Looking for a way to provide a list of tables (in Excel), create a SQL statement and read all data into and Excel file. The challenge: each source table can have different fields.Example: two tables: Table1-Fields: ID, Text1, Number1Table2-Fields: ID, 88Text, ANumberFieldExcel file would have a 'TableToRead' column containing table names. In this example Table1 and Table2. (My actual excel file has about 40 tables)Use attributemanager to build the select statement based on 'TableToRead'- result 'SQLSelectStatment'(for instance SELECT * FROM Table1 )SQLExecutor then reads from 'SQLSelectStatement'-problem is the 'Attributes to Expose' will change with each table. I though I could use another SQLExecutor, do a sql DESCRIBE on the table, get the field list and pass to the SQLExecutor that does the select-but it looks like you can't pass 'Attributes to Expose' into A SQLExecutor.
Hi,I'm working with openflight models and have been looking for ways to extract the texture name or file name from each model.Using the SharedItemRetriever, I am able to visually see the textures in Inspector. Each feature displayed, has a IFMERaster listing with an Attribute Name (encoded: UTF-8) and contains the file directory path I need. How can I access this attribute? Raster Property extractor does not provide a Name attribute output. I tried Geometry Property Extractor and Appearance Extractor and similarly, they either don't reveal a Name attribute or similarly, show the Name attribute under the IFMERaster list.
Hi, I am pretty new to FME and I am trying to find a way to transform contour lines that have been clipped into polygons where the boundary of the Clipper polygon would be used to close the polygons.The point is that I am trying to create polygons to illustrate the flooding zones which elevation are:2 years: between 0 and 21.9920 years: between 21.99 and 22.75100 years between 22.75 and 23.2Any hint is welcome ! Thank you,