Skip to main content
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?

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

Reply