Compute the area per category with GRASS GIS
grass gis
python
Different methods in GRASS GIS to compute the area of the categories. tags: raster, surface area, category layer
Suppose I have a categorical raster layer. Now I want to create a second raster layer with values that represent the surface area of the categories in the first layer. In this tutorial, I test four different methods to see which of these is the fastest.
This short tutorial was published as a blog post. Click here to go to tutorial.