Using transformers to modify data.
Recently active
I'm using the HTTPCaller to read in an MDS data feed that I would like to convert to an AGOL line feature by connecting the points together from the "route" attribute. I'm able to extract the attributes for each trip in the dataset using the JSON Fragmenter and JSON Extractor, but I'm getting stuck on creating the geometry. How can I take each point coordinate from a trip and connect them into a line and keep the trip attributes associated with it? Example of the JSON format is attached.
I have a report coming out of an out-of-the-box Vertigis Studio workflow that is written out as multiple excel files. Each has the title Results (number) e.g. Results (1), Results (2). (The dataset name is exposed as the tab name, for some reason and not the file name). If I were reading a group of spreadsheets with the same structure, I would just set the reader to read *.xlsxw, and it would be non problem. However - here I have differing attribute schemas. The datasets called by each report vary depending on a spatial interaction, but come from a finite list of possibilities. And as I say, the attribute schemas can vary. I need to read all files of the output, expose attributes and write out into a single excel sheet, fanned out by dataset (presumably using the FME basename - is it possible to grab the tab title instead?) I have done the reading thus far using a Reader set as pic attached ...however, this isn't dynamic. Moreover, this workspace needs to be usable by a relativ
Hi everyone, If I want to change a numeric value of an attribute, I tend to use the ExpressionEvaluator. I kind of see it as the 'transformer equivalent' of the Arithmetic Editor. Is there a 'transformer equivalent' of the Text Editor as well? I guess there is the StringReplacer, StringConcatenator, AttributeManager, etc., but which one would be the best/most efficient to use? And speaking of efficiency, I have another question regarding transformers. A colleague of mine told me a while ago that, for debugging's sake, it is wiser to use e.g. an AttributeCreator, AttributeRenamer and AttributeKeeper in series instead of using a single AttributeManager to perform all those tasks in one go. I tend to agree with them on that, but does this also have any consequences for performance? I can imagine the difference being minimal, but best practices and all that. Thanks in advance!
I've always had a hard time with XMLUpdater, but it usually ends up working. This time I just can't make sense of the errors and how to solve it. I have two XML, I want to take elements from one of them and use those elements to replace the elements in the other XML. If I take the exact text from the XML-fragmenter at create an attribute containing just that, the XMLUpdater accepts it and produces the expected result.If the XMLUpdater is part of the same flowpath as the XMLFragmenter the XMLUpdater will throw an error.I even tried putting it into a new attribute with different datatype. Can that be right?? The attached workspace is made in FME 2023.2 but the error is the same in FME 2022.2.Any help or ideas is appreciated.
Hi.I haven't really used XML Updater before, but is now tasked with trying to update certain sub-elements i a large hierarchy. I'm trying to update QGIS project files (QGS).I've extracted the needed replacement tag with content, and routes them in via the "update" connector. But I'm stumped wrt. how it's set up correctly.My XPath is set to be this: //field[@name=fme:get-attribute("fieldname")]/editWidgetThis is the location of the tags I want to update (replace) in the source XML file.But it doesn't replace anything, and it errs with this somewhat cryptic message in the log:XMLUpdater(XQueryFactory2): The following error occurred while executing query number 1:XMLUpdater(XQueryFactory2): The following error occurred near line 2, column 26 of the query:XMLUpdater(XQueryFactory2): invalid expression: syntax error, unexpected "type"My replacement XML tag looks like this (example):<editWidget type="TextEdit"> <config> <Option type="Map">
I'm using Python Caller with the module ifcopenshell to validate properties and naming of Ifc entities.To do this im also using an excel file that lists the requirements, and the script is now dynamically creating attributes based on the excel file. My challenge is that i want to write a excel file with the results, but i dont want to manually decide wich attributes to expose so the reader can access them.Is it even possible?
I have been working with the following workflow:Bufferer to buffer the buildings with 50 meterClipper to clip the vegetation to the buffersSpatial filter where "BuildingBuffers OGC-Contains Vegetation". The vegetation is the candidate.Area calculator of the resulting areasStatistic Calculator to sum the calculated vegetation area for each building ID. The result is missing data for many of the building buffers. I think one problem is that the vegetetad areas only are counted once, while in reality they can be included in many of the building buffers. Do you have any advice?
I have already included the network network utility package xsd file from github and followed the import instructions but now I do not know how to map the shapefiles to this network utility ADE in FME. The ultimate goal is to include this heating network system in my citygml model in cesium (3D tiles). Currently the cityGML is without the heating system
I have two seperate features classes - holes and polygons. I simply want to merge them with disolve by grouping by a certain id. However output has lines at the border of the holes. How can i get rid of them? Holes are brown and Polygons are pink in the picsAfter dissolve This is before dissolve
Hi All, I'm running a workbench that worked fine in my last FME ('22 now running '23) on the same files. These are the errors I'm getting below - I'm thinking this could be something with the new FME and coordinate systems? Any thoughts are appreciated. Feature Caching is ONThe workspace may run slower because features are being output and recorded on all output ports regardless of whether or not there is a connection.AutoCAD Reader: Failed to retrieve or apply texture for mesh entity. Texture must be file based with a valid path. The texture information will be skipped... Last line repeated 9 times ...Further instances of this message will be suppressedAutoCAD Reader: Failed to retrieve or apply texture for mesh entity. Texture must be file based with a valid path. The texture information will be skipped... Last line repeated 9 times ...Further instances of this message will be suppressedAutoCAD Reader: Failed to locate or read world file. Geometric attributes wil
Hello I'm currently transforming a GeoTiff in a point raster using centerpointreplacer. I have a grid of points every 100m.The next step is to add 8 attributes for the 8 neighbours (or less if the point is on a border) and in each attribute set the slope from this point to the neighbor [in %].I have z values for each point, I don't know how to get the distance between 2 points and how to add the attributes according to the neighbors.Maximum distance for neighbors: @sqrt($(Resolution)^2 + $(Resolution)^2) * 1.1 Thanks,Antoine
The second image represents the two input layers. It is possible to see that there are shifts between the layers. Following the AreaOnAreaOverlayer (fig. 2), “intermediate” polygons are created. I performed a TestFilter to identify polygons <= 1. Now, I would like to dissolve polygons less than or equal to 1 on the rest of the polygons according to a specific attribute (OBJECTID_CAD). Indeed, I would like to respect as much as possible the geometry of one of the two layers (which was created by surveyors).
I have a column of health conditions for individual patients.Often patients have multiple health conditions. If they have more than one, then the conditions are seperated by a ; (Some patients have up to 5 separate conditions)I need to find out how often individual health conditions feature. ie how many times is "Arthritis" listed as one of the health conditions? I've used the Attribute Splitter, using the ; as the delimiter. This creates a list of the health conditions, I've named the list "Health_Conditions". I now want to find out the number of times each health condition appears in the list / exposed values of the list. ie how many times does eg "Arthritis" appear? And how many times does "Diabetes" appear? Note: From the screen shots below you can see health conditions can appear in any of the exposed value lists{} I've tried Statistics Calculator, Counter, ListHistogrammer but can't get the result I am looking for. Many tha
Hi,When using a 'File/Folder/URL' public parameter inside a GroupBox with Conditional Visibility of the user parameters, it doesn't seem to enable file upload within a published FlowApp. When you're editing the Workspace App in Flow the expected behaviour is working with a display window which allows you to upload a file. Also when running the workspace in Flow it works. Only doesn't work in a published app. Is this a known issue of FME Flow 2023.1.2 and Form 2023.1.2.0?Previous post and reply by Kelvin Jenkins seem to highlight this. Thanks.
what is the easiest way to automate adding previously created domains to a new FGDB in FME ? or is it possible to manually recreate them in AttributeManager (similar to how you can create alias') ? similar to how it is in ARCPRO show below
Hi, I can read an arcgis online feature service using fme AGO reader. The globalids all have a curly brackets in the inspector. Is there a way to write the feature to a new table without the curly brackets. Curly brackets are messing things up when using globalids in url links. thanks
Hi all, I want to save a step in my workspace by using AttributeManager to generate an ESRI Global ID (aka, a UUID with "{}" in the string value) with the @UUID() function. I do this with the @TImestamp() function, but I don't quite understand the syntax... @UUID(SIMPLE,UUID_FORMAT,[GLOBAL_ID|UUID_ONLY]) I've tried a bunch of different options, but how would I skip the "SIMPLE,UUID_FORMAT," options? All I want to stipulate is the GLOBAL_ID option.... thanks!
I'm trying to draw a box given four vertex creators, I couldn't get the polygon section to work from line builder - any tips on making this more efficient, I feel like four line builders is not the most elegant solution (although it works.) Thank you.
Hi,When working with visibility of published parameters through conditions in Form, is it possible to have multiple test clauses for a parameter?Similar to the Test transformer with logic "if", "or".Thanks!
If I run each reader individually (one-at-a-time) then I get correct output from each of the readers. If I choose 'Run Entire Workspace' then one reader only processes one record and the other reader processes normally. All feature classes are in the same file geodatabase. Any ideas why 'Run Entire Workspace' doesn't give the expected results?Thank you.
Hello,Is there a good approach to extrude only outer edges from top image? Images below extrudes all faces (internal as well) but am only interested in extruding (external faces). Basically thinking of top image as a building roof, altough it's a terrain and extruding to "walls". On the lowest image I used PlanarityFilter to try filter faces at bottom but doesn't feel like a good approach.Thanks.
I try to convert the attached dataset into ESRI GeoDatabase It failed following message. But there is not duplicated fields in my datasetThanks
The feature count is 0 after conversion from GML.There is no error. I got warning only. The attached are dataset and log
From my tests it seems apparent that the ShortestPathFinder only works correctly in 2D. The route will snap between different levels even through the network is noded correctly. Has anyone had any success applying a shortest path algorithm to a complex 3D network, for example a building containing multiple floors with overlapping routes/nodes in 2D?
I am trying to convert a custom S-57 format into a file GDB. I can upload the file if needed.