3

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.

1
  • 2
    from the Raster menu, Zonal Statistics... Commented Mar 21, 2017 at 21:47

1 Answer 1

3

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.