[GRASS-user] edit category information?

Hamish hamish_nospam at yahoo.com
Thu Sep 6 06:45:49 EDT 2007


Kirk Wythers wrote:
> I am looking to edit a raster map's category information.
..
> I would like to add category names (Oak, Pine, Spruce, etc...) to  
> these numbers.I have been looking around for a way to do it  
> (r.reclass?, r.recode?). I'm just not sure what is the "approved"  
> approach here. Any suggestions?


r.support will do it in interactive mode from the command line. That
uses the funny old esc-enter interface, but it works.

or edit the $MAPSET/cats/$MAPNAME file by hand, it's a simple text file.
Use one of the categorical spearfish maps as an example.


Hamish




More information about the grass-user mailing list