Is it possible (using QGIS) to calculate the population size from a raster layer within a certain area?

For example:

I have a population density raster layer (100x100 grid cell) for South Africa, and I want to determine what the population of a certain district is.

enter image description here


You can do this using the Raster zonal statistics tool. You must create a new vector layer with polygons representing your area. Use your raster and vector data as inputs to this tool.

  • Thanks for the feedback. Is this plugin available with QGIS 3? I can't seem to find it. – JohnGIS Jun 26 '18 at 12:35
  • @JohnGIS I use QGIS 3.2. This is a tool, not a plugin. If you use QGIS 2.18 you can try this plugin: docs.qgis.org/2.18/en/docs/user_manual/plugins/… – Comrade Che Jun 26 '18 at 12:39
  • 1
    In 3.0 you'll find it within the processing toolbox – ndawson Jun 26 '18 at 19:45

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.