Connecting FME to web services. Use of APIs. Mobile Apps.
Recently active
Created a user to use with FME desktop for our local ArcGIS Enterprise Portal. When connecting in FME Desktop using the ArcGIS Portal Feature Service Reader it gives an error saying bad password. Figured out that the generated password for this user must have had some characters that were not supported in FME. What Characters are not supported for passwords in this reader?
I added a dropbox web connection with my concern user, everything worked out. After that, I wanted to add another dropbox web connection, but this time with another user. Unfortunately the login did not work out (see screenshot). I tried to clear cache and cookies from my standard browser, change standard browser to be sure that nothing is cached in the background, but still the same message appeared. I also tried to delete the other web connection, but still same issue occured.Does anyone have ideas how to solve this?
Hi FME communityI have successfully added a web connection to my Sharepoint site following this tutorial https://community.safe.com/s/article/How-to-create-a-Sharepoint-Web-Connection using the Client ID multitenant method.Then when I browse the Site: parameter (image below) only a subset of all sites in my organisation are showing. My goal is to read files hosted in Sharepoint just as if they are sitting on my hard drive. Anyone have any suggestions on my issue above or know of an alternative way to connect to Sharepoint?Thanks
Why am I getting the above error on my system?
Hello, I have a large workspace and there will be more developers that will develop it.I was wondering if we can use Git from inside the workbench. A visual diff that would identify changes in nodes and their properties, like e.g. Node-RED does, would be extremely useful.We already have the project in Git and treat it like a binary file.
I was able to implement this in the python caller which produces the result but when I substitute the hard coded data for "myList" it does not work for me.import itertools myList = [ ['a1', 'b1', 'c1'], ['a1', 'b1', 'c1']]for x in itertools.product(*myList): results = list(itertools.product(myList)) print (x) How do I pass the output in my list out? How do I substitute myList with the data from my DB. CODE in Python Caller which lists results in the translation logimport fmeimport fmeobjectsimport itertools# Template Function interface:# When using this function, make sure its name is set as the value of# the 'Class or Function to Process Features' transformer parameterdef processFeature(feature): pass # Template Class Interface:# When using this class, make sure its name is set as the value of# the 'Class or Function to Process Features' transformer parameterclass FeatureProcessor(object): def __init__(sel
Hi Folks,we are trying to monitor sftp folders and kick of workspace when there is any new file or existing file is modified. something similar to DirectoryWatcher. any idea how to accomplish ?
AttributePivoter has started failing with a "WARN |Python Exception <TypeError>: '<' not supported between instances of 'str' and 'float'".Prior to sending features into AttributePivoter I validate the features and they all pass as numeric .I am aware of numerous workarounds and custom transformers - I am just curious about this error.I hope the image is sufficient information - the Transformer Parameters are on the left hand side. PS: I tried numerous python installations - including my OSGEO4W 3.7 - and both FME 2020 and FME 2021.
I tried to configure a http web-connector but without success. Does somebody know how to solve this?
Has anyone had any experience in the telco space with developing cellular / mobile phone coverage maps using FME? We want to be able to do near real time recalculations when towers are not operational to figure out any gaps in coverage areas.
For others to know: FME 2021.1When the default interpreter is set to the Python in the Arcgis Pro folder adding the BIM360 Transformer results in a failing BIM360 Transformer. We can solve this by removing the Autodesk BIM360 Docs Package, selecting the FME Python 3.7+ Interpreter and re-installing the BIM360 Transformer.
Child workspace is using a published parameter (integer) in a RasterExpressionEvaluator.The parameter is sent from a WorkspaceRunner.Translation fails with a fatal error. From log:"2021-11-07 13:01:35| 0.5| 0.0|ERROR |RasterExpressionEvaluator_3 (RasterEvaluationFactory): Failed to parse the EXPRESSION_LIST clause. 'A[0]' was successfully parsed, but '-/10' could not be parsed. Please ensure that your syntax is correct" The evaluated expression was supposed to be: A[0]- $parameter/10, but is left blank.
We are using a custom Token Based web connection to an external service. The service does not return an expiry time - it is always 180 minutes. Is there a way to hard code an expiry duration on a token retrieved by the web connection? The UI for defining a Token Based web connection seems to only support an expiry time being returned by the token service.
I'm working with a client who has all their infrastructure based on IBM Cloud and they are looking at reading and writing files from IBM's version of S3. The docs say that they basically use a complete clone of S3 implementation (actually a copy of the boto3 library for access) so I'm wondering if FME has an OTB way to work with these kinds of buckets? Relevant docs here: https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-getting-started-cloud-object-storage I've given it a shot trying the S3Connector but even when providing an alternate endpoint it still seems to fail to connect. I'm not sure if it's the way the transformer is implemented or if it is something I'm doing.
Hi, the API comes back with the number of totalPages (say 10 pages), how can I loop the API call through all these pages (1,2,3...10) to get all data? Is there a tutorial I can refer? thanks, Song
FME DesktopFME(R) 2019.1.3.1 (20191019 - Build 19643 - WIN32)Running on a server with Windows 2008 R2 service pack 1 I have a workspace that uses an HTTPCaller transformer to get a user token from ArcGIS Portal. I then take that token and use it to read features from an ArcGIS Server Feature Service. This works fine. Then, I use that same token to write to an ArcGIS Server Feature Service through the ArcGIS Portal Feature Service writer. I do this because there is no ArcGIS Server Feature Service writer. But I'm not able to get it to work. Is there a better way to do this (write to a Feature Service sitting on ArcGIS Server)? Below is a screen shot of the ArcGIS Portal writerAnd below is the error from the log. Note that the writer is appending "sharing/content/users/https:?f=json" to the URL. Creating writer for format: Esri ArcGIS Portal Feature ServiceTrying to find a PYTHON plugin for writer named `ARCGISPORTALFEATURES'The workspace does not contain user Python. FME will attempt to
Im having trouble configuring a JSON Reader to pull data from a REST API (JSON formated). The problem is that in order to successfully call a query to the REST API (via a URI), there first needs to be sent an authorisation request as separate formatted URI sent ahead that contains a UserID code and a 'Secret' code (ie password) within the URI. The JSON reader has a single web address field (which works well for other applications). To solve this particular problem there would have to be two URIs sent - one to send the Authorisation request and generate a session ID (with the authorisation held in cookies or similar), followed another to submit the data query. I tried the 'Network authorisation' entering the userID and secret into the respective field without success. Have also tried the HTTPCaller and JSON transformers. I dont know enough about FME or API calls to configure this properly, so wondering if there is some advanced use of the JSON reader / transformers that
Hi Everyone, I have succesfully managed to use a Custom Parameter to extract traits from an Ifc File with the GeometryPartExtractor. But when using the same said Custom Parameter as the Left Value in a Tester Transformer, no filtering takes place. Can one use CustomParameters instead of manually selecting the Attribute Values? Test: After extracting the Trait, I can manually select the now Exposed Trait as an Input to use for my CustomParameter, but that defeats the point as the Custom Parameter is not really a parametric input. Example File: I have shown three ways I attempted to use the custom parameter:Top Tester: Trying to use Custom Parameter for both exposing the Traits in the GeometryPropertyExtractor and in the first Tester: No success Middle Tester: Functions as wished, but there is a step that needs to be taken to select the correct Attribute Bottom Tester: Old school, just selecting the Attribute and correspong Parameter needed for the Tester. Maybe I am using the Custom
OK I give up - help me!This is my first attempt to use the PythonCaller (since FTPCaller can't yet download directories or accept wildcards). I've cobbled together some Python to retrieve a directory listing from an FTP site which I want to output (probably as a list) so I can generate the name of the file I want to download and pass it to FTPCaller.I've done a whole lot of Googling but I can't fix this error on the feature.setAttribute line:2016-10-12 17:46:48| 1.9| 0.1|WARN |Python Exception <TypeError>: not all arguments converted during string formatting2016-10-12 17:46:48| 1.9| 0.0|WARN |Traceback (most recent call last): File "<string>", line 30, in inputTypeError: not all arguments converted during string formatting2016-10-12 17:46:48| 1.9| 0.0|ERROR |Error encountered while calling method `input'2016-10-12 17:46:48| 1.9| 0.0|FATAL |f_32(PythonFactory): PythonFactory failed to process featureimport fmeimport fmeobjectsimport ftplib# Template Function
It would be nice to have an update on the FME AR app from Safers for Android as it has been lagging behind functionalities vis-a-vis iOS
I am struggling to replicate the results of running a workspace on FME Data Express and am wondering if I've discovered a bug. I have a workspace with 3 published parameters; A Geometry (point), a Choice (Multiple) and a Filename (Multiple). The idea of the workspace is to select a location(point), add an attribute(s) and upload(or capture) a JPG(s). I tested this workspace on desktop and it worked as expected. I published it to Server and ran it on the user interface and it worked as expected. But when I try to run it on the FME Data Express app, the job fails with an error on Server saying either "Parameter 'SourceDataset_JPEG' must be given a value." or a similar error about the Choice (Multiple) attribute. There is no log file. This is odd as I've even confirmed in the Resources folder on Server that the JPG file is getting uploaded to Server. However, when I change both of these parameter types to the non-Multiple versions ("Choice" and &
I have several lines (streets) with a condition-value.In an (excel) table, I have many rows with condition-values and other attributes I would like to join. Now, coming from my streets I need to find the "nearest" value in the excel-table and join its attributes. What would be the simplest way to do that?I have seen an approach of calculating "distances" to each value and then sort by lowest distance... Any other convenient way? thx for your ideas, best regards from switzerland.
Does the FME AR app support animated 3D models?
Most of our pipelines use revit/dwg/dgn/csv files and for our ETL procedure we would like to store all these inputs using the same filetype in staging. Is there any type of data that would support this? other alternatives?