[GRASSLIST:7138] Add comments to raster

hello,

I think that I once saw a raster (from the sample data set?) with comments.
I searched for "comments/description adding" in the GRASS search but was not
lucky so far.
I would appreciate any hints how I can add comments/metainfo to a raster.

thanks in advance, Martin

--
Martin Wegmann

DLR - German Aerospace Center
German Remote Sensing Data Center
@
Dept.of Geography
Remote Sensing and Biodiversity Unit
University of Wuerzburg
Am Hubland
97074 Würzburg

phone: +49-(0)931 - 888 4797
fax: +49-(0)931 - 888 4961
http://www.biota-africa.org
http://www.biogis.de

Am Montag, 13. Juni 2005 11:29 schrieb Martin Wegmann:

hello,

I think that I once saw a raster (from the sample data set?) with comments.
I searched for "comments/description adding" in the GRASS search but was
not lucky so far.
I would appreciate any hints how I can add comments/metainfo to a raster.

Hi Martin,

you can use r.support, which is implemented in CVS again since a couple of
weeks:

### r.support test.rgb
Edit header for [test.rgb]? (y/n) [n]
Update the statistics (histogram, range) for [test.rgb]? (y/n) [n]
Edit the category file for [test.rgb]? (y/n) [n]
Create/Update the color table for [test.rgb]? (y/n) [n]
Edit the history file for [test.rgb]? (y/n) [n]

The null file for [test.rgb] may indicate that some cells contain
no data. If the null file for [test.rgb] doesn't exist, zero cells in
it are treated by GRASS application programs as no data.

Do you want to create/reset the null file for [test.rgb] so that null cell
values are considered valid data? (y/n) [n]

Do you want to delete the null file for [test.rgb]
(all zero cells will then be considered no data)? (y/n) [n]

  Otto