A space to discuss FME Form
Recently active
Hi, I am running a workbench using the workspace runner. This workbench runs 12 times with a different area running through it each time. It takes roughly 3 days to complete all stages. I want to create a HTML report so I can get a simple percentage complete of this process. I have created a process whereby the sum of features passed through is counted in the statisticscalculator and this is then used to derive what percentage complete I am. However, due to the fact that I am using the runner and each area runs through on it's own. The statisticscalculator calculates that only 1 has through each time. Therefore I always get an update saying I am only 8% (1/12) complete, even though I may be farther.Would there be another way of achieving this? Hope this makes sense and thanks for any help. B
I have an XML with a tree structure, which we can aggregate to 1 feature with traits. It has several levels in the tree (6 at the moment) At each node, I would like to have the ID's of all underlying children of that node (so not only the direct children, but alto their children, etc etc). I tried TraitsToAttibute transformer, which does this but only on the root level. The Deaggegator can list the children ID's belonging to parent, but only for the direct children.
Hello, FMEers.Here's the weekly What's Up Wednesday post. SchemaScanner 2022This transformer was quietly released as part of 2021.2, but since then it received a lot of updates and looks fantastic for 2022. How do I know? Because it was the subject of our FME 2022 Sneak Peek yesterday. If you work with dynamic schemas in any way - or even if you don't - I suggest checking out this recording (click the link above). It's very insightful. I think the key difference to how you might expect it to work is that the schema is stored on a separate feature to the data. You just have to make sure that it arrives at the writer first in order to set the schema for the data that follows. An attribute key joins data to schema allowing multiple schemas for a single writer feature type. Anyway, to return to a previous sneak peek - the one on encoding and UTF-8 - there is now an excellent article on the changes that were made and how they affect you when upgrading to 2022. I think tha
we want to import data formats into our application and also export data from this application. that means, there is i.e. DGN file that we need to import into our data format and for this action we are looking for a lib or dll or similar.currently i have seen, there is only a desktop (standalone application) available, but this is not what we are looking for, as we need to integrate a "data converter" into our application. is there any version avaliable as a lib or DLL? thanks a lot.
Hi!I would like to know how to create from scratch an autocad file with blocks, I have a list of points xyz and a template file. What are the information needed to be able to create a block ? I've tried something but it's not working at all ! Please help.Thank you in advance.
I am trying to convert old DWG files into PDF. When I convert them to PDF, I find that several features are now filled in with color (mostly shades of gray and black), and this ends up obscuring most of the image. In the parameters I tried setting the default fill opacity to 0, but it did not change anything. How can I get rid of the fill color? These colors do not show up when I view it in Data Inspector. It only displays that way on the PDF version. Basically, I want the PDF to resemble exactly what the file looks like in Data Inspector.
I have a dataset of two lines and I want to calculate the average distance between them. I can use the NeighborFinder to get the closest distance between these two lines. (As you can see on the image the closest distance could only be an outlier.)But I want to know how far they are from each other in average as these two lines are almost parallel. Is this possible to calculate ?
I have 18 polygons in a database. I want to retrieve the x and y value of each CenterPoint of the shorter side of each polygon (approximately where the red dot is on image). I also want to create a new attribute called sequence. The first polygon on the left should get the value 1, the second value 2, the third one value 3 and so on. How can I achieve this ?
I'm using SmartGlobe (Proprietary tool in Microstation) to convert Geographic Points to Grid. I'm trying to replicate what happens in the background of this tool but I can't seem to find a reprojector/projector to perform this task? Source file will be an .xml and output will be a .DGN with all the points projected in there corresponding Grid location. The Tool looks like this
Hello, I'm an FME novice. This is my first workspace of any complexity at all, and it is based off of https://community.safe.com/s/article/how-to-read-all-feature-classes-from-multiple-esri. I've inserted a couple testers, a reprojector, and an Attribute renamer to the wakthrough above. (The field name "CURRENT" causes and error in the SQL Insertion; likely because it is a SQL keyword). It MOSTLY works, and the process finishes successfully, however the Attribute rename doesn't work as expected. Instead of renaming "CURRENT" to "ECURRENT" as configured, it drops every field starting at "CURRENT" all the way up to the last field in the table. This is obviously some sort of parameter/configuration issue that I'm overlooking. Can someone help me? I've attached the workspace.
Is it possible to export floor plan data from Smallworld in CAD format using FME ?
I have a custom transformer that was written with a lot of help from 1Spatial (thank you :)!!), The idea is that it goes through an Atom (georss) feed, and identifies links within feed that are zip files. However, due to the nature of some of the feeds I am working with, sometimes the download is on a second page (see, for example: http://www.catastro.minhap.es/INSPIRE/CadastralParcels/ES.SDGC.CP.atom.xml), and therefore I have a loop which goes through all the non-zip links that are in the initial feed, and checks if the subsequent feed contains zip files.When I run this using the URL https://www.ign.es/atom/dataset_feeds/lin_lim_mun.es.xml I find that it goes back into the initial Input loop and therefore identifies the same zip file twice.Can anyone shed some light on why this is occurring, and suggest how to stop this issue? I'm really struggling, and need to avoid this duplicated data!! I have attached a workbench which runs the custom transformer, along with the csv file whic
I have the following problem: I want to convert dwg-plans automatically to geopackage/dxf. Most of the plans are not in any geographic coordinate system. I'm trying to construct two separate workflows: First detect if the dwg has a coordinate system. If so, just use reprojector to confirm if it is in right coordinate system and use user controlled scaler (sometimes units are m, sometimes mm) then convert to geopackage (this workflow generally works)If the file doesn't have any geographic coordinate system, move it to a certain point and scale it (user parameter) preserving distances and angles (because the file used for precise work in QGIS later). The aim to move the drawing in certain location, is to more easily move it manually in QGIS without having to search it from 0,0 coordinates.I've tried LocalCoordinateSystemSetter among others and got some realistic coordinates when inspecting in FME, but when importing to QGIS, it seems to be in another dimension compared to all
Hi, I have roof data in shp format. I generated from airborne lidar. But they not come to one polygon as I added in pic. I want to make them 1 polygon. How can I merge all of them ? But some of them have gaps inside. I want to see them like the name of "source".
Hi, I'm trying to upgrade a workbench from FME 2020_2_4_0 (build 20825) to FME 2021_2_4 however I have reprojectors that project data into lambert equal area polar projections. These projections do not appear to be available in FME2021 and the workbench fails as a result. Can these projections be added to 2021 or are there alternative polar equal area projections that are supported?
Hi. I am joining lots of sql tables together in FME and there are a few that contain the same field names. So both fields are preserved and I know which one I am looking at I want to prefix all attribute manes with the table name (similarly to how joins show in ESRI) I have used the BulkAttributeRenamer to manually type the table name in, but am after something a bit more automated. I have also tried exposing the fme_feature_type and using this as a prefix in the BulkAttributeRenamer but all fields then come back as missing. What is the best way of acieiving what I am after? Thanks
Hi ! I wanted to know if there was a way to save the attributes definition (Name, type and width) in to a CSV.Thanks for the help !
In the source json file values.available_sf was null. i created a json templaterand assign this null value to BuildingSqFtTotal jason object. but after templater I got this "BuildingSqFtTotal" : ""I need "BuildingSqFtTotal" : null @david_r or anyone can you pls help "BuildingSqFtTotal": fme:get-attribute("values.available_sf"),
The spatial predicates for the SpatialFilter and SpatialRelator transformers do not seem to be working as expected. For example, after using the LineOnAreaOverlayer transformer to split candidate lines where they intersect any filter area boundary, a SpatialFilter ("Filter OGC-Contains Candidate") fails to pick up a candidate line which falls wholly within an area filter. Likewise, after creating candidate midpoints of filter lines using the Snipper transformer, a SpatialFilter ("Filter OGC-Intersects Candidate") fails to pick up on the midpoints which intersect their originating filter lines. After reading the documentation of these transformers, I'm struggling to understand why this is occurring. Is this issue related to projection / coordinate systems? Using the 'Select by Location' tool in ArcGIS Pro does yield the expected results (i.e. all the midpoints are selected when an intersect query with the lines is applied, and all split lines are selected
Hello everybody, I have a Python script that allows me to interact with an API of an application called KIZEO. Lately I wanted to automate data recovery by FME. So I had to use the HTTP CALLER transformer which allows me via a URL to retrieve the first level data, i.e.: Entity identifier. Dated. ETC. I stored all the identifiers retrieved by the script in a list (LISTE_ID). Then in order to access the detail of each entity (Level 2) I should call back the HTTP CALLER by entering the URL box: https://www.kizeoforms.com/rest/v3/forms/{formId}/ data/{LISTE_ID}. But unfortunately, the HTTP CALLER does not accept me to enter the URL containing a list, it asks me to give it just a single element. Link of API: https://kizeo.github.io/kizeo-forms-documentations/docs/fr/data
I have synchronising the data between 2 (source & destination)enterprise GDB on SQL server (2 separate SQL Server virtual Nodes) both tables are non-versioned & archieved. My challenge is while synchronising the data into the destination table it's taking long time to writing, due to this it has huge performance delays.For around 6600 records updating from Featureclass(A) from Enterprise GDB-A to Featureclass(B) from Enterprise GDB-B it's taking around 15-24 minutes. I would like to reduce the time for wririntg the features into the destination table.(GDB tables are indexed and using by other usersthrough services & arcgis clientS) You are assistance,advice or any piece of help is highly appreciated , @Takashi Iijima ,@david_r ,@theodrogo RegardsVIPLA
Hi all, I am trying to extract the following attributes from my JSON file: "area": "perimeter""laFeatureType" (plus some others) from the attached JSON file. I am using a JSONFragmenter with the query json["data"][*] but it isn't extracting as expect (all returns with "missing" data although I can see the data within the JSON file) .Screen shot of my fragmenter attached. Any help much appreciated. Thanks
Hello. I have a question. Does anyone know how to check inside the workspac that the workbench has processed all the data at the beginning of the WS? It happened to me several times that during a large WS the workbench looked like it was finished properly, but not all the data was retrieved during the data transformation. I came up with a counter at the beginning and end of the WS, but it's probably not the perfect solution. Another thing is that the counter reads over and over again, if WS is automated, I would need to somehow reset it when it's done. I need something that will be obvious at first glance, the search in the log will take me a long time. Thanks a lot
When I try to convert DGN to SHP I get this error.“DESIGN READER: Found duplicate tag name 'numero' on element. Renaming tag to 'numero04' to avoid conflicts”Do you have any suggestions to skip this duplicate tag name please or the way to change the tag name because I did not find where these duplicates.
We have a large number of photos taken in many countries and contexts. They are from a range of people from professional photographers to amateurs, using everything from professional DSLRs to smartphones. Preparations are ongoing to load them into a new professional online media library. The online media library can read certain IPTC metadata fields. We are considering an interface where staff around the world can upload their photos and add the required metadata. To facilitate easier integration into the media library, being able to write the user input to IPTC metadata fields/tags with FME would cut out a significant manual step. All I found on the Safe site was this:https://community.safe.com/s/question/0D54Q000080hV8xSAE/can-iptc-metadata-tags-be-exposed-using-fme-