[GRASS5] saving metadata

H Bowman hamish_nospam at yahoo.com
Sat May 31 05:09:16 EDT 2003


Currently several modules, such as s.surf.rst and r.mapcalc write to the
hist meta-data file. This is good.

Unfortunatly running r.mapcalc or another processing module overwrites
instead of appends to the hist file, destroying possibly important
meta-data (such as s.surf.rst parameters).


I understand that the hist file code may need a bit of work, and it is a
mine-field of relevance, which hist to keep in event of a map
merge, etc., but that might be better than just throwing all the old
data away?

In lieu of modifying the hist library functions to allow append, a hack
might be to read in the hist file to memory, append the new string and
write the whole thing back?


better ideas?


thanks,
Hamish




More information about the grass-dev mailing list