Connecting FME to web services. Use of APIs. Mobile Apps.
Recently active
Can anyone confirm this behaviour of FME 2017.0.1 (20170428 – Build 17288 – Win 32):- Start FME- Create blank workspace- Insert HTTPCaller transformerApp crashes.Is it just me, or is this a bug in the workbench?
Hello, does anyone know how to read a specific and entire OSM relation from the OSM exported data? I want to use a daily export downloaded from http://www.freemap.sk/index.php?c=core.download&filename=/slovakia.osm/ and read a relation 3305366 out of it. http://www.openstreetmap.org/relation/3305366 It has been several days now that I am trying, but all in vane... Thanks J.
Hi, Just wondering what is the minimal operation required, using the REST API (v3), to test if an FME Server instance is available to process jobs? For example, how much is a successful response to a “GET info” request telling me? Is it just that the FME Server web services are running (ie. Tomcat) or does it mean that FME Server can accept requests? Does a “GET repositories” request tell me anything more? The reason that I’m asking is that I will be using a 3rd party application to monitor FME Server and let me know if it becomes unavailable. I could write a very minimal FME workspace to be called via a submit job request – which would obviously tell me what I need to know – but would prefer not to tie up an engine with spurious job requests. In order to be useful I will need to be polling FME Server on a frequent basis. Thanks, Nic
Hello, Is there a way to limit the time or number of GET requests on the HTTPCaller so that I'm not overloading the server I'm requesting data from? I'm envisioning something like:Only send 10 requests every 60 seconds until all records are complete
Hi All,I am working on the line network wherein i want to find the pseudonodes. can somebody help me with this.Thank you in advance !!
Hi I want to send a number of Postcodes e.g. 1000-002 to this website: http://www.ctt.pt/feapl_2/app/open/postalCodeSearch/postalCodeSearch.jspx#addressSearchPanel and return the addresses in the e.g. Rua dos Açores Ímpares de 23 a 47 LisboaIs this possible with FME? If so any suggestions how to set this up? Many Thanks.
Hello,I have to list files from a directory with the beginning of the name and then with this list I have to create an attribute. I wrote this and it doesn't work.import osimport fmeimport fmeobjectspath = 'C:/Program Files/Apache Software Foundation/Tomcat 8.0/webapps/ROOT/143/EvacEaux/Photo'def processFeature(feature): photo = [i for i in os.listdir(path) if os.path.isfile(os.path.join(path,i)) and \ '143EMC4501' in i] feature.setAttribute('photo', photo)
I am trying to use HTTPCaller to generate a token which can be used in a REST API Service. The token can be generated manually from the web site: https://gisservices.information.qld.gov.au/ArcGIS/tokens/generateToken. I am putting the parameters for this into the 'Query String Parameters box'. I just need an example of how this is done using the HTTPCaller? I keep getting 'HTTP Method Not Allowed'
Hi Folks,I'm trying to connect to the Yelp Fusion API, I read the documentation and it appears to use a OAuth2 authentication. From reading up it should be possible to set this up in FME. Ideally I want to have a yelp connection I can use in conjunction with a HTTPCaller transformer in FME.I tried numerous things but still getting a 404 error. Here's how my current connection looks:All suggestions welcome
hi, i'm attempting to connect a workspace to a generic api that uses Oauth 1.0a. the service requires a unique Oauth signature for each type of request. I can get a signature using their test app, but my problem is that i need to download an array of files using the FME workspace and I need a signature for each file request. Any ideas how that could be accomplished?
Hello All,Has someone been to use in the edition FME Deskto 2017 the API in Python to manipulate Raster files?I need to create a example to share this news to my customer, but my Workspace has a Error when i write the code inside the transformer PythonCaller.import fmeimport fmeobjectsclass FMERasterProperties(object): def __init__(self): pass def input(self,feature): begin = fmeobjects.FMERasterProperties() begin.getNumCols() def close(self): passAtttached my Workspace, * the Reader can be any Raster file
Possible bug in FME 2017 RC reader when accessing feature service containing international characters, I've asked him to contact you with details:https://knowledge.safe.com/questions/40233/problems-reading-layers-from-arcgis-server-feature.html
I created a workspace using FME 2016.0 or older that contains a python script that uses arcpy to connect to an SDE Geodatabase. But now if I try to run that same workspace using FME 2016.1, the script is either throwing an error or not working as expected. I can run that same python script with Python outside of FME without a problem.
Some of our systems have one and some have the other. We have separate license servers of ESRI and FME. The Data Interop ext. does not use an FME Desktop license while the FME Ext for ArcGIS ext. does. What is the difference between the two?
Hi, I need to pre-generated a set of bookmarks files for a large number of projects in ESRI ArcMap 10.3. It looks that this functionality is available only via ArcObjects.Apparently, there is a way to work with ArcObjects from Python using ComTypes package (according to this presentation from ESRI Dev Forum 2010): http://www.pierssen.com/arcgis9/upload/misc/python_arcobjects.pdf. This is also a related blog post (2016): https://tereshenkov.wordpress.com/tag/comtypes/I was wondering if anyone tried to explore integration of FME - Python - ArcObjects using this method. I understand that it's may be more related to ESRI environment, however the majority of my data, workflows are in FME. If there is a working example, it can be extended to such operations as generating ESRI mxd files, ESRI network datasets, etc.I appreciate any input or advice on this topic.Kind regards,Sasha
Hello all,I have a Website that has a Links to extract XLS files:http://www.economia-sniim.gob.mx/nuevo/How can i read this Website and extract automatically theses XLS`s files?Attached my Workspace with Transformers: Creator and HTTPCaller.Thanks in Advanced,
When creating a lasd file with fme I get the following error although I have ArcGIS Desktop 10.3.1 installed"FME has checked out an Esri license. The product checked out is 'ArcInfo' LAS writer: ArcGIS 10.1 or newer is required to create an ArcGIS LAS Dataset. No ArcGIS LAS Dataset will be created. LAS files produced by the FME LAS writer have not been affected"Is there anyone who has defeated this error?
Hi! In our client machine, we have upgraded ArcGIS Server to 10.5 (previously, it was 10.2.2). We also have a list of FME converters (created by ArcGIS Data Interoperability tool), FME converters are then saved as tools with ArcGIS Model Builder and a python script runs those converters every week. After the upgrade to 10.5, python script stopped working with various error messages:#! EXPLICIT_BOOKMARK_ORDER="false"#! TITIE=""#! LEGAL_TERMS_CONDITIONS=""#! MAX_LOG_FEATURES="200"There messages apper to come randomly, no logic that we could find.With the ArcGIS 10.5 version, the Data Interoperability version is also 10.5, but the FME version there is 2016.1.2 Python version is 2.7.12The thing is, that those models, if started manually inside ArcCatalog toolbox, work perfectly.As I understand, ArcGIS 10.5 needs FME 2016.1.3.Could it be a version conflict between ArcGIS 10.5 and FME version inside ArcGIS Data Interoperability 2016.1.2?Or python vers
I've upgraded to ArcGIS 10.5 and now I am no longer able to a File Geodatabase ArcObjects Reader or Writer to my workspace. An error message tells me that FME is unable to check out a license. There are enough licenses.
We've been using the custom Python interpreter in C:\\Windows\\SysWOW64\\python27.dll so that we can import arcpy. In FME 2015 32-bit this has been working fine but we've started using FME 2016 32-bit and this causes FME to crash (we get an error message saying FME EXE has stopped working). I thought this was to do with importing the arcpy module but it appears to be a more fundamental problem with the interpreter. I'm using a basic script to test it which doesn't involve importing any modules and FME still crashes.
Hi,I wrote a very long workspace and at some point I want to extract a substring of the filename using the python caller and have it as a new attribute in my workspace.Then I tried to write a workspace with only that instruction (see attached) but I'm still having the same error:Python Exception <KeyError>: 'fme_basename'Error executing string `fme_basename=FME_MacroValues['fme_basename']def thm(fme_basename): return fme_basename[4:]'Factory proxy not initializedPythonFactory failed to process featurePythonFactory failed to process featuretest.fmwAny idea of what could be the problem?Thanks
Hi! I have a feature class with a coded domain on a short integer field, which refers to cities' names. I want to export it in a new feature class, but expose the associated coded-values description in a string field, and no more use of the coded domain; i.e. instead of value 1 for the city oh Washington, to store only "Washington"thanks!