[GRASS-user] edit category information?

Leonardo Lami lami at faunalia.it
Thu Sep 6 04:01:43 EDT 2007


Hi,
try to use r.reclass with the same categories but adding the labels.
See http://www.grass.itc.it/grass63/manuals/html63_user/r.reclass.html

Ciao
Leonardo


Kirk Wythers ha scritto:
> 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
>
> _______________________________________________
> grassuser mailing list
> grassuser at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grassuser
>




More information about the grass-user mailing list