[GRASS-user] Is it possible to export labels in image?

Greetings I have an raster file with labels (used r.reclass). Is it possible to export (r.out.gdal in geotiff format) it with the labels?
Thanks
Luis

Hi,

On Fri, 2011-05-13 at 08:44 +0100, Luis Lisboa wrote:

Greetings I have an raster file with labels (used r.reclass). Is it
possible to export (r.out.gdal in geotiff format) it with the labels?

r.mapcalc "new_map=@existing_map"

then export "new_map" to tiff as usual.

Cheers

-- Giovanni --

Hi

GIonanni Suggested me to use r.mapcalc new=@old_with_labels but I get a map with Nulls.
Is there any way to export Labels?
THanks

On Fri, May 13, 2011 at 8:44 AM, Luis Lisboa <luislisboa1975@gmail.com> wrote:

Greetings I have an raster file with labels (used r.reclass). Is it possible to export (r.out.gdal in geotiff format) it with the labels?
Thanks
Luis

Hi Luis,

GIonanni Suggested me to use r.mapcalc new=@old_with_labels but I get
a map with Nulls.
Is there any way to export Labels?

sorry, it works for me here. Any place where to download a sample of
your rasters and give a try here?

Cheers

-- Giovanni --

Maybe the problem is other. this what I am doing:
1- produce a map
2- reclass this map (image1)
3- apply reclass over this same map to have labels)
Might this be he problem?
Thanks
Luis

On Thu, May 19, 2011 at 7:55 PM, Giovanni Manghi <giovanni.manghi@gmail.com> wrote:

Hi Luis,

GIonanni Suggested me to use r.mapcalc new=@old_with_labels but I get
a map with Nulls.
Is there any way to export Labels?

sorry, it works for me here. Any place where to download a sample of
your rasters and give a try here?

Cheers

– Giovanni –