[GIS] Combining information from raster and vector layers in QGIS

qgisrastervector

in QGIS I have 1 raster-layer (elevation) and 1 vector-layer (administrative units).

Now I would like to be able to query one of the administrative units and see the mean and min/max of the elevation within its area.

Which QGIS tool can do that?

Best Answer

Yes, this is called Zonal Statistics. You can run it with Zonal Statistics plugin, this is the core plugin, so it doesn't need to be installed separately, simply turn it on. Note that there is not that many statistics available.

Zonal Statistics plugin

Resulting calculation