A space to discuss FME Form
Recently active
I have two polygons which overlaps and I use transformers to have the intersection (I tried Clipper, AreaOnareaoverlayer, spatialrelator and intersection) . So, it created a new polygon (the overlap of the two polygon.) The problem is that this new polygon belongs (in the attribute table) to one of the two polygon (The feature name of the new polygon is the name of one of the polygon) but I would like the name of the both polygon even if it created two overlap (the same but one with the name of the first polygon and one witch the second). Thanks you
Hi, I'm using containerised FME Server 2021.0.3 deployed by helm charts to the Kubernetes cluster. UI of FME Server is often slow in performance, for example, "Jobs -> Running, Workspaces or Files & Connections" subpages are loading slow (10s or more). My resources for FME Server components are set like that without limits:resources: core: requests: memory: 4Gi cpu: 2000m web: requests: memory: 1Gi cpu: 500m limits: memory: cpu: queue: requests: memory: 128Mi cpu: 300m websocket: requests: memory: 512Mi cpu: 400m(...) engines:(...) resources: requests: memory: 4Gi cpu: 800mAdditional info:I have an external PostgreSQL 12.9 database with resources: 1CPU, and 4GB RAM for this FME ServerI have an external NFS where I keep all /data/fmeserverdata files mounted to containers as volumes (NFS read/write speed -> 91.8 MB/s) What can I do to increase UI performance? What are recommended
Hi, I have to transform a series of points to a line consisting of cubic Bezier curves. I couldn't find a function to do that in existing transformers or the Python API of FME Objects. The Generalizer (NURBfit algotirhm) creates a spline curve, but it's not exact cubic Bezier curves. The expected line has to pass through the both ends of each 3 segments. So, I wrote the following script. Is this the "re-invention of the wheel"? If you know an existing function (transformer or Python function) that creates cubic Bezier curves based on control points, please let me know. ----- import fmeobjects class CubicBezierCurveReplacer(object): def __init__(self): self.set_coefficients(32) def set_coefficients(self, n): self.n = n r = 1.0 / float(self.n) s = range(0, self.n) self.k0 = [(1.0 - (r * m))**3 for m in s] self.k1 = [3.0 * (r * m) * (1.0
is there any Geometry smoothing function in FME needs polygons edges smooth
Hello, I have some polygons which overlaps and every polygon is a featureI succeeded to have in attributes the name of polygons which intersect the feature (the 1st polygon).Now, I would like to know how can I have the name of the polygon which intersects the most the first polygon. Thank you!
Hi everyone, I have a XML question.I got an XML structure from filegdb_polygon via GeometryExtractor (GML 3.2.1) and XMLFragmenter:<gml:Surface gml:id="ID_1" srsName="MysrsName" srsDimension="2"><gml:patches><gml:PolygonPatch><gml:exterior><gml:LinearRing><gml:posList>"list of xy coordinates"</gml:posList></gml:LinearRing></gml:exterior></gml:PolygonPatch></gml:patches></gml:Surface>However, my XML structure should look like this:<gml:MultiSurface srsName="MysrsName" gml:id="ID_1"> <gml:surfaceMember> <gml:Polygon srsName="MysrsName" gml:id="ID_2"> <gml:exterior> <gml:LinearRing> <gml:posList srsDimension="2" count="####">"list of xy coordinates"</gml:posList> </gml:LinearRing> </gml:exterior> </gml:Polygon> </gml:surfaceMember></gml:MultiSurface>I used XMLUpdater to delete the attribute/gml:Surface/@srs
Hi all.I'm trying to consume a WFS service (Geoserver), which for some reason only works as version 1.0.0. This even though that the capabilities document clearly says 2.0, and accepts all versions.In versions 1.0.0 (and 1.1.0?) the parameter "typeName" is used to specify the layer (feature type), but this is later renamed to "typeNames" (with an S).I get an HTTP error 401 from the service when attempting to fetch data in version 1.0.0, but the very same URL works if I just add an "s" to "typeName".Can FME be tricked into instead using or adding the "typeNames" parameter?Actually, URLs may contain both "typeName" and "typeNames" parameters with the same value, which would make the requests robust against version problems. Can this be achieved?Cheers.
I try to retrieve Data from the Microsoft Intune MDM using OData. The OData FME Reader only supports Basic and NTLM Authentication thought and dhe OData REST API only supports OAuth so I had to resort to the HTTPCaller. This is similar to this Question I created a new Web-Service from the "Microsoft Azure Active Directory (Template)" template and extended the API Permissions in the Azure Portal for the Client App with the get_data_warehouse Permission. I already created it for the "Microsoft SharePoint Online" Web-Service (which works fine using the SharePoint Lists Reader).Authentication URL:https://api.manage.microsoft.com/get_data_warehouse" alt="https://login.microsoftonline.com/e0aedced-9266-403b-b320-a41XXXXXXX/oauth2/v2.0/authorize?scope=https://api.manage.microsoft.com/get_data_warehouse" target="_blank">https://login.microsoftonline.com/e0aedced-9266-403b-b320-a41XXXXXXX/oauth2/v2.0/authorize?scope=https://api.manage.microsoft.com/get_data_warehouse offline_access&respo
Sorry, I'm new to FME and don't know which transformer to use. I am working on an FME project that is currently getting an XML response using an HTTPCaller. The Output of the HTTPCaller has many "attributes" and then the Output is passed to an XML Fragmenter. The XML Fragmenter output is the same but has one new attribute pulled from the XML response. It then is passed to an XMLQueryExtractor which then adds another attribute. I need to get the value of a tag and I'm wondering if I should add an XML Flattener or Fragmenter or perform this in the XML Query Extractor or some other transformer.an example of what I need is the value in <sub3> in the following XML example and save it to a variable for later use. <Root><sub1><sub2><sub3>value</sub3></sub2></sub1></root> Thank you
Hi.I'm exploring the possibility of making request to a secure server using FME.The webservices to be called require that the requests are accompanied by a company or function certificate. It will typically be stored in a certificate repository on the machine.I can make it work manually using HttpCaller with authentication = "Single Sign-On", but this prompts me for a certificate password every time, and the final script needs to run fully autonomously (on an FME Server).Any help is appreciated.Cheers.
Since upgrading to Desktop 2022, my workspace no longer reads my portal feature service writers. I have ArcPro and ArcDesktop on the same computer as my FME Desktop license. Does anyone know what could be causing the connection loss?
Hello I have 4 different IFC models and wish to merge them into one. Could you please help me ? thanks in advance.
I am trying to clip a point cloud using the values of a csv using the reader, but the PointCloudFilter transformer does not accept the @Value() field. I am at a loss now. Any help would be great.
I'm trying to convert datetime values in ISO format to FME, because PostgreSQL database refuses to write that value as "timestampz". I have tried to both autodect and %Y-%m-%dT%H:%M:%S$The preview show correctly the conversion:But the ouptup stays the same:Any hints? Thanks
On this picture, i have a circle which contain a polygon.I would like to know how i can obtain this circle when i have the coordinates like in this picture.The circle doen't pass by all the points.Any tips and trick ?Thanks
I have an OBJ file that I am converting to a Multipatch in an Esri FileGeodatabase. The process mostly works but the colored mesh in the georeferenced OBJ file appears as a white mesh, with no color, in ArcGIS Pro. How can I preserve the detailed colors?
Hi Safe team, Do we have an idea on which formats support mesh vertex colors? I can't see Information in the quick facts area for formats (e.g., OBJ) about vertex color support. It seems like it's becoming more an more common to see mesh objects with vertex colors instead of a texture. I'm just wondering what formats FME can read and write to where vertex colors are supported. So far form testing I can see OBJ supports reading them? A follow up question, is there anyway to convert these to regular appearances or a texture atlas for formats where the vertex colors aren't supported? Perhaps @daveatsafe has an idea?
I am using Data Interoperability (Build 21302) from Pro 2.8.4 to frequently refresh tables in an ArcGIS Enterprise Geodatabase. The tables are registered and published to Portal. The client is using the data in web maps, apps and dashboards in ArcGIS Enterprise Portal and require specific web layers to have little or preferably no time where it's empty of data. Instead of using the Truncate and Append to Existing table in the ArcSDE Writer I am using the ChangeDetector to set all new features coming in as both "Inserted" (containing the latest data / timestamp) and "Deleted" (data from 5mins ago) then in the writer match by Unique ID. From testing this enables a "seemless" refresh with minimal time of the table appearing empty in Portal. Is this method at all stupid or precarious? If so, what is a better solution. Additionally is it risky to read in and write to the same table in the same workspace? Background Notes:One frequently refreshed table can
I am running a workbench to split transactional work orders onto different worksheets in an .xlsx writer using FME 32-bit 2021.1.6 We have hit the 2gb memory ceiling due to the number of rows, as a work around I have installed the 64-bit version, but now i find where before it took a few minutes to write out the .xlsx output in 32bit the 64-bit seems to slowly parse through the feautres as it write them out, its much slower over an hour and I stopped the tranlsation. Is the performance really so different in 64-bit?
I have this workbench in which I combine multiple CSV-files and write out to one Excel-file. the file contains aprox. 190K rows. In the previous FME version (2020.x) I used this workbench it took a few minutes. Now the XLSXW is taking hours to write the output. Did something change in the way the XLSXW writer functions? I did a test by writing to a CSV file, this took seconds to complete, so clearly the problem lies with the Excel writer. Hopefully someone knows about a fix. Cheers, Jaap
Hi,I am wanting to upload files to an instance of NextCloud as part of a distribution service for an department; this would consist of uploading a zipped folder/files to nextcloud, before emailing a link with the data (with shared permissions) to the requester.I am running FME Desktop 2020.0.3.0, I am able to figure out how to download via the HTTPCaller (GET with specific URLs), but uploading (PUT or POST) does not work.Has anyone figured out how to utilize HTTPCaller with NextCloud fully?Thanks! https://docs.nextcloud.com/server/20/user_manual/en/files/access_webdav.html
What the differences between XML and AIXM?
Hello, can we convert .shp files, to aixm (.xml) ? and how to convert them, thanks
I followed the steps in Example 2 here to switch my table columns to rows: https://community.safe.com/s/article/transpose-a-table-using-fmeIs there a way to keep the original column order as the new row order after the table is transposed?Using the counter/sorter, as outlined in the example does not give me the desired order of rows.
Hello, I want to select building polygons that are completely contained by an agglomeration boundary polygon - I have been trying this with SpatialRelator and SpatialFilter, however whatever setting I try the transformers always seems to split the buildings that cross over the agglomeration boundary, separating them into two features. Really, what I am attempting to do is just filter through those building polygons that are completely contained within the agglomeration boundary, and disregard those that are partially within and partially outside of it. Appreciate any advice on how to facilitate this.