[GRASS-user] edit category information?

Michael Barton michael.barton at asu.edu
Thu Sep 6 10:28:47 EDT 2007


Kirk,

You can use r.reclass. If you want to make the result an independent file
(not just a virtual reclass), you can use r.mapcalc to write it out.

r.support might also work.

Michael


On 9/5/07 10:32 AM, "Kirk Wythers" <kwythers at umn.edu> wrote:

> Greetings all,
> 
> I am looking to edit a raster map's category information. The map in
> question has the following categories:
> 
> |-----------------------------------------------------------------------
> ------|
> |                            Category
> Information                             |
> |  #| 
> description      
>   |
> |-----------------------------------------------------------------------
> ------|
> |   
> 0|               
>     |
> | 
> 100|             
>       |
> | 
> 120|             
>       |
> | 
> 180|             
>       |
> | 
> 260|             
>       |
> | 
> 380|             
>       |
> | 
> 400|             
>       |
> | 
> 500|             
>       |
> | 
> 600|             
>       |
> | 
> 700|             
>       |
> | 
> 800|             
>       |
> | 
> 900|             
>       |
> | 
> 990|             
>       |
> | 
> 999|             
>       |
> +-----------------------------------------------------------------------
> ------+
> 
> 
> 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?
> 
> Thanks,
> 
> Kirk
> 
> 

__________________________________________
Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton





More information about the grass-user mailing list