[GRASS-user] Reclass: Atributte a string

Glynn Clements glynn at gclements.plus.com
Fri Nov 12 01:18:18 EST 2010


Franz Schiller wrote:

> I'm doing a reclass of rasters based on a rule file. In this file I'm doing
> a correspondence between values (1,2... 100) to other integer values.
> Is it possible to do this but instead to done this to Numbers do this to
> Strings just like
> 1 = "Agriculture"
> 2,3,4= "Forest"

You can associate category labels with each category using
r.categories. You can't "reclass" to a string.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list