A space to discuss FME Form
Recently active
Hey everyone, I hope I am just missing a very obvious point here.Β I am trying to compare two SQL input data sourcesOne with these columnsAnd the other with these columnsΒ The customer and account number combination is going to be my primary key. I need to extract the email addresses of customers based on that combination.Β I have tried the feature merger which seemed to be the obvious solution, but I am not getting any matches?Any idea where I am going wrong?Β
I was having a bit of a poke around with how Workbench calls the AI APIs and noticed that the method of sending the workspace was to first convert it to graphviz format.Β I had initially thought the fmw wouldβve been passed and parsed instead,Converting to graphviz is a pretty cool step and could be used when producing reports or documentation on workspaces. I know people have asked for similar functionalities in the past re exporting the workspace as a graphic:Β Is that conversion something that the end user can tap into?Β Iβm going to shamelessly tag β@rylanatsafeΒ β@mark2atsafeΒ and β@NickAtSafeΒ here, as while they might not be the people directly responsible for answering such a question, I feel like they might be able to point this question in the right direction!
I have found that the feature reader will not accept point data as the initiator.Β I have since found that in Version 15 a change was made: -Spatial operations will reject initiator features with point geometries to match native reader behaviour.Does anyone know why this was changed and if there is a way to force it to accept points without having to create a very small buffer to it and then recreate the point after the feature reader.Β
Hi,Β takingΒ myΒ firstΒ stepsΒ inΒ theΒ FMEΒ RESTΒ APIΒ andΒ webhooks,Β andΒ strugglingΒ onΒ passingΒ coordinates.Β IΒ publishedΒ aΒ simpleΒ workspaceΒ toΒ FMEΒ serverΒ usingΒ theΒ GeometryΒ PΓ―ckerΒ asΒ onlyΒ parameter,Β theΒ drawnΒ polygonΒ isΒ notedΒ inΒ GeoJson,Β like:{"type":"Polygon","coordinates":[[[3.732869,51.016178],[3.733537,51.016688],[3.734896,51.015998],[3.734086,51.015473],[3.732869,51.016178]]]}Β IΒ createdΒ aΒ webhookΒ fromΒ thisΒ workspace,Β theΒ URLΒ previewΒ showsΒ theΒ specialΒ charactersΒ shouldΒ beΒ encoded,Β like:https://FMEserver/workspace.fmw?DrawnPolygon=%7B%22type%22%3A%22Polygon%22%2C%22coordinates%22%3A%5B%5B%5B3.732869%2C51.016178%5D%2C%5B3.733537%2C51.016688%5D%2C%5B3.734896%2C51.015998%5D%2C%5B3.734086%2C51.015473%5D%2C%5B3.732869%2C51.016178%5D%5D%5D%7D&opt_showresult=false&opt_servicemode=syncΒ Β but,Β whenΒ IΒ GET-requestΒ throughΒ thisΒ URL,Β theΒ workspaceΒ fails:55 2021-12-7Β 17:05:35Β |Β AΒ JSONΒ syntaxΒ errorΒ wasΒ foundΒ atΒ lineΒ 1,Β columnΒ 256 2021-12-7Β 17:05:35Β |Β UnexpectedΒ character:Β 't'.Β OneΒ ofΒ theΒ followingΒ ch
Good afternoon, I am extremely new to FME so apologies in advance if my question comes across as exceedingly simple or unnecessary. Anyways, I am attempting to convert a set of line features that originated in AutoCAD into a GIS formatted polygon layer. To start, I cleaned the layer as best as I could and performed snapping within QGIS. I then have tried using AreaBuilder in combination with other transformers such as LineCloser to obtain a set of polygons, but the output so far has been less than ideal. I have also experimented with Snapper and some other transformers such as LineExtender but those have introduced new errors that then lead to no output from AreaBuilder. Below I have attached an image of my workspace currently, as well as an image of the current output I am receiving. I will also attach a sample of the dataset I am working from! My conclusions are that LineCloser is causing the issue which leads to these slivers and polygons outside of the scope of the data, however I
I would like to use the AI assist feature in a programmatic way.Β Is this possible?Currently it is available only as a GUI inside FME workbenchI would like to provide a prompt + workspace file, call an API,Β and then get a response based on the workspace context
Hi,Iβm trying to put an URL in a table using the new DocumentPDFStyler and I canβt make it work.One of my issue is that the URL breaks because it doesnβt fit in the table box, also it doesnβt show up as an url.Β I tested many things to make it work: Image Link, add the pdf_url attribute (doesnβt work because this is the documentpdf writer),Β Β put quotes around it.Iβm trying to make this work without having to use the wkhtmltopdfΒ π
Hello, Please see picture above, DateTimeNow is my value i am feeding into DateTime attribute, which matches the preview data format, but the output keeps getting rejected saying the errors above. Iβm a bit stumped to as why this is not working. Any ideas?Thanks.
Hi,Situation - Oracle Writer will not work, so I need a workaround to overcome this. The tables in the workspace have many attribute fields, 2100 or thereabouts, and the Oracle writer falls over. π Safe recommend upgrading to a newer Oracle, so the client will get that sorted eventuallyβ¦ but meanwhile I need to get the workbench working.The workbench prepares delta files to be written into the Oracle db. Once the data is ready for writing to the dbΒ I have used FeatureReader to read 13 Oracle tables into the workspace, then use a FeatureMerger with the existing workspace table to identify if the features already exist in the 13 db tables or not. If they are UsedSupplier they exist and are then designated to be an βUpdateβ, if they are UnusedSupplier then they are new features and are sent as an βInsertβ.As a further complication, we need to write to CSV files to overcome the issue with not being able to write to Oracle from FME. So we need a batch of csv files for Insert, and another f
Hello FME Community,I need to divide a line FC into 100 m segments. I can reach that withΒ theΒ IterativeSnippet transformer, but I have an issue with the leftovers; I don't want to divide the leftovers.Β In another way, I need to keep the leftover to be joined or merged with the last segment to avoid generating segments with 0. X values or other small values like 1 or 2 meters.Is there any possible way to reach this in FME?Β
Hi All,I often encounter difficulties when attempting to select specific raster values using FME. I am currently working with a raster dataset that contains two bands, and I need to isolate the following values:Band 0 (GRAY8) = 3 Band 0 (GRAY8) = 4Could you please advise on the appropriate expression to use within the RasterExpressionEvaluator to achieve this selection?Thanks :)
Hi,IΒ amΒ tryingΒ toΒ produceΒ aΒ listΒ ofΒ allΒ layersΒ thatΒ areΒ inΒ EsriΒ webmap.Β IΒ haveΒ theΒ privateΒ urlΒ ofΒ theΒ webmapΒ andΒ IΒ foundΒ thisΒ PythonΒ codefromΒ arcgis.gisΒ importΒ GISfromΒ arcgis.mappingΒ importΒ WebMapgisΒ =Β GIS('home')#Β ifΒ runningΒ thisΒ fromΒ NotebookΒ forΒ ArcGISΒ inΒ AGOL/Enterprise,Β replaceΒ thisΒ lineΒ withΒ gisΒ =Β GIS('home')wmItemIdΒ =Β "myid"Β #putΒ theΒ idΒ ofΒ theΒ webmapΒ inΒ herewmItemΒ =Β gis.content.get(wmItemId)wmΒ =Β WebMap(wmItem)forΒ lyrΒ inΒ wm.layers:Β Β Β Β print(lyr.title)Β Β Β Β print(lyr.url)CouldΒ someΒ pleaseΒ tellΒ meΒ howΒ toΒ useΒ thisΒ codeΒ inΒ FME?
Hello,Β I think my question has been asked before but I can't find anything on Google.Input Data :Β One table wothout geometry with : Id Id route measure One table with linestring geometry and :Β Id Id route (the same) geometry I want to position my point data with the measure field along the line and generate a new Point Geometry
Hi, Iβm struggling to tag a set of features with an ID, input data looks like the left case in this image:What I want is shown on the right. My input has a line of data with the ID, and itβs implied each record after that has that ID, until aΒ record resets the ID for the subsequent features.Β Hereβs a very similar example but differs from mine in that my ID is on a separate line:Β It seems like a Python caller might work, but Iβm not very handy with Python & FME. Any suggestions welcome.Β Thanks in advance!
The feature reader does not allow you to make a clip on the initiator geometry.Β I need to read a fairly large raster (13GB). Input I get some small zone geometries to analyze. The idea was to create a BBOX on the geometry and use the feature "Spatial filter: intersects or bbox intersects" to load only the part of the raster needed for the analysis. Even configuring intersects or bbox on the feature reader, in output there is always and anyway all the raster. This problem is great because it slows me down considerably the server side script.Β If you add a raster reader instead you can check the "Clip on search envelope" flag and it works. But without FeatureReader i can't give my search envelope by the initiator.Β Could this be a missing-feature?Does anyone have a workaround?Β I use the FME Desktop version 2019.1
Using FME Flow with Esri ArcGIS Software β FME Support CenterΒ If you are using version 2025.1+, you must download theΒ Esri ArcGIS ConnectorΒ from the Hub and use the new readers and writers. Workspaces authored in previous versions will need to be upgraded. For steps to upgrade, please seeΒ Working with Esri ArcGIS Feature Services in FME.Β Β Am I interpreting this statement correctly? There is effectively no backwards compatibility in 2025.1 for workspaces that connect e.g. to an ArcGIS portal?
Hello everyone,I have a question regarding a workflow/tool. I work in the railway sector and would like to automatically place overhead line masts on points and then rotate them in the direction of the tracks so that they stand perpendicular to the track axis. I have an FFS file of the 3D object, a point file, and a polyline that represents the track centerline. The placement of the 3D object works perfectly, but I'm having trouble rotating the object as desired.At the moment, Iβm using the "NeighborFinder" tool to obtain the track alignment information, then the "CenterPointExtractor" tool, and finally the "3DRotator" tool to rotate the mast accordingly. I do manage to rotate the masts, but not in the correct direction so that they are perpendicular to the track axis.Does someone has an idea how I could proceed?Thanks in advance and best regardsΒ Β
The AttributeValidator fails nulls when validating for various types.Β Most of the time I would like it to pass nulls.The obvious work-around is using the NullAttributeMapper to map nulls to some acceptable value for the validation but:a) this is a pain because you have to do it for all attributes you want to checkb) you have to change these valuesΒ back to null afterwards so as to not send spurious data to the writerAny more elegant way to do this?Perhaps a custom transformer to do the work-around and the AttributeValidator within?Or should this be an βIdeaβ for the AttributeValidator, i.e. Option: pass nulls?
I am trying to do a very basic read/write of an annotation feature class from one file geodatabase to another. In my case, Iβm first running a PythonCaller transformer to remove any andΒ all annotation feature classes in the target file geodatabase, then I use a FeatureReader to read the annotation feature class from the source file GDB, andΒ then run a FeatureWriter to write the annotation FC to the target geodatabase withΒ βInsertβ and βCreate if Neededβ options selected for the table, which I assume is creating a new annotation feature class in the target FGDB.Regardless of minor tweaks I make to both the FeatureReader and FeatureWriter transformers, FME Flow keeps writing these as individual features instead of bulk features. There are ~450k annotation features in the feature class, so running this by writingΒ individual featuresΒ takes over an hour, which will not work for our scenario.Interestingly, the first time I ran this in an earlier workspace, FME Flow used the bulk feature sett
Hey, Β I am trying to create a workspace with a HTTP Caller, that needs a Bearer token. Β I use an earlier HTTP Caller to obtain the Bearer token with a login call. This is put into an attribute, which I then edit to add the phrase "bearer" infront of. Β After which I want to use this attribute as a header in the next HTTP Caller to do the call I'm interested it. Β This does not work, It gives me a error 401 Unauthorized, but if I copy and paste the bearer token into the header manually, it works. Β Anyone any idea why this happens?Β Β Β
In FME 2016 there were a possibility to set how geometries would be stored in the MSSQL writer. For instance, Arcs could be stroked with a setting within the writer when stored in the table, without using the Arcstroker-transformer.However, in recent version this isnΒ΄t possible any more.Β My problem:I have a set of polygons in a MSSQL-database table (let's call it table 1) that was written thru the 2016 MSSQL-writer. (The original data is stored in a different database (oracle) which i use to update and create new data) Β I then use FME-server to write all the data (edited, new, untouched ) from Oracle to a different table i MSSQL (let's call it table 2) each night . The MSSQL database then comapers the areas of the original table (1) and the comparison table (2) which I'm writing data to each night. I do this check to see if I got any new, deleted or changed geometries (area comparison) before posting them to the "correct" MSSQL-Table (1).Β When I changed to a newer
Hello.Β I'm trying to host FME Server under AWS's Application Load Balancer (ALB).Β A SSL certification (which is provided by AWS) is attached to the ALB and ALB listens to 443 port.The EC2 insance runs FME web application on the standard HTTP port (80).Β Let's say the domain I host FME Server is mysite.com.When I open https://mysite.com , the browser redirects to http://mysite.com/fmeserver/ (port 80) instead of https://mysite.com/fmeserver/ .Β How can I configure FME Server web application to redirect to https ?Β EDIT:I'm using Ubuntu 20.04.FME Server installer is https://downloads.safe.com/fme/2022/fme-server-2022.1.2-b22627-linux-x64~ubuntu.20.04.run
Hello:)This is incredibly petty, but as someone who lives in a country where βCommonwealth Englishβ is the standard for spelling (and not the Simplified English of North America), I wondered if thereβs a switch in the UI somewhere so that menu items and transformers are spelled correctly (correctly for me). For example: the NeighbourFinder, which, as is pointed out in the docs, is an alias of the NeighborFinder.Β Iβm waging my own campaign against the normalisation of N.Am. English in software across the English-speaking world.Β
Hi all,Trying to set up workspaces in Form that read files directly from my ACC project using a web connection. However, my project isnβt appearing under my Hub?Β Appreciate this is vague but any suggestions would be great!Β Update - there seems to be two environments - one linked to autodesk EU and one linked to autodesk UK - not sure if this is impactful!Β Β 2nd update - one (UK) environment i can install the FME app on Autodesk but on the EU one i dont have this option - will the project not appear if the Autodesk FME app is not installed?Β ThanksΒ Β
If youβve watched my FME Realize video, you probably noticed a sleek toolbox full of colourful buttons that launch different experiences like attribute popups, videos, inspection forms, and more.π₯ Havenβt seen it? Hereβs the link β grab popcorn, itβs about 9 minutes long πΏThese buttons arenβt part of FME Realize by default β theyβre generated entirely using an FME workspace. To make it easier for you to create the same kind of toolboxes in your own FME Realize projects, Iβve created a custom transformer called HTMLToolboxGenerator.What it does:Outputs clean, mobile-friendly HTML with up to 9 buttons; Lets you define button names, icons, colors, and links via parameters; Optional dynamic filtering: you can show only the relevant buttons per feature type (e.g., a catch basin might only need three buttons, while a hydrant might need six).Even though itβs designed with FME Realize in mind, it produces standard HTML, so you can also use it in any web context where a small, smart launcher