Connecting FME to web services. Use of APIs. Mobile Apps.
Recently active
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!
I am new to FME. I would like to convert the shape file / CAD file to file GDB / Personal GDB with Feature Dataset. how do I create Feature dataset using FME?
How do I modify the EasyTranslator sample to run on my local FME Server?I can successfully run the EasyTranslator workspace on my server but and I have downloaded and copied the playground demo to my web server. This version also runs when using the demos.fmeserver.com.s3.amazonaws.com url but not when using my server. What are the steps to convert the demo web application to use your own server? I think I have the workbench and workspace set up fine. I am pretty sure I just need to know how to port the sample to use my server.I have tried changing the host and token to use my local values in the easy translator.js and resource.js files but get odd behavior.I also created what I think is a correctly formatted version of the server-demo-config.json file using my local values as well. Not sure why that does not work either.Thanks for any tips or links to other questions....this is my first FME forum question!
Hi All,I can download a file using the ftpcaller, but cannot work out if possible to download when the file is on higher level directory ftp://172.30.227.2/../gisgroup/test.zipIs this possible?
Hi,I'm trying to create an ESRI geodatabase (.gdb) from an INTERLIS 1 file (.ili). The ili file only contains the structure of the database but no data. I'm using the ili2fme reader and ESRI Geodatabase writer. The transaction works but the resulting GDB is empty. Does anyone knows why?Thanks!-- ili2fme version: 5.7.6-- FME 2013 SP4
Hi again, fellow FME:ers!My organisation has collected a great number of WMS-links relavant to many of our employees. Currently these links are saved in an ArcMap MXD for documentation purposes (of course they can easily be extracted to tabular data via Python or similar). Our next task is to visualize these links on an internal web map where the links can be categorized and turned on and off. (As a future bonus we have discussed the option to have tools next to the links which will automate the procedure to open the specific wms in the GIS tool of your choice. But this is only a bonus...)Can we use FME Server to do this in an easy way? Or what set of tools would you recommend? Any suggestions or input will be highly appreciated!
hi all,Im coming accross an issue with the HTTP caller or attributefilewriter and encoding. I have created a WB that loops on a series of complete urls and downloads the file to a folder. Everything goes fine until we reach url with special characters as for example the one belowhttp://www.catastro.minhap.es/INSPIRE/Addresses/02/02021-CASAS DE JUAN NUÑEZ/A.ES.SDGC.AD.02021.zip (if you download this web page direclty on browser it works fine).Httpcaller fails on 404 not found since it parses another page http://www.catastro.minhap.es/INSPIRE/Addresses/02/02021-CASAS%20DE%20JUAN%20NUÑEZ/A.ES.SDGC.AD.02021.zipAbover URL does not work on browser.I have tried encoding the url before parsing to httpcaller, also encoding only the part of the url with the special characters and it fails all the time, even if the path parsed looks ok.It also fails in couldnt resolve host name.Any tip on this? I guess this is something related on how the url is parsed to httpcaller or filewriter but I cant solv
Hi,I am trying to use arcpy python module in a fme 32bits startup python script but I got the error: Python Exception <ImportError>: No module named arcpyI have change the Python Interpreter to C:\\Python27\\python27.dll which I suppose its correct because ArcGIS used that python to install its stuff and its a python 32bits.If I run python from a command line, I can import arcpy.As I am on Windows, I suspect there is something wrong with my environment variables, but I cant find information about this issue.Anyone can help me with this? Thank you a lot!
Hi All,I'm currently running several memory hungry models using FME 2016 32Bit (as I'm using ESRI software therefore 64bit is unsuitable), but I keep getting the 'Translation Failed' due to memory issues. Just to clarify, I only run one at a time and have had to break them down in order for them to complete. I've attached an image of the memory available on my machine and am unable to find a reason as to why it's failing. I've been monitoring the memory usage throughout and at most the models are utilising 10-20% of the available memory. Is there a cap on what FME can utilise?Any recommendations greatly appreciated.
Hi, I created an FME Workspace to process one or more files using an FFS reader. If I run it on FME Workbench is accepts a wildcard for the SourceDataset_FFS parameter. Even if I call it from a WorkspaceRunner it runs fine. However, If I post it to FME Server, I get the following response (HTTP/1.1 422 Unprocessable Entity): `_response_body' has value `valueD:\\Data\\FME\\FME%20Server\\Data\\LDR\\1_Secties\\*.ffsUnexpected value "D:\\Data\\FME\\FME%20Server\\Data\\LDR\\1_Secties\\*.ffs" for parameter "value," expected list'Request url: `myURL' has value `http://myfmeserver:8080/fmerest/v2/transformations/commands/submit/LDR/Stap_4_BerekenSectiesMetStationing.fmw?token=11111113289cef40e8bc340c3a63b3ff43405b00&detail;=low'Upload body: `UploadBody' has value `{ "FMEDirectives" : {}, "NMDirectives" : { "failureTopics" : [ ], "successTopics" : [ ] }, "TMDirectives" : { "rtc" : false, &q
Hey guys, I am trying to merge these two data sets and aggregate based on field names. Is there a way I could do this in one process without having to merge first then add a new reader and aggregate.
Hi: I have a HTTPCaller Transformer with Post method question. This will take Input addresses and then compare them to an address standardizer web service. I’ve had success using GET method (with a concatened URL). But in my scenario there is an advantage to the Post Method. Does any have an example of using POST in the HttpCaller Transformer? Below is a sample of what I’d hope todo – POST /addresscorrection/service.asmx/Getstandardizedaddress HTTP/1.1 Host: test.testing.com Content-Type: application/x-www-form-urlencoded address=1125+Washington+St+SE+%23200&address2=&city=olympia&zip=98501&zip4=&state=wa address: 1125 Washington St SE #200 address2: city: Olympia zip: 98501 zip4: state: wa Any help is appreciated: Ian
I want to create a User in FME Server that only has permissions to view the FME Server Dashboards. What permissions do I need to grant?
I'm sure this must be really simple but i can't seem to find a way of doing this using FME.I have a number of polygons representing building footprints and need to calculate the max, mean & mode for each using a DTM.The only options i've found so far would be to either;- turn my polygons into points at vertexes and apply the values to these - do a centrepointreplacer and just use that - not ideal for large buildings / those on slopesi'm sure there must be a simple way to achieve this.
When using the REST API to publish a workspace on FME server, you can register a service but if you register a datastreaming service you can't specify the dataset to include as output of the service.In my experience, the first publication of your workspace must be done using the workbench and anytime you want to republish it you can use the API.Anyone found a solution?
Hi,When publishing a workspace from FME Desktop to FME Server, we can specify the success/failure topics to raise at the end of the execution. Is it possible to do the same with FME Server REST API or do we need to specify, each time, NMDirectives when running the transformation (transact or submit) ?Thanks for your help,Thibaut.
Hi,I have been tackling an issue trying to access HTML page where login is required. So what I basically did was to add the login credentials to the Multipart Upload as follow:NameTypeValueloginStringUploadpasswordStringUploadRequest URL: http://pvoutput.org/login.jspHTTP Method: POSTAnd then I got to save the cookies, in order to access the webpage and save the authenticationHTTP Client Options:Save Cookies: YesUnfortunately this doesn't work and doesn't authenticate or allow accessing the page. It would be really of great help if somebody know how can this be done? If this is not clear enough, please just ask!Thanks a lot!
FTP Caller causes URL using bad/illegal format or missing URL. I am trying to upload a file to my ftp server but keep getting this error. Attached are the screen shots of my configurations. I have tried various different possibilities but no luck. I have no trouble uploading file to my ftp server through command line. Here is the Variations I have tried (It can connect but says the url is bad! Because if i put bad username password etc I just get can't connect or get bad domain name error):ftp://dev-gismap02.flysfo.com/ ftp://dev-gismap02.flysfo.com/home/abhandari/ftp://dev-gismap02.flysfo.com ftp://dev-gismap02.flysfo.com/home/abhandariftp://x.x.x.x/ ftp://x.x.x.x/home/abhandari/
So I have two main sources:An sql script.And an excel sheet.I want to compare the attribute ADRNR from one source with the other ADRNR1. If its a match then it shouldn't do anything because i didn't hook a writer to that and if it doesn't then it fails and should give me the values that aren't duplicates. I tried doing this with a simple tester but it doesn't work unfortunately. Here is how my tester looks like:the Failed output should give me the values that aren't duplicates.I think its because fme tucks every source nicely under eachother so that it can't compare it with eachother. Is my assumption correct and how can I make this work? Do I need to combine the data from the sources first? I just want to do a comparison between the these attributes of different sources and filtering out the unique ones.The workspace looks like this. Thanks in advance.
Hi. I am working on GTFS data and the information that is been provided for Hong Kong is in the Live API calls. By mentioning 'Live', I mean that the info for each vehicle changes every second with the location of the bus. Is there some method by which we can actually extract the correct information?One method that I have thought is to get the data everyday at the same time.Can anyone suggest me of some method which is more simpler and flexible.http://ptx.transportdata.tw/MOTC/Swagger/#!/CityBusApi/CityBusApi_RealTimeByFrequencyShivam
I am wanting to feed in a number of web urls and I would like to find the host / server location (and IP address ideally) for the sites. I seem to remember seeing this done at a conference on FME. Thanks
Hello Users, Attached the Workspace with the transformer PythonCaller. This transformer receive the attributes from Souce Data ( list values ) and generate two new Attributes to each list value : initial and final. This is Works fine. So now i need to create 4 news attributes to each list values: Initial_even, End_even, Initial_odd and End_odd. For example to list 1: Inicial: 0 Final: 40 How it be: Initial_even:0 End_even: ( Initial_even.list1{} + attribute lenght this list ( int(listaTamanhoTrecho[controle] )) = 40 Initial_odd: ( Initial_even.list1{} + 1 ) = 1 End_odd: ( End_even.list1{} + 1 ) = 41 To list 2 Initial_even: ( End_even.list1{} + 2 ) = 42 End_even: ( Initial_even.list2{} + attribute lenght this list ( int(listaTamanhoTrecho[controle] )) = 126 Initial_odd: ( Initial_even.list2{} + 1 ) = 43 End_even: ( End_even.list2{} + 1 ) = 127 To list 3 Initial_even: ( End_even.list2{} + 2 ) = 128 End_even: ( Initial_even.list3{} + attribute lenght this list (