Connecting FME to web services. Use of APIs. Mobile Apps.
Recently active
Hi Fmeirs, I am not getting datadownload link inside the body of my email. I created a topic and subscription. and everything is configured. and working fine.I used fmeservernotifier inside fmw. And running from fme server. I am getting all plain text and the pulished parameters (variables) as email, But not datadownload url. Can anyone help me where i am going wrong?i attached sample fme script.
The goal is to construct any know URL with parameters to call and return values to FME but FME HTTPCaller wants to mess with it which renders it useless. The problem is that FMECaller messes with the format and messes up the URL rather than using the raw URL and just substituting values: I need to be able to construct various different RESTful API calls and substitute values and not spend a great amount of time trying to predict what HTTPCaller will do when creating the final URL. For example.http://...../api/LSCustom/v1/rtcm2rp/@Value(routeid)&@Value(measure)?@Value(t)&@Value(caller)Should look like this:http://...../api/LSCustom/v1/rtcm2rp/routeid=0100000000000094-I&measure=57.25?t=true&caller=mefmeFME HTTPCaller creates this instead:'http://..../api/LSCustom/v1/rtcm2rp/&?&&routeid=0100000000000035-I&measure=55.555&%3Ft=true&caller=mefme' So it adds to areas incorrectly ....I have no idea what or why it adds the &?&& before
I have a printing/plotting question about a GIS communications network map. Our clients want to plot a large ARCH E map for their wall of a network map. The issue is the network map isn't legible when plotted from a geographically correct land base. Traditionally clients will redraw in AutoCAD so they can print the same size map and read it when printed. For example, instead of the width of a street being 50 feet, they will redraw it as 200 feet and move/redraw the other facility vectors accordingly. I'm looking to see if their is a solution out there that will automatically adjust/scale the map so it is legible when plotted. Since I haven't been able to find a solution, I have tried to attempt this with FME, but haven't been 100% successful. Adjusting the streets is easy and don't have any issues there. I have also had pretty good luck moving points from the original edge of the street to the new edge of the street. The part that I am trying to determine the best w
I can turn off the Visual Preview after running one FMW. However when I run the workbench again the Visual Preview is checked again and the window is displayed against my wishes. It is as if it ignored my preference for having it off, or the selection gets overridden.Now I have an Inspector object in the workbench and the Visual Preview setting stays unchecked as long as I run the workbench with it disabled or unconnected. But when it is connected or enabled the Visual Preview always presents itself even though I have unchecked it on the last run.As a tangent, is there any way to launch the Data Inspector application and bypass the Visual Preview window? In some cases I don't want the Visual Preview to take up some of the overall window or have it take the memory/cpu to process a preview for 100,000 or so features.Thanks,Pete
I am trying to join an ESRI Feature Class to an ESRI Attachment table. It looks like the join is working correctly but it is not showing the attribute information from the Feature Class. I am using a Left join where the Feature Class is joining to the Attachment Table. I am seeing the attributes from the Attachment Table but the attributes from the Feature Class are blank even though there is data in the fields. The data is being joined on a REL_GOBALID and GLOBAL ID field. I verified the data to make sure the data joined in ESRI. i am attaching a couple images. I also noticed that the unjoined right is showing all of the incoming features. As I said I verified outside of FME Desktop that these features should Join. i am stumped.
Hi there, I have three groups of data (Group A, B and C). The groups have different amounts of total kilometers.Group A has a total of 890 km, Group B has a total of 770 km and Group C has a total of 849 km. Is there a transformer that can detect/specify which group has the closest amount of kilometers to a specific value defined by me via a parameter? Example: If 850 km is filled into the parameter, Group C with 849 km would be the best candidate.Thank you!
Is there an example of a node.js service call sending a file to FME rest api? In Postman you can select binary and that works. How do you do that in code though? What does the body look like? could you use formdata? What is FME expecting? I have reviewed https://www.safe.com/training/recorded/fme-server-2018-rest-api/ but I don't see how do this with code.
Is ther a way we could trigger a workspace using SMS , The wok flow is as fellowThe work space 1 , will send an SMS to the client with question the client should replay with 1 or 2 .How could we trigger an other work space based on this response.
I'm looking to do something that I'm not sure is totally possible, but I'm trying. My goal is to copy a seed MDB file for each unique input attribute value, and rename to that value. I could have upwards of 200 unique names, and there will be one feature enter the PythonCaller per unique attribute. This is where my lackluster Python skills have taken me. The exception I'm getting is 'global name library is not defined'.I have a feeling that even if this did process through as it is, I would only get one mdb copy with the first feature to pass through.
http://m.dianping.com/shop/22242399I tired the HTTPcaller to download the .css file from DianPing. It returns an error.
Hello,We are trying to update/insert/delete records within a Enterprise Asset Management system using the software's web service endpoints. We take information from our CAD/GIS environment and need to feed it into the EAM environment using these web services. I understand the records need to be appropriately formatted but I am confused on how to actually "write" these records out the EAM software's endpoints. I have done some web searching with little luck. I was hoping someone might be able to point me in the right direction on how to get a solution like this off the ground.
With the help of this forum, I have been successful in reading an ArcGIS Feature Service using a token. I am trying now to simply read an REST ArcGIS ImageServer service. This is a raster of estimated rainfall over the past 7 days. I would like to read the service and derive the average rainfall within a buffered point. The issue is I cannot seem to connect to the image service to read the pixel values of the raster. Any ideas?
Is there a way in FME to watch an API directory?What i'm trying to do is to get FME to watch http://geoportal.statistics.gov.uk/datasets?q=NSPLto see if there is a change.
Are there any known issues with the FME AR application on Android devices? We are running it on a Samsung galaxy S7 Edge. This is one of supported devices according to https://developers.google.com/ar/discover/supported-devices.When we run the app the fmear file can be loaded, it just doesn't display. We are using the sample files from https://knowledge.safe.com/articles/803/view-your-data-with-augmented-reality.html as well as one of our own. All the files show correctly on an iPhone.Details of the Android version are below.
Im trying to work with the Cityworks API to create service requests using FME desktop.Im using the http caller to create a service request.so far I have made progress to create a service request and extract the requestId .My next challenge is to upload an attachment to the service request and this is where Im stuck,The workspace looks like this ,Im trying to upload an image I I tried to put in the parameters that worked in postman as much as I couldThe sample call from postman and its response are attached here.The error message I keep on getting is thisHTTPCaller(HTTPFactory): HTTP/FTP Transfer: Failed to open file '20191009243' for resource uploadI have tried changing the parameters from other posts in the blog ,but in vain
Good afternoon,I am trying to run a workspace on FME Server that utilized the AutoCAD OD reader. When I run the workspace I receive the following error code:"AutoCAD Reader: Error opening file 'C:\\ProgramData\\Safe Software\\FME Server\\resources\\temp\\Chicago_Building_1_201902251923396464_cad\\DP_L_2_CAD.dwg, C:\\ProgramData\\Safe Software\\FME Server\\resources\\temp\\Chicago_Building_1_201902251923396464_cad\\DP_L_1_CAD.dwg' during version check "I have checked the file path and both CAD files exist in the folder. So I am a bit puzzled why I am receiving this error. I have tested the workbench on FME Web Portal with the same workspace and it ran correctly, but running through the API failed and caused the above error code. Any assistance would be great!Thanks,David
I have an ArcView Grid and I would like to import it into Petrel.Does anyone have experience doing this? I've tried with a geotiff, but I do not have the license.The ArcView Grid is topography (so a surface).
Hello,I am trying to call a python script in FME but getting an errorPython Exception <ImportError>: No module named arcpyI have set all the python path in settings. I also tried with different FME python version, but nothing worked.Any help is greatly appreciated.Mukhtar
When I call/fmerest/apidoc/v3/spec/Some of the APIs listed in the response such as:{"path":"/management","description":"FME Server Management"}Return a 404 when queried like:curl -X GET \ http://localhost:8080/fmerest/apidoc/v3/spec/management \ -H 'Authorization: fmetoken token=theTokenGoesHere' \ -H 'Content-Type: application/json' \ -H 'Postman-Token: 631c22d9-2a5e-4273-8bf1-2090800df932' \ -H 'cache-control: no-cache'I'm trying to create an api client using swagger-codegen and I think this issue is causing swagger-codegen to fail. I haven't gone through all the spec listed endpoints but tempstore is another one that returns 404.
Do you have any plans to support ESRI's mosaic datasets?
I've installed fmeserver on some remote machine (VPS, linux, ubuntu, express installation). Knowing IP of this machine, how can I send remote rest api requests or at least connect it through web interface? Assuming that ip of my machine is xxx.xxx.xxx.xxx I tried to run `xxx.xxx.xxx.xxx:80/fmeserver` to launch web interface, getting `The requested URL /fmeserver was not found on this server. ` error. To send rest api I tried `http://xxx.xxx.xxx.xxx/fmerest/v3/healthcheck?textResponse=false` getting The requested URL /fmerest/v3/healthcheck was not found on this server. For installation I've followed http://docs.safe.com/fme/html/FME_Server_Documentation/Content/AdminGuide/ExpressInstallation_Linux.htmHow to build URLs to connect my fmeserver? What IP should I use? Where I do get wrong?
Hi all, Can anybody provide a small example showing how to use an existing Web API that create i.e a records in a database table from a JSON file. Specially I'm confused on how to define the JSON object so that the API (URL) knows and can use the JSON object as input data or body or whatever it is called. It would be very convenient to use already made API's for complex database updates, in stead of having to set up a large number of dependant FME writers to create the data and their relations.
Hi all,I've tried to follow from other ask/doubts solutions here, but no luck. Maybe this method depends a little bit with the HTTP website that is facing.Here is the website: LinkBelongs to the Spanish Cadastral, from which I'd want to extract some data when I pass a Cadastral ID, since there is no API, or other batch process for this purpose.My idea is to pass a String on that form (box):and the submit using DATOS button.If we inspect the webpage:BOX:DATOS button:If I'm not mistaken, I should give back those values within the highlighted boxed into the HTTPCaller, like this:Within the Mulipart Upload, I'm passing the Values, using an attribute "ref_cat", and the value DATOS for the button.The "_response_body" is not the same rather than if I fill manually with same data. So, do you think that I'm not considering something here?Any help?I've followed some successful tips from Takashi, but for this particular case is not working.Thanks!BTW, I
Sorry if this is a duplicate of https://knowledge.safe.com/questions/34998/ftpcaller-download-file-higher-level-direcotory.html, but that's an old question and the answer didn't work for the original poster and I'm having the same problem. I'm trying to use FTPCaller to grab files from a subfolder of a server. The home folder of my user is a different subfolder so I need to go up a level to get to where I want to go.Server address: ftp://ftp.os.uk/--from-os (where I need to be)--to-os (home folder)I've tried ftp://ftp.os.uk/../from-os/ and this works fine in FileZilla but I get an Access Denied error in FME. ftp://ftp.os.uk/ successfully lists contents of the to-os folder and I have tried creating a subfolder and ftp://ftp.os.uk/Test successfully connects to to-os/Test, but nothing I've tried will get me back to the root level.Access denied is a red herring as I have permissions for the root folder, can do it fine in FileZilla and I still get access denied if I
Hi, I could use some help getting started with FME Rest API and PowerShell. The goal is to easily get errors from several FME servers using PowerShell. For now I just need some help getting started on the script. This includes:- Connecting to REST API- Defining properties - Write results to HTML Responses I would like displayed in a HTML report:-FME server status- Jobs that exceed a specified time in running state-Failed jobs Do you already have a script doing some of this, or more, I would greatly appreciate some tips and/or snippets to get me started. If anything is unclear please don't hesitate to ask, or even if you have a completely different solution than PowerShell I'm all ears. Best Regards,Amalie