I would like to extract statistics from a raster file based on a land cover classification vector file, however the land covers (features) are not contiguous (see pic).
In the example below, I would like to calculate a 90th percentile of all pixels in the "12" feature of the overlying vector file. I am looking for a single value, not a 90th percentile for each of the polygons of feature "12".
I can't figure how to do this and get one statistic value for each feature type. Is this even possible in QGIS? If not, is there another way to accomplish this?