Using transformers to modify data.
Recently active
hi everyone! some of my line features (ex. pipes) have text features floating above (top left) of the line, describing what type of pipe it is. I want to add that text as an attribute field to that feature. but also not all of the lines have one and I want it to only match if it's describing that feature (not grabbing a random text field nearby). This is my workflow so far, with some brief descriptions. I'll also note that everytime I've tried to use neighborfinder, the autocad_text_string AND fme_text_string values of certain lines show numbers (ex. 356.77, 623.44) instead of the descriptive text it should have shown. im guessing those are possible distance values it’s grabbing….I've been trying this for hours and would appreciate any help given. thanks in advance! my workflow is attached below.
Hi All,I am working on an automation process to generate cutlines for use in a map series. These cutlines must have a consistent length and be positioned within the overlapping areas of the map sheets. In addition, the cutlines need to follow the orientation of the main alignment to support accurate mapping production. Below is an example illustrating the challenge: I have tried several workarounds, but I have not been able to get it to work.Any ideas?Thanks :)
So im reading the dwg file to fme, than just want to put it out to elswhere, while converting the elements to an autocad block. The problem is that no matter how i parameter the feature writer, it messes up the output dwg file. So the elements need to look like this:But after writing out to the new dwg they look like this mess:I also put the feature writer parameters here:I tried to aggregate the features, in that case this problem doesn't occur, but than i loose all the colors and other attributes, which is not an option.
Hello all,I would like to automatically record different Output Port names into one new attribute. So in the newly generated output file there is al column with the name of the Output Port and a column with the value from the TestFilter.Desired outcomeI know it is possible to do it by hand, place a AttributeCreater behind every port and fill in the Output Port name. But I have a large number of TestFilters, and to avoid errors and keep things organized, I would like to do it automatically with one AttributeCreator/AttributeManager.If the AttributeCreator/AttributeManager is not the correct transformer, or I need two other transformers that do the job, that would already make a big difference to me. A snipped of my workbenchI have asked AI for answers, but there was none that worked. AI referenced mentioned the following options: fme_feature_type and @portname(), which for me resulted in a column containing the text "fme_feature_type" or in the second case "@portname()", but not the
I was busy creating a Custom Transformer and wanted to link a Published Parameter to the Advanced Parameter 'Maximum number of iterations’. However, the dropdown option shown below did not pop up. This screenshot is showing a workbench derived from this tutorial:Looping with Blocking Transformers – FME Support Center Any clues?
Hello, I use the TemplateToDocumentBuilder. All numbers are formatted equally. I would like to format as current. 4233,78 --> 4.233,78 €How can I do this?
Hoping someone could provide me with a comlplete example of how to use fmeobjects.FMEFactoryPipeline() in a PythonCaller Specifically I would like to take points as in input and use the SurfaceModelFactory with the undocumented parameter MAXIMUM_EDGE_CALC_LENGTH to hopefully produce a mesh with trimmed edges.
I am using feature reader to connect to an ArcGIS Online feature service.The feature service has multiple layers in there. I want to use a where clause against 1 layer only to filter the results from that table, but not apply the where clause to the other tables.
In the column 'knoopnr', each feature consists of a fixed ID (in this example 'HT005500') and a variable ID (B1, B2, BL1, ...). The fixed ID is therefore identical for every row within a project, but it differs from project to project. In another project, for example, the fixed ID could be 'KWL735' for every row. Is it possible to identify the fixed ID and retain only the variable ID?
I am trying to join SQL data with csv data. The field coming from SQL is uint32. The field in the CSV is Char but converted to uint32. Im joining the sets on this field and I get no matches. here is the SQL data:Here is the CSV date after conversion to uint32:Feature Joiner information:Ive tried the following:Changing comparison mode between numeric and automatic - no change Changing both datasets to be char(4) - no change used Feature Merger - no result change.What am I missing here?
Hi, Is there anyone able to make the Quebec Adresses Geocoder work ?https://servicescarto.mern.gouv.qc.ca/pes/rest/services/Territoire/AdressesQuebec_Geocodage/GeocodeServerI can’t make it work and don’t know why.Thanks!
Found that I had an old thread on the same subject. My question now should be: Are there any new methods that are faster than those suggested in the thread above? --original question---I am trying to speed up a work bench. What I have: DTM georasters where the highest (statCalcMax) cell value of each raster has been extracted into an attribute. The other cells have been given a nodata value. What I want: I need to find the x-y postiton of the cells that have a value in each raster as fast as possible. I would like to find a way to somehow filter out only pixels that have a value before any spatial/geometry processing. What I tried but found to slow:The methods below convert the cells into points before identifying the cells I need. This makes them really slow.RasterPolygonCoercer › CentrePointReplacer › CordinateExtractor RasterCellCoercer › CordinateExtractor PointCloudCombinerAny ideas on how to find the position of the desired cells with as little spatial/geometry processing as pos
Hello All!I am trying to geocode a series of addresses that are in a CSV using a geocoding service on Portal/ArcGIS Server (11.x). I have the web services connection authenticated and specified in the tool, and have tried the URL with and without the “findAddressCandidates” section - the results are still being rejected stating that the address hasn’t been supplied. I’ve also tried using a string concatenator to create the address string before connecting it to the Geocoder transformer & I’ve also tried to call out the address using its individual components using the text editor and calling out the specific fields in the format of “100 Street Name, City, State Zip”.I feel like there’s something obvious that I might be missing - I’m just not 100% sure what it may be. Thank you for the help in advance!
Good morning yall, Im banging my head trying to find the issue as to why I cannot read this.I have TemppathnameCreator before my google drive connector. google drive is saving a folder to that temp locationfeature reader is supposed to grab that drive folder and read a csv out of it.Ill paste some screenshots below. Hopefully is some setting in the feature reader. Much help is appreciated!
Trying to understand how the AreaGapAndOverlapCleaner works. Set to Fill All Gaps No and Repair Method Priority (Edge Preserving) with a tolerance of 1mSo why does it change the boundary of this polygon where it neither overlaps or is a gap (it’s the edge of coverage)
I’m having trouble finding examples for JSONTemplater when working with a JSON array input attribute.The incoming data looks like this:{"layers": [ { "defaultVisibility": true, "geometryType": "esriGeometryPolygon", "id": 1, "maxScale": 0, "minScale": 0, "name": "Parcels", "parentLayerId": -1, "subLayerIds": null, "type": "Feature Layer" } ]}I’m interested in extracting the first array member id value into an object like this:{"layers": [{"id": 1}]}I can almost get the data into what I want in two steps, first extracting the value with a query json["layers"][0]["id"] and then using the JSONTemplater to use the id value, but bizarrely the value 1 is cast to string “1” byt the templater, which is invalid for downstream work.Anyone know how to make what I want in one step with JSONTemplater? Thanks.
I have rasters with one alpha channel and one grey channel. I need to ensure that the grey band is grey8. How do I coerce only the grey band and leave the alpha band untouched?The RasterInterpretationCoercer will change both bands and I have not found any other transformer that fits my requirements.
I’m trying to run some workspace through Task scheduler with FME Form. I’m using an Emailer package and when I run the task as my user, everything is fine. But When I run it as local system it always fails as it can’t find the package. I tried defining Shared folder and setting up environment variables, but couldn’t make it work.As for setting up shared connections it works fine, but not with packages.What would be the right setup for this?
I’m trying to convert those attribute values whichever has comma into an array.Attribute A has values - "ABC" and "ABC","DEF" and "ABC","DEF","GHI".Desired output -“ABC”["ABC", "DEF"]["ABC", "DEF",”GHI”]Any inputs are appreciated. Thanks very much!Tagging @danilo_fme , @david_r
I am trying to create a single ArcGIS Enterprise Feature Service that contains multiple layers using the Feature Writer transformer using the ‘Esri ArcGIS Feature Service’If I run it for a single layer, it works fine but as soon as I try for multiple layers, it fails with an error message.“No layers/tables are found matching the name ...” Are there settings that need to be enabled to allow it to write multiple layers or does it only work for a single layer?
FME 2025.1.3.0 Build 25643I downloaded the new ArcGIS Feature Service Package and set up a connection using the Esri ArcGIS Online OAuth Web service. When I attempt to insert a new feature into an existing AGOL feature service using the default values of the Esri ArcGIS Feature Service format, I get a warningWARN |ArcGISFeatureServiceWriter: The field 'GlobalID' has a NotNull constraint, but it is NULL, missing, or empty. Skipping feature...The feature is not committed but the FeatureWriter or Writer (I tested both) shows success and the number of features written as 1. Without reading through the warnings, I wouldn’t know there was a problem.Since I’m inserting a feature I don’t have a globalid! And the field is noneditable in the feature service, so it seems like an odd error.Messing around with the settings I found that if I made sure the GlobalID field was exposed in the User Attributes and in the Advanced Parameters “Use GlobalID” was set to Yes, then the feature would insert. Bu
Ya, tokopedia memiliki WhatsApp resmi yang bisa langsung di hubungi di Nomor +62859^3460^8879.
Hi all,I am fairly new to FME. What I wanted to implement I was able to figure out with the community here or the trainings at the Safe academy. But now I struggle as I do not understand, where my mistake is.Goal: I need to write features with a dynamic schema. So, I added via Readers a “Reader as Resource”. It is an Excel file from where I want to use a specific sheet. There a added my columns which shall be written to my target source. Writing a FFS file works as expected by using the following configuration.One important note: a sheet in excel has a limitation for the name. As I need to create a dynamic workbench which can read different source files and handle a different amount of dynamic columns per source file, I want to name it like the feature type - but shortened to what Excel can handle.Dynamic Schema Definition configured and working As I need also to write the same data to an EGDB, I use the JDBC format - with the same configuration: This does not work as expected. I have
Hi all!I’m looking for some possible help with my FME workflow (dwg to geodatabase). I have a DWG reader followed by several geometry transformers, and the geometry is working well. Where I’m stuck is the attribute schema.I have a CSV/Excel file that defines my target schema. it’s structured row-by-row. each row represents a single attribute, not a feature. All the attribute fields are under the same "attribute_value" column. So, each feature class is represented by many rows. For example, electrical pole has 8 rows—one row each for pole_id, owner, project#, etc.—all sharing the same source layer, output feature class, and dataset. Another feature class (vegetation) follows the same pattern but with fewer rows because it has fewer attribute fields.I need the geodatabase to have each feature class only contain the attributes listed for it in the CSV, and nothing extra. I understand this requires a dynamic writer, but I haven’t had success yet. I currently have a SchemaMapper set up just
In the answer to this questionEsri ArcGIS Feature Service - Reads Dates as Epoch Milliseconds | Communitya URL is given to the FME hub which doesn’t match the address I’m used to seeing for FME Hub, crucially the info on this package is all quite different too This is what i’m familiar withhub.safe.com/publishers/safe/packages/esri-agolEsri ArcGIS Connector - FME Hub and this is the link providedhub.fme.co/publishers/safe/packages/esri-agolEsri ArcGIS Connector - FME Hub