[GRASS-user] Classes names in rasters

Moritz Lennert mlennert at club.worldonline.be
Wed Oct 9 06:48:08 PDT 2013


On 09/10/13 13:27, Luisa Peña wrote:
> Dear all,
> I have produced a raster map with landcover classes and I wanted to know
> if it is possible to have raster names instead of numeric values when I
> use the point-and-click options or even when I export as Geotiff?

I'm not sure I understand exactly what you are trying to do (what are 
point-and-click options ?), but you might want to look into r.category 
to set character labels. AFAIK, r.out.gdal does not export the label 
names to a tif, but you can always export the link between numeric pixel 
values and labels using r.category.

Moritz




More information about the grass-user mailing list