danjensen

Raster counts within polygons

Discussion created by danjensen on Oct 23, 2013
Latest reply on Oct 23, 2013 by xander_bakker
Greetings,

I am trying to retrace some steps.  I was working experimentally and discounted the results and then after further analysis a few weeks later it was something that was useful.  I need to remember what the procedure was, or find another way to get the same answer.

Using ArcGIS 10.1

I have a raster layer with a given hydrology values in cm
I have a polygon layer with tree canopy classifications (1 for areas with tree canopy cover, 0 for polygons with no canopy cover)

I want to get pixel counts for the entire polygon layer for so that I know for each unique hydrology value what the counts of canopy and no canopy pixels are.  The final goal is to build a stacked histogram in excel to show the proportion of canopy and non canopy pixels at various hydrology levels.

I think I may have used zonal statistics in some manner, but I would appreciate any opinions.

Outcomes