4

I have a classified vector grid layer enter image description here with five classes enter image description here

And I want to know what percentage each class represents of the whole vector layer.

I'm currently selecting the cells from each class multiplying by 100 and then dividing by the total number of cells in the grid, is there a faster way of calculating the percentages?

  • 1
    right-click on the classes and select feature count gives you the absolute number for each class, but unfortunately no percentage values. this part has to be done manually – Kurt Feb 23 '16 at 21:38
2

I would suggest using field calculator to speed up the manually process of calculating your field, plus you can have a new field that has all of your percentages, then you could summarize the totals within that field whenever you need to access the totals. This is a good overview from the QGIS documentation of using the field calculator.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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