Using transformers to modify data.
Recently active
Hello everyone, I've a quite simple workflow but I'm stuck with error '500'. I'm trying to link polygons from hosted feature layer A (ArcGIS Portal) with attributes from a CSV file and write them into another hosted feature layer B (empty, with same schema than CSV file). The writer is configured to truncate and insert all polygons & attributes. I guess that this error is coming from the lack of unique ID for the new inserted polygons, since this field cannot be modified (see below) : ArcGIS Portal Feature Service Writer: Attribute 'objectid' on feature type 'Master_nutrition' is marked as read-only in the corresponding layer/table. Attribute values will be ignored. NB: same for "globalid, shape_length, shape_area" Similarly, I've a more complex workspace involving a "many-to-many" FeatureJoiner, with the same error. The solution is probably similar. I'm not sure how I should handle ObjectID or GlobalID for it to wor
This is very simple. I have two different point feature classes and I just simply to want identify which points overlay each other (several should be an exact spatial match) and transfer attributes when there is a positive spatial match. I first considered using PointOnPointOverlayer as I thought it was the most logical transformer but that doesn't seem to carry out a "spatial join" but rather 'aggregates' points based on proximity. I found that NeighbourhoodFinder with tolerance set to 0.01 was the closest tool to a typical GIS spatial join. Other options may include using FeatureMerger. Any suggestions on which transformer will work best here? This should be straightforward enough! Thanks.
Hello "Safers" Migrated from latest 2022 build to 2023 2 days ago.Noticed that some of my scheduled Automations failed and the issue is linked to the Excel Writer (The Writer itself or FeatureWriter) These workspaces have, obviously, worked prior to the upgrade for some time now.The Server log outputs the following for one of the workspace (Same error for the other workspace):-----------------------------------------------------------------------------------------------59 2023-6-19 10:01:01 | Emptying factory pipeline60 2023-6-19 10:01:02 | OneDriveConnector: Downloading file "MO-Emails.json" to specified folder "E:\\FME Workbench\\Planning Support\\LetterOfRepresentations\\JSON-Input"61 2023-6-19 10:01:02 | Creating reader for format: JSON (JavaScript Object Notation)62 2023-6-19 10:01:02 | Trying to find a DYNAMIC plugin for reader named `JSON'63 2023-6-19 10:01:02 | Loaded module 'JSON' from file 'E:\\FMEFlow\\Server\\fme\\plugins/JSON.d
Hello All, Am not sure if this have reached to FME support and experts to step in as i am struggling to extract CORRECT XYZ coordinates of this object ( i call this PLAT). What i am after is 4 vertices XYZ coordinates ( corner of PLAT FACE)1 centre point XYZ coordinates ( PLAT FACE)1 gravity point of this CUBE ( full object including the studs) I have worked on it for quite long but the results using the various transformer turns out to be incorrect when i compare it with the output from python output and actual survey of the object using total station results . It no where close or accurate. So please this have now become challenge to obtain correct coordinates using FME. Am attaching my FME workbench from what i know and have learnt things so far and sample data that i have am aware but am sure there is better and efficient way that you FME help desk and expert might be aware of . Thank you so much for all your help and support.
hi Everyone,This is a very specific error and I wondering whether it's a bug. Initially I tried using the FeatureReader with Spatial Filter, however then the whole ecw file needs to be read (14 gB) which takes a long time. I then tried using the normal ecw reader with the search envelope which doesn't need to read the whole ecw file before conducting a spatial operation. This works superfast for when I choose a number for Advanced > Pyramid level to Read from 3 to 10. I get the following output for level 3, however the picture is quite coarse as you can see. I would like to have the most sharp picture, thus ideally I would like to choose level 0, however when I choose a number from 0-2 then I get an error translation with no explaination about the cause of the error. I was wondering whether this a bug.
Has anyone experience the Data Inspector having issues when viewing 3D objects in 2D? Sometimes I get the Inspector into a state where the application partially freezes. It seems to happen when I switch from 3D to 2D. I'm unable to change what I see on the screen, however, I can see that the buttons at the top are responsive and the context menues. I switch back to 3D and it'S fine. It's only 2D which isn't working. Restarting the machine seemed to fix the issue but eventually it come back. Just looking to see if I have a faulty machine/config or if it's FME. Steps to reproduce: Open 3D Dataset (3D view opens by default) switch to 2D.
Context:The overarching goal is to extract certain categories of areas from GeoPackage files and then write the output as images with the R, G and B channels containing specific grouped categories.I've gotten this all to work nicely as long as the geographical area that we collect the data from contains all of the categories that is written to each of the channels. The issue now being that when one of these categories doesn't exist in the selected area - then the connections for that color channel wont be ran and I end up with a broken output. So what would be the best way of making sure the ImageRasterizer leading into the RGB channel creation is ran regardless of input data or not?Or would I be better off doing something completely different? I am currently working with a RasterNumericCreator to try and generate blank data to be supplied when other data is missing but all I've gotten is a mess trying to get the coordinates accepted by the nodes down the line.Using this me
Hello, I am trying to generate dynamic POSGIS tables from spatialite data, however I cannot seem to force FME to create POSTGIS tables with Point / Line / Polygon geometric columns, they get forced to Geometry every time.As you can see, I have geometry set from schema definition, I have disabled creation of generic geometry columns. My features look like this:However when I look into the database, the table created looks like this:SRID is generated correctly, but geom geometry(Geometry,5514) should be geom geometry(Polygon,5514)...I have found similar question, from 7 years ago, is it possible that this has not been fixed? They are using feature writer, I am using normal writer. https://community.safe.com/s/question/0D54Q000080hcErSAI/featurewriter-postgis-writes-generic-geometry-column PostgreSQL 13.10 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0, 64-bitFME: FME(R) 2022.0.0.2 (20220518 - Build 22343 - WIN64)
I have a feature class within a FGDB that contains 2631 fields that are named F1 to F2631 and looking to query certain fields from this main feature class to write out to a new feature class. For example the first i'm trying to write out as a new feature class I want to write out fields F1 to F40. Attribute Manager appears to struggle to remove fields F41 to F2631 when i try to use this transformer and crashes FME on me. I've been trying to figure out a way to query the fields i plan to remove within Bulk Attribute Remover but cant figure out how to complete the query? Any suggestions ?
I have 100 neighborhood finder, in each neighborhood finder the two input are matched and umatched from the first transformation and the two output are used as inputs in the next transformation, i want to used python caller for solve this problem
I have 2 DWG files are working with FME. How to FME transform automatically Block attributes to point (Block attributes in DWG file and tags in Microstation)File 1: FME transform automatically block to point with attributesorginal file 1: File 2: its not, FME is not transform block to point automaticallyOriginal file 2:How do i get the point with the attributes of block attributes like file 1 ?By the way with these 2 files i don't use "Preserve insert points" in FME
The webhook is coming from a hosted FS on AGOL set to respond to updates and creates. There are 10 'pieces' (layerids) to the feature service and I'm only interested in triggering a workbench when the layerID=0. I've imported the JSON keys and made them available to the filter action.I've tried many different formatting methods in the 'Contains' setting but no matter what I put in there the filter always fails and logs another message that it has failed. I've got a fairly simple workbench I'm trying to trigger with the automation but since the filter fails the workbench does not run.
Hi guysi want to create a kml file with jpgs inside (they are inside a local folder) and when i click on the location jpeg pops up......i have set up my workbench like thisEmbedImages-in-KML.fmwtbut the locations and the information about the jpgs FME is writing the right way ...but what i have to do when i want the jpg to pop up?write the path in a hyperlink or a special kml writer format attribute? Greetz and thxFranco
I have a workbench that uses the chartgenerator to create a simple chart graphic that goes into an automated daily email. image below:Blue line is the recent readings and the orange line is a limit (it looks static but it fluctuates throughout the year). I'd like to add a ten-day outlook to the orange line but the chartgenerator can't handle null values on the blue line, it throws the error:ChartGenerator: Non-numeric input provided. Please validate that the values of the "X Attribute","Y Attribute" and "Error Attribute" (if supplied) are numericthe htmlreportgenerator can handle the null values but when it's embedded in the email as html content the chart is not in the email, I am assuming it's being scrubbed out by outlook and am left wondering if there is a way to covert the html output to an image which can be embedded in the email. Desired output:
This is part of larger script, where the goal is to generate multiple rotation alternatives for a series of polygons. In this case, I have a 5-vertex closed polygon, where the midpoint of its "tip" is located in the center of the axes (0,0). What I am trying to achieve is, after generating a series of rotations from an arbitrary point -located in the feature's upper segment (see blue point in pictures below)- to calculate the shift in coordinates the rotation caused, in order to move the whole polygon accordingly afterwards, so the "tip" midpoint of the rotated polygon is again place at the center of the axes. Please see pictures below for better understanding : In picture one, the original position of the polygon is shown, where the midpoint of the tip is located in the center of axes. In the second picture, a clockwise rotation of 45 degrees has been applied, where the blue point has been used as an "anchor" (0,31).In the third picture, the shift
Hello,I have have two different html files coming into HTMLayouter :A costum html file bearing specifications for a drop-down menuA file with charts AND a table.Before those two html files are joined into one with the layouter the table exists. After it the table seems to be erased and only the charts appear. Three charts of this: Normally there should be a table like the table attched.
I'm trying to buffer a line then divide it into equal distance sections. I've tried chopper but the resulting segments are not equal length and some are split awkwardly. How can I accomplish this in FME?
As an eg. there are 4 records i wanted to check how many null values are present for each records .
I'm trying to write to a table in Azure SQL using a sde connection file.There is no error when running the workspace but nothing change in the table.What could be the issue?
P.S. When I have managed to get this to work, the attributes from the various features read by the FeatureReader aren't being written.
Within Sophos can exclude event id but as file locations for each transformer is different would have to keep adding them. Command used to install like below. Have excluded paths with no success. Is it possible to install transformers from command line rather than within FME application. Tried to use below command but file not found. Manual install may get round Sophos blocking . Thanks in advance for any advice supplied. pip install --force-reinstall --no-deps --no-index --find-links C:\\Users\\test\\AppData\\Roaming\\Safe Software\\FME\\Packages\\22800-win64\\PackageFiles\\safe.s3connector\\python --target C:\\Users\\test\\AppData\\Roaming\\Safe Software\\FME\\Packages\\22800-win64\\python\\safe.s3connector --upgrade --no-compile fme-amazons3'
I'm working in an Oracle database, where there are multiple duplications of features with matching geometry that shouldn't be in a table named "TDS71"."METADATASRF". There are millions of records, and I haven't found a native FME transformer that can handle this in a timely manner (Matcher, AreaOnAreaOverlayer, etc). So I'm experimenting with deleting the duplicates in SQLCreator. For now, I'm simply just trying to return all but 1 of the duplicated geometries, and will worry about deleting after I can identify them. The code below is returning many more features than expected. I'm not really sure why to be honest. For example, a feature is duplicated 6 times in the database. From the query I have currently, 15 records are returned. Does anyone have experience doing this in SQLCreator/Executor?select a.OBJECTID, a.SHAPEfrom "TDS71"."METADATASRF" a join "TDS71"."METADATASRF" bon sdo_relate(a.SHAPE, b.SHAPE, 'mask=equal') = 'TRUE'and a.OBJECTID < b.OBJECTID
Hi folks, While working with some JSON data, I seem to have noticed that null values are sometimes interpreted as a literal string, instead of a true <null> value (like non-existent/empty). When I just tried to replicate this, it seems that different FME JSON transformers seem to handle null values in a different manner. E.g. when using a JSONFragmenter or a JSONFlattener, it seems that null values are indeed recognized as true <null> values (like non-existent/empty), but when using a JSONExtractor or an XMLXQueryExtractor (with a JSONiq query), it seems that null values are returned as a literal string. Of course in the latter case I could add a NullAttributeMapper transformer to change the literal string 'null' to the <null> value, but this seems like a bit of a workaround (and also, how would you then distinguish between a literal string value "null" in JSON, and the true null value) Is there something I'm missing, or is this a bit of a bug? K
PDF2TextReader does not recognize my published parameter for selecting a pdf file into the transformer. Is there any workaround this? PDF2TextReader runs when I select the pdf file directly but not when I use a parameter in selecting it.