[GRASS-user] saving patch areas on raster maps
Hamish
hamish_b at yahoo.com
Sun Nov 16 02:50:13 EST 2008
Milton wrote:
> > I generated a clump map from my cover map, and computed the area of each
> > patch using r.stats.
> > Now I need generate a map which values is the area for each clump.
Jamie Adams wrote:
> You can use r.recode to do this, but you'll need to
> reformat the output from r.stats.
another way is set areas as r.category labels, then create a new map
from the labels using r.mapcalc's @ operator. Again, perhaps some
reformatting is needed with awk etc. to rearrange column order?
Hamish
More information about the grass-user
mailing list