I have a raster layer of landuse and a vector layer of areas of interest. I would like to calculate for each polygon (areas of interest) the proportion or number of cells of the raster for each category. I would like to get a table of areas in rows, raster categories in column and the number / proportion of cell for each combination.
I'm sure there is an easy way to do that but I couldn't find it. All I got was global statistics through Zonal Stats but I couldn't calculate per category.