Connecting FME to web services. Use of APIs. Mobile Apps.
Recently active
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 (
Hi everyone,I modified the FilePropertyExtractor created by Takashi Iijima to suite my needs but it doesnt seems to store the attribute value correctly.The Python code in PythonCaller below is to get multiple file from a folder and get the file's creation date (modified, etc.....) It runs without error. Since the files in my folder was of different creation dates, I expect the output will follow accordingly as well but somehow only one date was shown for every outputs rows.The print statement does show different value though.I suspect that I must have missed the part that ensure the values are properly stored and returned.Pls help me to correct it.# Original Implementation by Takashi Iijima, 2016-05-25# This a modified versionimport fme, fmeobjectsimport osdef extractFileProperty(feature): try: path = feature.getAttribute('__filepropertyextractor.path') for file in os.listdir(path): fullFileName=os.path.join(path,file) if os.path.exis
Hi,I have HTTPCaller in my workspace, and two urls to retrieve from server which requires NTLM authorization.Now, the retrieval of second url always fails, and I see in logs that libcurl doesn't send NTLM auth info on second call. I tried to enable Save Cookies, but it didn't help - server asks for auth on each request.FME(R) 2015.1.3.2 (20160108 - Build 15575 - WIN32)Any suggestion other than putting httpcaller in separate workspace and run it with workspacerunner? that time it will create separate instances of HTTPCaller for each url.
I need to download some data that's only available through a Map Service on a public ArcGIS server. I was thinking of downloading the data 1000 features at a time using JSON, but in order to do that I need to get the list of ObjectIds. The list of ObjectIds gets returned in a query request and the response looks similar to this:{ "objectIdFieldName": "OBJECTID", "objectIds": [ 1, 2, 3 ] }I could parse this using Python, but I would like to be able to do it in FME 2014. When I use the JSON reader, each objectId gets read as a separate attribute and FME ends up hanging because it's trying to read tens of thousands of attributes! Is there a parameter setting or a better reader or transformer that would help?