A read-only category for lost FME Form topics. We hope to move them shortly.
Recently active
In Ideas @bilal said "One of the benefits of having a creator attached to such a transformer is the ability to define the order that the creators run in a workbench." https://community.safe.com/s/bridea/a0r4Q00000HbroNQAR/dont-require-creator-for-transformers-that-read-data How?
We are running desktop and server at version 2022.1.2.0 (20220831 - Build 22627 - WIN64). One particular workbench that we published runs to completion in desktop, but fails in server. I've checked some other cases and articles (such as this one), but none of the causes (including available memory) or workarounds seem applicable.When reviewing the job's log it seems to consistently fail at this step:156 2023-5-4 15:09:41 | AttributeFilter_NBI <MISSING> Transformer Output Nuker (TeeFactory): Cloned 0 input feature(s) into 0 output feature(s)157 2023-5-4 15:09:41 | AttributeFilter_NBI <NULL> Transformer Output Nuker (TeeFactory): Cloned 0 input feature(s) into 0 output feature(s)158 2023-5-4 15:09:41 | StringFormatter_NBI_Leading_Zeros_2 (TestFactory): Tested 7132 input feature(s) -- 7132 feature(s) passed and 0 feature(s) failed159 2023-5-4 15:09:41 | GeometryRemover (TeeFactory): Cloned 1238 input feature(s) into 1238 output feature(s)160 2023-5-4 15:09:41 | StringFormatter
Hello, Recently we attempted to adopt single sign-on through our Windows AD. However, we are having difficulties getting it to work. I have followed the steps outlined by: https://docs.safe.com/fme/html/FME_Server_Documentation/AdminGuide/IWA.htm It worth noting that we have also switched our server to using HTTPs Whenever a user clicks "Use windows credentials" they get an error "Login failed, please try again". Its worth noting if a user manually inputs their AD credentials, the login is successful. When checking the fmeserver.log file I do see the message "Unauthorized request by user <User> due to lack of proper permissions or the object does not exist." I have also noticed that when using the generate token URL:https://<fme server name>/fmetoken/sso/generateI get an error 403 "forbidden" (this is the URL set in the propertiesFile.properties) Just to reiterate manually entering the AD credentials works without any issues, only whe
I was experimenting with the OSM PBF reader, and I noticed that I get different results when I filtered on the Map Features vs the Feature types. In my sample data, if I selected building in the OSM Map Features, it read in 47691 features.If on the other hand I left the Map Features blank and selected building in the Feature Types to Read, only 45050 features were read in.Thoughts on why the mapping is different? I assume it has something to do with Multiple Map Feature Resolution, and I would expect extra features if it was set to Duplicate Features, but since it was Use First, I'm at a loss.
The List Date in the bottom photo contains a field called ListDate which is stored in a SQL database. We're using their WFS to download the data however due to the validation in Pro we can't see any date fields so we're using FME. I'm trying to use the transformer 'date time converter' but I get the prompts asking which fields I want & as you can see the software is splitting out 1 field into several which are all 'missing'. Which list elements should I select? Also in the select list elements box what number should be entered there? I just need the date so can strip out the time element.
Is there a similair function as DateTimeNow() which takes only the current date and not the time part? I know I can make use of Timestamper but I'm curious if there are other even more simple ways of naming by date in the writer using Date functions.
I get this error periodically when running a workbench copying from Oracle to SAP HANA. Only a handful of tables here and there, I've yet to establish a pattern. There are no issues with the permissions, and no queries left in the tables on the Oracle side, as far as I know.
Hello,I have several website from which I need to read data, mostly stored in tables.For the public website, no issue as I am using I am trying to reader 'HTML Reader'.For the secured website, the sequence would need to navigate first to the login page, (https://members.embuild.be/fr/user/login)enter credentials, navigate to the secured page containing the desired table and read the html table.After reading several posts, my designed workflow would:HttpCaller URL: https://members.embuild.be/fr/user/login, method: POST with body 'Mulitpart / Form data' and the upload: Name - Type - Value = name - String Upload - my@email.com and Name - Type - Value = pass - String Upload - myPassword.HttpCaller (En Serie from the first one), URL: https://members.embuild.be/fr/chiffres-et-donnees/indices/cout-des-materiaux/indices-des-materiaux, method : GET, Save response body to an attribute....Unfortunately, I cannot go thru the first step. http status code is 200 OK, but the response
Hello there I have a published workspace that generates WebSocket stream, and I need to consume the data into ArcGIS geo event using input (subscribe to an external web socket for JSON ) I cannot figure out the URL structure that should be used to expose the WebSocket stream to an external app. This web socket configuration and this is the Geovevent configuration. Note: I need the correct URL to put in the (remote server websoket) filed
The Reading JSON tutorial demonstrates using Feature Reader to fetch and parse data from a bare url. However I need to fetch from a url that requires a token in the http header. I've used HTTPCaller transformer to do this successfully and I have json data in `_response_body`. However when I feed response body to FeatureReader it treats that as a *path* and not *content*. (It took me hours to figure out this what the error message meant). How do I read the `_response_body` from the http call as *content*? https://community.safe.com/s/article/json-reader-configuration
I am updating an older FME script (2019) to 2022.1, and am getting an error when passing an empty value to the published File/URL parameter, even though it has not been checked as Required. The error message is: No CSV2 dataset name was specified (couldn't find a value for `R_2_DATASET' or `CSV2_DATASET'). This seems to be a new issue with 2022.1 version, as I am updating the script from 2019 version. Is there a way around it?
I would like to implement a variable as a buffer. However, once I define the variable, it does not get updated. For example: The variable has to act like a buffer.. At the moment, I have the variable implemented in the def but I think this is wrong. def buffer(feature): puffer = 'leer' for i in range(0,50): if puffer == 'leer': feature.setAttribute('value', value2) puffer = 'value2' else: feature.setAttribute('value', value3) For this example, I get always the Result from feature.setAttribute('value', value2). I have also tried to create a class withdef __init__(self) and Input and close.But I don't get a Result.The result should be written in the attribute table of a shapefile Can anyone help me?
I'm an FME newbi. Feel like it's something very basic but couldn't come up with a solution on my own.What I want to achieve is to get 80% of the value from column B to column A, but some of the features have multiple values separated by a comma, soo they come out as NULL. I went through previously asked questions but couldn't find anything. Appreciate any help!
I would like to buffer certain sides of a polygon. My polygon as in the image below and I would like to buffer them in the direction of arrows. How can I do it with FME?
I tried to convert an RVT to CESIUM 3D Tiles in FME 2022. Coordonate set to WGS 84 .Allthough i set coordonate in the start and at the end . When i upload in cesium the coordonate still set to (0,0).IS ANYONE CAN HELP ME?
Hi,I am very new to FME and I've run into some troubles I can't figure out how to solve. I've got a dwg file that I'm trying to write to a file gdb. The geometries vary, but the features containing text are the ones I'm having an issue with. When I try to write these I get the error: "GEODATABASE_FILE writer: An unknown exception occurred" and "Error running translation" which leaves me a bit clueless. Some features works fine, most don't I can't seem to figure out why. The writer's geometry parameter is set to geodb_annotation. Does anyone recognise this problem and know how to solve it?
AddressID "AddressID" true true false 4 Long 0 0,First,#,AgencyNotifyParcelPtStep2_LargeAgencies,AddressID,-1,-1;APN "APN" true true false 9 Text 0 0,First,#,AgencyNotifyParcelPtStep2_LargeAgencies,APN,0,9;SubType "SubType" true true false 4 Long 0 0,First,#,AgencyNotifyParcelPtStep2_LargeAgencies,SubType,-1,-1;AddressType "AddressType" true true false 13 Text 0 0,First,#,AgencyNotifyParcelPtStep2_LargeAgencies,AddressType,0,13;FullAddress "FullAddress" true true false 62 Text 0 0,First,#,AgencyNotifyParcelPtStep2_LargeAgencies,FullAddress,0,62;StreetNumber "StreetNumber" true true false 4 Long 0 0,First,#,AgencyNotifyParcelPtStep2_LargeAgencies,StreetNumber,-1,-1;StreetNameFull "StreetNameFull" true true false 50 Text 0 0,First,#,AgencyNotifyParcelPtStep2_LargeAgencies,StreetNameFull,0,50;PrefixDir "PrefixDir" true true false 2 Text 0 0,First,#,AgencyNotifyParcelPtStep2_LargeAgencies,PrefixDir,0,2;StreetN
I can read this geojson below in fme. In this example (I & J) at the end of the string Fjson&I=800&J=422It will give me back a responds.However looking to loop through all possible values of I & JImax=1073&Jmax=571 = 612683 values. where I and J is a variable in the geojson string. xxx/geoserver/ows?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&BBOX=50.46754657502329877%2C-1.82577500000000015%2C51.03245342497670123%2C-0.76422499999999971&CRS=EPSG%3A4326&WIDTH=1073&HEIGHT=571&LAYERS=public%3Axxxxxxx&STYLES=&FORMAT=image%2Fpng&QUERY_LAYERS=public%3Asolent_currents_direction&INFO_FORMAT=application%2Fjson&I=800&J=422
Hello , i have to write my output from ArcGis sde to excel file .but I have empty fields at many columns. i would like to have only fields that have only values .so how could I remove empty fields ,?i have read many topics about that but it does not work with me .could someone provide me with template workspace to remove the empty fields .Thanks in advance FME 2021
Hi all, Not sure if this is even the place for this question, but this arose recently in my workplace and it would be good to get some thoughts. I work in a consultancy, and use FME daily for spatial and non-spatial data analytics. Sometimes I create workbenches that are re-usable for different clients to achieve the same goal. My question is, when I am working for a client and develop a workbench on a project they are paying for, who owns that workbench? Is it me (the author), my company (who owns the FME licence), or the client (who is paying for the project)? It's worth stating that the contract we have with the client is only asking for outputs such as reports and visuals, and does not explicitly cover the workbench itself. Any thoughts?
Hello, I am just a month or so into using this tool. I have a task that requires me to transform Geojson to the Mapbox Vector format so we can use on our mapbox tileserver - min zoom 15/18 with about 4 or so attributes. I am told Mapbox requires a uniqueId and so I am providing it in an integer format. Within this task, there are only 10 simple 'house shapes' from the GeoJson dataset.I am required to provide the unique id for each parcel within so I am perplex why 10 rows of data convert into 15 just using the following base design (omitted functional details)NOTE: Id 10 is duplicated and the smaller shape is created out of thin air.If there is a generalizer that can remove that I have not been able to find it. However, if I change my min/max zoom - remove the generalizer it works with 10 rows. Min/Max 7/15The min/max requirement is solid and they want it rendered exact.Am I over complicating please let me know. Thank you,
I have shapes that butt up against each other and I need to create labels at the edge where the two shapes meet. These shapes could contain up to a large number on incalculable edges that meet, for example the edges of state polygons. I figure my best guess is to take the shape and create a center point in the middle of the shape that is always inside the polygon. I then take the polygon and chop them so I have individual lines. Then I can take the points and compare them where they have different names and identify the point of intersection between these points along the edge lines.I am probably overthinking but trying to figure out the best way. See simple example explanation below.Example.The left shape I call Shape A. The right shape I call Shape B. I have identified the centers of each shape creating points. I want to use an imaginary line between the two points and identify the edge where this imaginary line instersects. At that intersection, using a CenterPointRepla
I need to create lines between points. I had seen an article for similar in a different post saying a PointConnector was the way to go (Draw lines between points (safe.com)) but when I try to insert the PointConnector it puts in a LineBuilder which doesn't work. I need the end result to be something similar to the screenshot below where an individual line is drawn between every single point. How can I do this?
I am playing around with FME to see if I can use it to convert autocad dwg files that use colour based plot styles to named plot styles (CTB to STB). I have attached a simple workspace that has an autocad reader and then sends it to a writer. No transformations. The writer uses a template file that uses our standard STB file for plotting. The converted file is mostly okay, but for some reason some of the leaders are way out of place. After some investigation, I found out that they are mirrored on the X axis. If I insert the converted drawing over the original with X scale factor set to -1 those leaders end up exactly where they should be. What's going on?