Is there a QGIS equivalent to the Arc: Spacial Analyst: Zonal: Zonal Statistics as Table?
Given the USDA Cropland Data Layer, Would like to count the pixels by type within a county.
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.
Sign up to join this communityIs there a QGIS equivalent to the Arc: Spacial Analyst: Zonal: Zonal Statistics as Table?
Given the USDA Cropland Data Layer, Would like to count the pixels by type within a county.
Unfortunately Zonal Statistics
will only give a summary of all cells within each polygon. To extract values for each land cover type (closer to Arc's Zonal Statistics as Table) you can create an indicator grid for each land cover type as shown in this answer
Edit
As of QGIS 3.2 there is a Zonal Histogram tool which should perform this automatically.