I have a map service that contains a SDE raster layer and served out by ArcGIS Server 10.1. Is it possible and how to query through REST service on the raster layer? Basically what I want to do is to query the pixel value for the given x, y coordinates. Didn't find any example to do it.
ArcGIS – Query Raster from ArcGIS Server 10.1 REST API
arcgis-10.1arcgis-rest-apiarcgis-serverrest
Best Answer
You can use the Identify Operation on the Mapservice to get the pixel values from the raster.
Using the Identify Operation on a map service with Rasters, I can get both the Pixel value, as well as the stretched values: