Use a polygon as argument for Clip Raster Function?

09-08-2021 03:09 PM
New Contributor II

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:

  1. Pass a polygon geometry (feature set) as an argument to the clip raster function.
  2. 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?

0 Kudos
0 Replies