1

I'm a complete beginner in QGIS, currently self-teaching myself through Youtube.

Current Problem: To split and display population data according to district/province

Project Background: To measure extent of floods in the various district/province and estimate the population affected there.

I've also been playing around with zonal statistics, but am unsure if its of any use to the above.

Files I currently have:

  1. Population raster data (from WorldPop.org)
  2. District.shp & Province.shp (both MultiPolygon)
  3. GADM .shp files
  4. Eed.shp (flood exposure map in grid cells)
  5. Tif and tif.ovr (of the province in a certain year)
4
  • I suggest you break down your workflow into smaller steps, which you can research individually. You also should have a look at the official QGIS tutorial.
    – Erik
    Sep 23 at 13:25
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.
    – Community Bot
    Sep 23 at 13:31
  • What is your specific goal?
    – BERA
    Sep 23 at 13:34
  • Edit: Added current problem and project background
    – Senpai-C
    Sep 23 at 13:45

2 Answers 2

0

Zonal statistics with pop. raster as input raster and Districts as input layer. Statistics to calculate = Sum

Calculates statistics of a raster layer for each feature of an overlapping polygon vector layer.

enter image description here

0

Assuming you have a shp with two polygons (p1 and p2) and your raster layer (worldpop). In order to clip your raster based on your polygons (i.e., create two raster layers, worldpop_p1 and worldpop_p2), what you need to do is:

  1. select the p1 using the Select features by area tool

select features by area

  1. Use SAGA's tool Clip raster with polygon (you can find it in the Processing toolbox)

clip raster

  1. Repeat the process for the rest of your polygons
2
  • Is the output file supposed to be a raster? How do I display the numerical values obtained from it? And yes, I do have 2 MultiPolygon shp files (District and Province respectively)
    – Senpai-C
    Sep 23 at 21:13
  • The output(s) will be two raster layers. Each raster will have the shape of the shp you used to clip your worlpop raster.
    – Nikos
    Sep 23 at 21:20

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.