On 06/06/2024 3:09, Janet Choate via
grass-user wrote:
If a vector approach is relevant, you could: (Like Anna's suggestion, requires some additional work...) 1- convert both rasters to vector 2- calculate in advance the area of each patch 3- run `v.overlay` with the patch vector as ainput, and the landcover as binput. 4- The output vector will have all landcover polygons cut at the
patch boundaries. It will retain any attributes from the patches,
for identifying which patch each new landcover is in. And it will
have the new area of each of these cut landcover polygons. So
dividing each new (cut) landcover area by the original a_Area
value will give you the percent coverage.
-- Micha Silver Ben Gurion Univ. Sde Boker, Remote Sensing Lab cell: +972-523-665918 |
_______________________________________________ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user