Using transformers to modify data.
Recently active
I have a SQLExecutor that inserts data child records for contract IDs. It does fine if it’s a one-to-one but if it’s one contract ID with many children, it only inserts one. Nowhere in my workbench does it group by the contract ID though. If there are 2 contracts and each has 2 children, there are 4 individual rows of data to insert. I managed to resolve the issue by adding a select statement after the insert to produce a result. I don’t understand why it’s behaving this way though. Note that I’m using a SQL Executor instead of a writer because of the need to set the audit user for each insert. Below is the sql statement I’m using. Why does the select statement at the end make it work? FME_SQL_DELIMITER |EXEC sp_set_session_context 'AuditUser', 'SNOW Sync' |INSERT INTO CONTRACT_ASSOCIATE (CONTRACT_ASSOCIATE_ID, BA_ID, CONTRACT_ID, CONTRACT_ROLE_ID)SELECT @Value(CA_ID), '@Value(BA_ID)', @Value(CONTRACT_ID), @Value(CA_ROLE)WHERE NOT EXISTS (SELECT 1 FROM CONTRACT_ASSOCIATE WHERE CONTRAC
I have IFC file with 3D Room and Excel Records with XYZ and i am trying to clip the XYZ coordinates that totally fall or touch the boundaries of 3D Room. I would like to confirm is that, i am following the right steps in Workbench ? I would like to ADD 10 cm buffer to 3D rooms, so that i don’t miss any XYZ records, so not sure what is equivalent value as there is UNIT in buffer :( Also i would like the EDGES to be SHARP after applying buffer not sure how to do PS: Attached is FME Workbench for further reference, as its does work if anyone would like to refer as well. But open for any enhancement as well.
Completely new to fme and trying to find my way.I have a GIS feature class titled wMeter. I want to take fields from this feature class and load the data into an existing excel database (provided by others). I added the feature class as a reader and the existing excel database as a writer and field matched which fields from the wMeter feature class I want to go into which fields in the database. I used an AttributeKeeper transformer to remove the unneeded fields from the feature class and it seemed to work at first however each time I ran the form it would append the data in the database. I changed the Writer Mode to Update so now it appears that I am getting the data 2X in my results.
Dear FME community.I got xml data with geographic location, I tried to use coordinateExtractor but I could not get x and y coordinates and I could not also visualize the polygon using FME inspector. How do Extract the X and y attribute? Any idea would be apricated and thank you in advance.
Hi There,i have workspace and trim transformer - Post/processe/Radarsat2/20240313 for example, it should leave 20240313 name of the file, but it remove 2 at the begining, 0240313 remains as file name. How to keep that “2” at the beginning?
I am attempting to get the value of a date field from a subset of data tables in an Enterprise geodatabase. I have narrowed down the list of tables with the required attribute from the SDE_column_registry and I only want to query those data tables for the value of that date field.I have attached two screenshots showing the inner join and rejected output and part of the translation.log. Perhaps I am formulating my query incorrectly. I am only concerned with getting the value of the date field from 133 data tables that have the attribute.Please help.SheilaCounty of Kern, CA
Hello,I have two polygon datasets: folios and townlands(see image below). For the most part, the folios(grey outline) are nested neatly within the townlands dataset(red outline) so the outer folio boundaries are shared with the townlands’ boundaries. I would like to extract the areas where these two datasets’ polygon boundaries cross...i.e. where they are not nested neatly. Most of these will be slivers. SpatialRelator(and Tester) helps to extract the offending folios using the Spatial Predicates Test: "Requestor OGC-Overlaps Supplier" however the output is the entire folio polygons(not overlapping area) as SpatialRelator does not edit the input dataset. I am unsure as to what to do next, I would like to automate this process in FME Server if possible so having one workflow would be useful.
I’m doing a project where I have to generate and compare multiple DTM TIN-models. In regards to this, I wonder: Is there a difference between TINGenerator and Surfacemodeller in regards to how the triangulation algorithms work?How does the triangulation algorithm(s) work, in more depth than that it is delaunay triangulation?Are there any other transformers/methods to produce TINs in FME?
I would like to identify snapping errors of newly captured layers which is snapped to old layers only.I do not want to find any old layer's errors as it is not my scope of work.Please suggest the best transformer. RegardsArun
Hello all,When trying to write my data as a geopackage I get the following warnings (see attached).In the reader I have to specify what geometry type I want to use but I can only select one, which results in some features being excluded.I have read a thing about the dynamic writer but that one is giving me errors.Using the GeometryFilter the only type I get is ‘area’ so it doesn't seem to make a distinction between those.Is there a way to write these different geometry types in one Geopackage layer? I am using version 2020.0
Hi,Have a workbench that I have been using for a while in previous version (2023).This is to convert data with attachments from ArcGIS online to a FGDB.I use a ListExploder for this, I don't get an error message but also no objects.When I use the workbench again in the old version, everything works fine again.The problem occurs when a space is used in the naming of the layer and/or feature class. Does anyone know about this problem? Any solution would be helpful. Gerard
Hello everyone,I am converting several SDE geod to respective CAD files. All CADs need to be written in the same folder (with suffix of the currentdate). I created this folder in Python Caller. How can I now route CADs to this folder?
I'm converting an obj file to local coordinates, glb.Running one obj file in FME will take you to the desired local coordinates.But when I run thousands of obj files in FME, they don't move to local coordinates (0,0,0).I want to move thousands of obj files all to (0,0,0) at once.For reference, I activated move to local coordinate.
Hello guys, Damjan here,i have problems with my FME process so i need your help. Task:I have 1 dwg file with 6 polylines (3 pairs), each pair must go to PROCES (process makes a polyline between 1 pair, that's fine all works), then process must save this polyline in dwg and go to start for next pair.Shema: FME:DWG GRT: Each polyline has an attribute id which represent pairs (for example: 2 polylines (grt_dt & grt_lt) have the same id which means they are 1 pair), the second attribute is Description (DET_OPIS): grt_dt = right polyline, grt_lt = left polyline. I add Creator to make counter, with the Attribute manager making the same attribute like in dwg (GRT), and then connect to tester. My idea is that the tester test if value of counter equals to id. If its true, then go to process, when process finish, save to dwg format and then go to start for next pair. Problem:I have problem in tester cause i dont know how to setup tester to make him work. If anyone know how to fix that or
Hello,I need to write the xlink:type in an AIXM5 file (see below) But when I look at the User Attributes of the feature type AirspaceTimeSlice (AIXM5 writer), I can only see 3 parameters of the xlink which can be set: href, role and title. Anybody knows how to write the xlink:type with the AIXM5 writer ?ThanksAndré
I want to compare different methods of generating TIN-models. To assess the quality of each model, I want to calculate the vertical distance between each point in the input point cloud and the generated TIN in order to later calculate for example the RMSE. Any tips on an approach?
I am using FTPCaller. If I add the Emailer to the rejected port will it send me an email if the output gets kicked to the rejected port? I would have the Emailer already configured to send me an email. I want to double check with the Community since my workbench will stop running if the FTPCaller output is rejected. Here is a screenshot of a mock up workspace (note I have not set up the transformer parameters yet hence you see the red gear icons.) Not shown below, I know it will send me an email if the FTPCaller output is sent to Output.
I want to write lines into an existing PostGIS table, which has default values for most of the columns. With FME PostGIS Writer, when executing the process, I have errors returning (in french):Bulk copy failed on table 'XXX' using delimiter ':'. Error was 'ERREUR: une valeur NULL viole la contrainte NOT NULL de la colonne « YYY» dans la relation « XXX » I would like to use the Postgres default values for these NOT NULL columns, but I cannot find the way to do it.I use FME Form 2023.2
I'm trying to read a (big?) ecw file (EPSG 28992, 173 Mb) using FME 2020.1.0.1.This is very slow (> 10 minutes), QGIS displays the same file in a matter of seconds. I'm wondering if I'm missing some reader parameters that might speed up the process. I do need best resolution though...
Dear all, I’m fairly new to FME but currently I’m quite impressed by the software :). My question is rather simple: is there an equivalent in FME of the Tabulate Areas function of ArcGIS Pro: Tabulate Area (Spatial Analyst)—ArcGIS Pro | DocumentationI have two datasets:The cadastral parcels of Wallonia in polygon format ; A land cover classification (TIFF raster) with 20+ classes.I would like to calculate for each polygonal entity the proportion of land cover classes.The result should look like this:ID | LC1 | LC2 | LC3 | … | LC201 | 10% | 0 | 0 |25 | … | 02 | …3 | … Many thanks in advance for your feedback :)
When I simply add the PDF reader and convert to the TIFF writer, alle Images are exported separately into rows, meaning that for each individual PDF-File I get 100+ TIFFs. How can convert PDF to TIFF without this happening?
Hi ,Is there any way to use an ifc file containing ifc objects, extract a specific object , then put it in precise locations in another ifc file that I am creating in the workflow?for exemple if I am interested in using this ifcDoor object that is inside a file1.ifc file : and the positions where i want to put this ifcDoor are where the 2d doors (the red lines) of my input file are located (my input is a dwg file containg 2D doors):All I can do now is just extrude those 2d doors , add ifc attributes to them , and them write them to ifcDoor writer . but they don't even look like doors :i want the doors to look like the ones in my file1.ifc file (their color , geometry , texture )I'm searching for a way to do it , but I am afraid that it is impossible .
I am getting features in through a WFS and pump the resulting XML structures through an XMLFlattener.The Elements to Match are ‘grouped’ by an attribute value and thereby dynamic.What I cannot make dynamic are the Attributes to Expose. I can either write them myself, or import them, but how can I get e.g. a list to work there, or the value of an attribute?Best thing would be the option of a conditional value… 😉
I need to upload new csv file each day with there is date on file each day
xcopy "$(TEMP_FOLDER)\$(FME_JOB_ID)\Temp" "$(TEMP_FOLDER)\$(FME_JOB_ID)\Results" /I /E /Y /TFrom the command line I use xcopy /I /E /Y /T and if the directory does not exist it creates it but within a SystemCaller it does not work and does not give an error message.I need Help