Connecting FME to web services. Use of APIs. Mobile Apps.
Recently active
We have a workspace with a python caller that uses the office365-module. In FME-Desktop it always works fine, on FME-Server it works when the workbench is run directly. But when it's run within an automation, it sometimes fails with the following message:Python Exception <ModuleNotFoundError>: No module named 'office365'(The automation is running every night as on of many other automations, but we only run the workspace directly during the day, when not much else is running. Tthis may be a reason why it fails within the automation...?)We compared the logfiles of a failed job with one of a successful job. Obviously, the office365-module is not the only one that's not beeing loaded...?I attached the two logfiles in a zip-File.We use FME 2019.2.1.0 and python-3.6.8 (own python interpreter)Any help would be appreciated.Thanks, Vera
Just discovered Mapscaping (even an interview with @daleatsafe !) : https://mapscaping.com/blogs/the-mapscaping-podcast/the-evolution-of-geospatial-file-formats-and-data-exchangePlease add more podcasts that you are aware of!One list of multiple podcasts can be found here: https://www.gislounge.com/geospatial-podcasts-roundup/
Hi, I am trying to print certain things while running a python code through python caller! I found it was working earlier but suddenly I do not get any print command except if i just do a print and no other code is present. Can anybody help?
I want to write "total transfer time" to the destination as an attribute. When i process feature through "http caller" for each feature fme log writes "Total transfer time" in Log window. But this data I cannot extract, but somehow fme is getting this duration time, i need this time to write to destination. How can I extract this info. please help me. i pasted below my fme log window texts. please look for "total transfer time: '3.058 seconds' in below log. HTTPCaller_2(HTTPFactory): HTTP/FTP Transfer: Downloading resource 'https://gisnet.cable.comcast.com/eGisCoeServices/api/CC_MULTI_HFC_PRX_ANLYS_CORE_ERT?distance=2000&solvetype;=fiber&jobcost;=n&hfctype;=fspl&routecount;=1&xycoords;=-119.393773%2C36.545843' to internal memory bufferHTTPCaller_2(HTTPFactory): HTTP transfer summary - status code: 200, download size: '12889 bytes', DNS lookup time: '0 seconds', total transfer time: '3.058 seconds
I'm trying to create a signature to use as access for an API call but can't figure out the syntax for the PythonCaller (if that is indeed the right transformer to be using). I need to use an input (a concatenated string comprised of Date, Accesskey, HTTP method, path) and a secret key to "calculate the HmacSHA1 value for the signature, and Base64 encode it". This tool helps but I'm trying to replicate this process in FME: https://hash.online-convert.com/sha1-generator
Hi, Happy New year 2020 !!!on a customer's site, equiped with DataInterop in two different configurations :FME 2018 inside ArcMapFME 2019 inside ArcGIS Entrerprise, we encountered two problems :JPEG2000 format is not supported in reader/writerand when we try to write a PDF geospatial (2D) , FME blocks with a message indicating that JPEG2000 is requested for the operation ... even if the image source (reader) is GeoTIFF ....is it normal ? is it a restriction of DataInterop ? regards,
fme server ESRI Reprojector
Hello, I need to use fme server rest api to make a web service application to convert cad to kml. The parameters in the workspace cannot be fixed. How can I set the parameters to the client on the web for better interaction?
I am using ArcSDE Writer to write to an Esri Geodatabase table in my FME workbench. The workbench run on the FME server daily and I noticed that sometimes the workbench fails. When I check the log I get the error below: Error while updating feature in the table/feature class 'GAS.gValve'. The error number from ArcObjects is: '-2147467259'. The error message from ArcObjects is: {} I also have another workbench that uses the same writer to write to another geodatabase table and randomly I get the same error. I would like to know what does this error means and if there is any changes I can make to resolve this issue. Is this an ESRI issue or an FME issue? We are using ArcGIS 10.2.1c and python 2.7 and FME Desktop/Server 2019.1 32 bit. @mark2atsafe
We have successfully linked the FME Server git repository to our remote repository in Azure. This is great, since our commit history will now persist between backup/restores when upgrading. However it seems the only way to trigger a push to the remote repository is to manually navigate to the 'Push to Remote' button in 'System Configuration'. I can't see anything in Automations or in the FME Server API documentation which would allow us to automate this process. Has anyone found an inventive way to schedule the 'Push to Remote' process? It doesn't necessarily need to trigger with every commit, more like once per day. Using FME Server 2019.1 hosted in FME Cloud.
Execution error? 1st parameter `XZJ' is not a floating point number?BUT I can't XZJ type
how rename feature attribute with python
Just downloaded 2019.2, and quickly run into a big issue - the HTTPCaller query parameter does not save. For example, if I set a pagesize parameter and its value to be 1000, click OK, reopen it, the value is empty. If I open a similar workbench previously saved in 2018.1, which has pagesize = 1000, change it to be 10000, click ok, reopen it, it is still 1000. I am on windows 10.
I would like to call mutually authenticated services using SSL. Can httpcaller be used? If so, could you please guide me, If not do we have any other alternative for FMEworkbench & FME server?
Is this a feature or a bug?
@siennaatsafe (Sienna I was told it might be good to tag you since you were instrumental in making the video I reference below). The Issue - Topic not working on FME Server when submitting a survey via Esri's Survey123 for ArcGIS We use Esri's Survey123 for ArcGIS to collect field data. User's utilize the mobile application to collect the data and not the online version of Survey123. In the past we've used Microsoft Power Automate (formerly known as Microsoft Flow) and recently we've tried Integromat for sending out notifications ranging from a simple generated email letting stakeholders know when a survey was submitted all the way up to letting those same stakeholders know when certain values fall outside the maximum or minimum allowable range. Being that we are a big FME user (Both Desktop and Server) we were thrilled to see it can be used for notifications based on a webhook in Survey123. On September 25, 2019 there was a video posted, that was created by Safe, o
What would be the best way to convert a contour shapefile to a landxml for use in Geopak? I am not very familiar with LandXMLs or Geopak. I tried creating a TIN from my contours using TINGenerator transformer and output the Triangles to LandXML. If there is a better/more correct way to accomplish this I could use some help. I also have the DEM used generate the contours in ESRI grid format. I also found this template for creating a LandXML but am lost as to where I need to input my contour data.
Has anyone written a batchfile for a user to start an instance of FME Cloud using the API from a windows desktop?I would like to allow users to start the server to access an app they need to use occasionally then the server shut down within the hour to save on running costs.
I downloaded the GitHub web service connector from the Hub and once I try the test to authenticate with my username and password I get a 404 screen from GitHub but I am able to see that it's connected to my account fine but can't save that connection information.
I added a file to FME Server resources and now I want to provide a link to it. How can I do that?
Hello everybody,please, I met one issue with running the job on FME Server - is there any way, how to submit a job to run without authorization? How could I configure call to run like that?Now I use this API call to submit a job to run - fmerest/v3/transformations/transact/. Thank You so much!Lubo
Hi All, Based on a folder name i want to move files from A to B in FMESo for example:- zip file is received via httpCaller and saved to a default location- within that downloaded zip file, i want to extract one folder & its contents (probably using systemCaller)- The internal folder will have 1 of 5 possible names(lets say finance, sales, IT, etc)- Its destination will depend on the the folder nameI dont think theres a transformer for this, to check if a file exists?So i'm guessing it would be a python script of sorts to check if each of the file names exist, set an attribute based off of that result, then filter. but im useless at python, its on my 'to learn' list. Any help is appreciated!
I need to use the FTPCaller in FME Desktop but I can only connect to the SFTP Server via a .pem key. However, as it is not an area I've really used before, I'm struggling to understand the authentication method. I'm fine connecting when authentication not required, it is just that I need to use a .pem key and I'm not sure how to reference this in the transformer. Any help would be grateful.
Is it possible to send a User parameter value through to a FME Server Job as part of the URL (End of an URL Parameter value)??
HI there, Just wondering if anyone has any experience interacting with the GitHub API on FME. I'm trying to use an http caller to post a new issue to a Private repository, but get a 404 response body. Get requests are fine with the authorisation headers i'm using: Authorization: Bearer <my token>Am I missing something obvious? Thanks in advance,