[GRASS-user] Exporting labels of a raster

Giovanni Manghi giovanni.manghi at gmail.com
Fri Jul 1 06:45:47 EDT 2011


Hi,


> 
> I have a raster map to wich I have applied r.reclass to add labels to
> raster classes.  When I try to export this raster with the classes I
> loose the lablels I only stick with the values.
> In a script how can edit this raster in order to be exported with the
> labels?Thanks


r.mapcalc "new_map=@existing_map"

then export "new_map" to tiff as usual.

Cheers

-- Giovanni --




More information about the grass-user mailing list