I have some trouble with QGIS
I have two layers of information:
- The first one a vector that contains 500 objects, with attributes such as number of population, and...
- A raster that has three classes: degrade (-1), stable (0) and improvement (1), plus -9999 which corresponds to non-values
What I would like to obtain is in the attribute table of my vector layer, the percentage (area) of the three classes of my raster
something like this, in the row one : - the id, the population, the area of class 1, the area of class 2, the area of class 3. and so on for my other 500 lines.
I tried thing with Zonal statistics but I couldn't obtain what I wish.