I have two layers: a raster layer and a vector layer (polygon). I can see the values of the raster pixels but I don't know how to combine them with information from the polygon layer. More specifically, I would like to :
- sum values of all pixels within a the borders of a polygon
- count the number of pixels with a specific value within the borders of a polygon
Can anybody help and advise on how to do this in QGIS?