Hello,
I'm trying to build a raster analysis tool :
- users can view raster on their web browser
- they can draw polygons of interest on the map
- they can query for values of the raster's pixels in the polygons extents and get (for each drawn polygon) :
- mean of raster value in the polygon
- histogram of raster value in the polygon
I thought I could use Javascript API to do this but I'm not able to find any method to get ImageryLayer pixel values intersecting a polygon. Is there any ? Furthemore, it seems like if the polygon is not visible on the map, the raster is neither. So accessing pixel value of a polygon which is not visible is impossible. Should I do this another way, using the REST API of the service ?
Thanks for your advices !