I just started using QGIS for a research project and I am not at all familiar with the software nor the formats used. I have a shapefile representing the different departments of France, delimited by borders, and a TIFF file with data points from all over the world that I want to extract and put in the shapefile.

I would like to capture the data from the TIFF file and compute an average for each department (from the shapefile), and put the results in a table (one average data point for each department).

How to do that?


Welcome to gis.stackexchange!

You are looking for the Zonal statistics raster analysis tool:

Zonal statistics

Under Raster layer select your raster, while Vector layer containing zones is your departments shapefile :)

  • 1
    it works! thank you so much!! – Danellb May 20 '19 at 14:06

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.