Using transformers to modify data.
Recently active
Hi guys,im using a CSV file + feature reader to manage SDE feature classes get read into my workbench. In this csvI also have a list of filter and attribute to keep/rename for each of these layers, im wondering what's the best practice to do this - is there an easy way i can apply my csv file rather than repeating tester / attribute renamer for each layer? thanks guys as always!
Hello! Not sure where to put this. I'm sure others must have tried this and figured it out before. We have a spreadsheet with 10 tabs. 3 of those tabs we'll have automated via an FME workspace. Question 1 - Is it better (or easier) to purely overwrite or append? We have an excel template set up as the formatting (font size/ auto height) need to be followed. The scenario here is we are keeping track of communications and creating a new row each time there's a new communication. Is anyone able to share a screenshot of what the parameters should look like? I am getting confused by truncate/insert/update, templates and named range and how they all work in this situation. Is it possible to only overwrite the three tabs or if I select overwrite does that imply the whole spreadsheet. I notice there are two sections to control parameters I'm a little bit unsure of setting up a named range since the list of communications will continuously grow. There are still those other 7
My question concerns when a resource is read when using a dynamic writer. Is it read at the start of the process or immediately before needing when dynamically writing? I am modifying the xml schema in my workspace and overwriting the file. However from what I can see the resource has already been read and applied as the schema. Should the resource be read just before the writer needs it or at some earlier point? Could I use an attributefilereader to read in the xml as an attribute and use this as a schema attribute just before the writing bypass this issue? Thanks,Ian
Hi All, I'm working on a workflow to identify if line is perpendicular and shows the same X at both vertex . Below a screenshot that shows a line pointing to the north but the X (top vertex) is different to X (bottom vertex). The aim of the is fail the lines which are not perpendicular and show different Xs, I was thinking about TopoBuilder but can't get it to work, Any ideas? Thanks :)
The netcdf format is new to me. I have created a multiband raster with 50 bands. Each band contains values for 1 day. My workflow looks like this: The sampler to the left is for testing only and lets 7 bands go through. The listbuilder creates a list of values for the 'days_since' variable. I want to use these values in the writer for the 'netcdf_band{}.coordinate_variable{}' port.How do I apply this as a list? At the moment I have to apply them individually day for day in the attribute manager before the writer.This works but is obviously not scalable. Any help in this matter would be much appreciated - I have thousands of bands to include! :)
While reading a gpkg file, I am getting the following error, Does anyone know what i can get over this error?
good morning fme intusiasts I need your help. I have to convert .RGB files to .ECW and unfortunately I have no possibility to install "https://gdal.org/programs/gdal_translate.html" GDAL_Translate, which would save me a lot. it is about the "Intergraph Raster Reader/Writer" (https://docs.safe.com/fme/html/FME-Form-Documentation/FME-ReadersWriters/ingr/ingr.htm?Highlight=intergraph) Is there a possibility to use this reader/writer ? Kind regards Michael
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.