Re: [GRASS-user] Reclass: Atributte a string

2010-11-12 Thread Glynn Clements

Franz Schiller wrote:

> Thanks for the reply. About using r.categories, can I apply it to a raster
> map and then export it as a "normal" raster?

category labels are attached to an existing map; there's nothing to
export.

It might help if you explain what your ultimate goal is.

-- 
Glynn Clements 
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Reclass: Atributte a string

2010-11-12 Thread Franz Schiller
Hello Glynn

Thanks for the reply. About using r.categories, can I apply it to a raster
map and then export it as a "normal" raster?
Thanks
Franz

On Fri, Nov 12, 2010 at 6:18 AM, Glynn Clements wrote:

>
> 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 
>
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Reclass: Atributte a string

2010-11-11 Thread Glynn Clements

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 
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Reclass: Atributte a string

2010-11-11 Thread Franz Schiller
Greetings

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"

?
Thanks
Franz
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user