[GRASS-user] Main difference between r.category and r.reclass

Moritz Lennert mlennert at club.worldonline.be
Sat Nov 12 05:32:14 EST 2011


On 10/11/11 23:47, Luisa Peña wrote:
> Greetings
> I have a table of values to which I want to define a text label. Which
> function shall I use? r.category and r.reclass? because both seem to be
> used for the same in this case. My case is:
> 1 Water
> 2 Forest
> 3 Urban
> 4 Ocean
> 5 Marsh
> 6 Agriculture

If all you want to do is add text labels to your categories, then 
r.category is your friend. You can use r.reclass to the same effect, but 
it is meant to be used for changing category values through 
reclassification.

Moritz


More information about the grass-user mailing list