I have two datasets, one is thousands of overlapping polygons within unique ID numbers and the other is a raster dataset. I want to count the number of raster cells that fall within each of the polygons, and I need to keep the unique ID so that I know which polygon the count refers to. Does anyone know how this is done? I've tried extract by mask but this just gives a list of counts with no reference back to the polygons. Thanks very much.
... View more