A read-only category for lost FME Form topics. We hope to move them shortly.
Recently active
Hello,I have a point dataset and I want to make an algorithm that operates like this:(1) Select a point;(2) Remove all surrounding points within a distance, entered as a fixed parameter (eventually this can be done using a bufferer + spatial filter);(3) Store the first initial point in a new dataset and repeat the process for the remaining dataset from step (2) to obtain a second point that will be stored with the first one and so onThe final result is to obtain a point dataset where no distance below a threshold exist ALONG WITH preserving the maximum number possible of pointsThank you very much in advance !
Hello all I have a question regarding readers when used with possible empty directories and resulting error messages. In a FME workbench, a CSV reader reads all CSV files within a directory and then processes them. If one or more CSV files are present in the defined folder, the Workbench works perfectly. However, if there are no CSV files in the folder at the time of execution, an ERROR is issued:ERROR |CSV reader: Failed to open file '\\\\Auto-Import\\**\\*.csv' for reading. Please ensure that the file exists and you have sufficient privileges to read it. With the FME Desktop version 2019.2 that we are currently still using, I was able to set the Workbench to continue running even if an error occurred. However, this is certainly not the most ideal solution. Especially it is difficult to detect actual error messages in the log files.The Workbench is automatically executed every hour by the task scheduler. Another problem is that the CSV Reader is part of a Workbench that is sup
I am trying to set up a hive connection and have followed the instructions in the docs.The issue is an error being thrown with a cryptic meaningCould not open client transport with JDBC...Invalid status 21Has anyone seen this before and have any pointers. I've tried using generic jdbc driver and the one that shipped with HIVETrying to find a JAVA plugin for reader named `APACHE_HIVE'Hive Reader: Preloading JDBC Driver Class 'org.apache.hive.jdbc.HiveDriver'Hive Reader: Creating connection using connection string 'jdbc:hive2://x.y.z.a:10000:' and properties '{user=XXXXXXXX, password=************}' Hive Reader: Driver class 'org.apache.hive.jdbc.HiveDriver' is being loaded from '/C:/Users/XXXXXXXX/Documents/FME/Plugins/Java/hive-jdbc-3.1.3-standalone.jar'java.sql.SQLException: Could not open client transport with JDBC Uri: jdbc:hive2://x.y.z.a:10000: Invalid status 21 at org.apache.hive.jdbc.HiveConnection.<init>(HiveConnection.java:256) at org.apache.hive.jdbc.HiveDriver.connec
How could I extract only the string text before unknown digit numbers in specific column .but if the string start with digit numbers so keep the beginning numbers and remove other digit number at this value . or other method :i would like to remove any numbers at specific column and any letters and characters come after it . if the string start with digit numbers so keep the beginning numbers and remove other digit numbers at this column . my column includes :hghkdkfke 24a jdklfllfv 22-23 45jdkdkkf 22 ( djskkr) Target hghkdkfkejdklfllfv45jdkdkkf FME 2021Thanks in advance
Trying to automate some ArcGIS Server monitoring and am struggling to get a token using HTTP Caller. I think there may be a bug on the ESRI end (surprise!). But before I post on their forum, I wanted to pin the FME world. I'm making a POST to here:myserver.domain:6443/arcgis/admin/generateTokenwhich is the same place I go for manually obtaining a token. As query parameters I have:client : requestipf : json as Headers:Content-type : application/x-www-form-urlencoded Accept : text/plainI have tried both putting username/password in Body and Query. Neither works. If I grab a token manually and pass it in the HTTP Caller as parameter, I have no trouble making a connection to the same URL. Has anyone gotten this to work, or has a clue where I'm going off course? Thanks
In preparation for publishing and running a script on Fme Server, Iam writing the pathnames as follow in fme dekstop for the seed and cell files. The cell file is not red, while on the other hand the filename is not recognized for the seed file.I am not quite sure why that is the case. In the normal writer of v8 this doesn't occur, but then I face other problems in terms undefined macro. The problems don't occur when I use hard pathnames, but then they are not useful when I publish the script to FME server
Hi everyone, I want to use an API via the HTTPCaller. The authentication is done via an API token. Is there a way to securely store the API token like the username / password combination within a Web Connection? We place our created FME Workspaces in a git repo and don't want to put any authentication data there . Thanks for your answers in advance. :-)Peter
It's been a while since I posted but I am doing something different and after spending some time looking in the forums for a solution, I thought I would just post it. It's probably something simple, but I have limited experience with FME. I downloaded a GPX file from my bike computer and want to do some data processing on it, but when I view the file in FME Inspector, I am missing the "power" attribute which appears in the GPS as shown below. <trkpt lat="43.7513380" lon="-80.5606200"> <ele>335.6</ele> <time>2023-01-07T13:02:24Z</time> <extensions> <power>36</power> <gpxtpx:TrackPointExtension> <gpxtpx:atemp>20</gpxtpx:atemp> <gpxtpx:hr>89</gpxtpx:hr> <gpxtpx:cad>51</gpxtpx:cad> </gpxtpx:TrackPointExtension> </extensions> </trkpt>I do get the time, temperature, hr and cad, but not <power>.I expect it has something to with the fac
I used the 2021 fme workbench emailer. The version from 2021 was functional. It is currently not functioning in the 2022 version. It displays an error message that reads, "No module called Chardet." The 2022 version had to be deleted, and I had to return to the 2021 desktop.
Hi, It's not entirely clear whether this has been solved or not already. I'm using FME 2022.1. I have a portal feature service with has jpegs as attachments. I want to read the exif metadata from the blobs. jpeg_exif_gpslatitude jpeg_exif_gpslongitude jpeg_exif_gpsimgdirection If I use the RasterReplacer method I lose all exif metadata.
I can read tables from salesforce without an issue so it's probably not a credentials problem. But I am trying to write a record from excel to a table in salesforce and I am getting a 400 error. The error messages are pretty vague, only that it fails to write and that the Create Job Must be a POST. Any idea what would cause this issue? Do I have too few fields in the table that would otherwise be required? Received HTTP response header: 'HTTP/1.1 400 Bad Request' from [salesforce instance here]Salesforce: HTTP 400SALESFORCE writer: A fatal error has occurred. Check the logfile above for details... Last line repeated 2 times ...Translation FAILED with 5 error(s) and 1 warning(s) (1 feature(s) output) <error xmlns="http://www.force.com/2009/06/asyncapi/dataload"><exceptionCode>InvalidUrl</exceptionCode><exceptionMessage>Create Job must be a POST request</exceptionMessage></error>
In QGIS there is a tool to create channel networks across a LiDAR surface. Is there a similar tool or process in FME?
Hello, I need to use a variable in INLINE QUERIERThis is valid SQL but I can't get it to run in FME. The print is just for testing. I would ultimately use the variable as a concatenation string. DECLARE @ccount as varchar(20) set @ccount = (select top 1(CYCLE) from CYCLE) print @ccount
Hello,I have a 2D set of points within which I want that no pair of points stay within a distance inferior to a threshold of my choice. The supplementary points have just to be deleted. How can I perform that? Thank you in advance.
I'm trying to use FME purley through Python and have successfully executed the "WorkspaceRunner.py" sample code, calling it via FME:fme.exe python fmeobjects/samples/Python/WorkspaceRunner/WorkspaceRunner.pyI have since tried to create my own program but which throws an exception that I would appreciate to get some guidance on. Here my code: import osimport sys os.add_dll_directory(r"C:\Program Files\FME")sys.path.append(r"C:\Program Files\FME\fmeobjects\python39") import fmeobjects runner = fmeobjects.FMEWorkspaceRunner()workspace = "testWorkSpace.fmw"runner.promptRun(workspace)Error message:fmeobjects.FMEException: FMEException: 1: Failure running workspace 'testWorkSpace.fmw'Importing the FME modules seems to work and I'm using the same interpreter as with the WorkspaceRunner.py sample. "testWorkSpace.fmw" is an empty workspace.I also found that when executing WorkspaceRunner.py without going through fme.exe i get the following error:FMEWorkspaceRunner: Error in dialog creation duri
Hello everyone.I have a problem with writing an SDE database that sits on top of postgis DB.I manage to connect in the FME to the database both from the postgis / postgres readers and from the sde reader.I can read the data, the problem is that I can not write properly.I want to update the database, and no matter what I do, I do not see the changes in th database.It is divided into two parts:When I write directly to postgis, I have a lot of warnings, but I was told that Total Features Written 1As it should be.But in practice I do not see the changes in the database at all!And when I write down to sde, it gives me lots of Errors, but Total Features Written 1 as it should be,but still no change in the DB.I tried every possible variation in feature operation, insert, update- and nothing changed.Only when I did an experiment with delete, it managed to delete the features for some reason.Does anyone have an idea how to overcome this and write directly to the datab
I have a road center line and private properties beside(left and right) to road center line.I want to find out the distance between the road centerline and private properties (perpendicular to the road centerline)both the sides(left and right) for every kilometer. Generate points along the road centerline for each kilometerCalculate perpendicular distance from a point to private property polygons(left and right)Add attribute left1=min distance (left property polygon and right1=min distance to private property right side
Hi! I'm desperately trying to find a way to identify the impact of disabling a specific network on the surrounding networks. So far by using the NetworkTopologyCalculator, I've been able to isolate all my water networks, separated by water valves. But here is an example of what I'm trying to do:If I have to replace the water pipe on the network A, I will close the water valves to isolate it. The impact would logically be that there would be no water reaching networks B-C-D-E. Is there any way for me to dynamically identify this in FME?Thanks in advance for your help!
I am fairly new to Fme server and I have mostly only experience with FME desktop. I was running succesfully a script with Fme desktop. However when I published the script to fme server and I run the script, then I get the following error: I have slightly changed the names of the path due to security issues. DESIGN WRITER: Failed to copy the seed file '\\\\NotRealdomainName\\aplroot$\\A-APLDATA\\FMESERVER\\repositories\\Notrealrepositoryname\\Seed.dgn' to the destination data file 'C:\\Klic_Tijdelijk\\_Bomenanalyse.dgn'. Either the path to destination does not exist or the file is in use by other program I think the issue lies that I wouldn't be have to use hard pathnames in FME Server. Does anyone know how I should define the path names in FMe server?
Using PointOnAreaOverlayer, I would like to know how to extract polygon IDs and assign them to corresponding points that are within each polygon.
I must use the http caller transformer to obtain the token value from the rest end point.However, I am unable to connect via FME. postman returns valid output. I get a notice that reads "invalid clientid or secret," but when I use the identical parameters, Postman returns the response body. Why is FME unable to make it happen?I made numerous adjustments but in vain. kindly assist
Hi all, I have doubt or I wish to know that, can we control the sequence of translation of each layers one by one (here I used .dwg file) like conditions in normal programming languages .suppose if FAT boundary layer complete, then I want to start manhole next to it.is there any options for that ? Regards,saravanakumar
I have a very large (~90 gigapixel) single band geotiff file and a vector layer of ~16m polygons. For each polygon I would like to calculate the 10th percentile of the band of the raster within it and output to a table (e.g. csv). I've set up a Clipper which seems to successfully cut the raster for each polygon and I was hoping to use the RasterStatisticsCalculator to get the 10th percentile. However, percentiles do not appear to be an option. Can anyone suggest how this might be possible please?
Hello there we have the geo-location of the car and we do have multiple users we need to create a notification based on the geofence value set by each user, The car location is streamed in reel time, we don't know in advance the number of users is there any way we could create a dynamic filter that will notify the users based on their setting to be more specific user 1: notified when the car is within 500 m user 2: notified when the car is within 1km....the only problem we have is we don't know in advance the user and the value of the geofencecould we send those values to the filter as for example JSON ??Thanks