I would like to have a raster function for clipping and summarizing the pixels of an Image Server within a polygon. I've been trying to figure this out but haven't been able to come up with a workable solution.
Some ideas:
- Pass a polygon geometry (feature set) as an argument to the clip raster function.
- Convert a polygon to a clip raster and use the raster as an an argument to the clip raster function.
Anyone have insight into weather this might be possible in a JS API web app?