Skip to main content
Question

Can FME read/import an ArcGIS ImageServer

  • March 17, 2019
  • 1 reply
  • 207 views

bozboswell
Contributor
Forum|alt.badge.img+7
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?

1 reply

nielsgerrits
VIP
Forum|alt.badge.img+54

Did you use the API and HTTPCaller to do this? Then simply look for Image Service in the REST API Documentation.

I think you need to do an Identify? (Hit a specific location and get the value returned.)

First check the Image Service if Identify is allowed.

0684Q00000ArKEaQAN.png

Then use a HTTPCaller to make the request and parse the result.

0684Q00000ArKEfQAN.png

0684Q00000ArKE7QAN.png

identifyimageservice.fmwt

If you need to pass a token with the request, put it in the header as described here:

GET https://arcgis.mydomain.com/arcgis/rest/services/SampleWorldCities/MapServer?f=pjson HTTP/1.1    Host: arcgis.mydomain.com    X-Esri-Authorization: Bearer xMTuPSYpAbj85TVfbZcVU7td8bMBlDKuSVkM3FAx7zO1MYD0zDam1VR3Cm-ZbFo

You can also put the token as a parameter in the url:

&token=YourToken

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings