0

I have a series of rasters expressing environmental variables, for example, elevation. I have used the tool 'add raster values to points' to classify the sites according to the bands (10) I have reclassified the DEM in. I am now looking to calculate the percentage of points for each elevation band, but I am not sure how to proceed. Is there a way to do this in QGIS? It seems like something that should be straightforward but I cannot seem to find a tool to do so. I am running QGIS3.16.

1 Answer 1

0

You could use the Statistics by categories tool with your elevation band field as the Field to calculate statistics on to get a count of points in each band. Then calculate as a percentage of the total number of point features.

In the Statistics by category layer, use the Field Calculator to get the percentage

"count" / sum("count") * 100

enter image description here

After deleting unnecessary statistics fields -

enter image description here

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.