I think the first thing to do is clip the raster to your area of interest using the vector polygon. Raster -> Extraction -> Clipper. Select the polygon shapefile as the mask layer.
To get the statistics load the clipped raster, right-click on it in the layers panel, select "Properties" and then click the "Metadata" tab. This will show the mean, min, max and SD, but not (unfortunately) the median. N. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/getting-statistics-from-a-raster-layer-tp5002022p5002057.html Sent from the Quantum GIS - User mailing list archive at Nabble.com. _______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user