[GRASS-user] Adding labels to Classes

Markus Neteler neteler at osgeo.org
Fri Apr 15 14:53:11 EDT 2011


On Thu, Apr 14, 2011 at 3:28 PM, Monica Buescu
<monicabuescu1985 at gmail.com> wrote:
> Greetings
> I have a Land Cover map and I want to substitute Land Cover codes by
> numbers. Besides r.reclass (1 = 1 Agriculture ; 2 = 2 Forest 3 = 3 Water)
> what other method does exists in GRASS?

If you want to simply add the labels, then r.category:
http://grass.osgeo.org/grass64/manuals/html64_user/r.category.html

To actually change values, use r.recode:
http://grass.osgeo.org/grass64/manuals/html64_user/r.recode.html

Markus


More information about the grass-user mailing list