scritps for converting raster maps into GRASS 7 format, and back
|Reported by:||hamish||Owned by:|
this is Gforge Patch # 372. I am moving it to the new trac system and closing the patch on the Gforge system.
r.convert and r.convert.all:
Converts a GRASS 4-6 raster map to a GRASS 7 raster map by moving files around in the $MAPSET.
Mostly untested, probably misses some bits.
I did not use g.message as I think it should be fully backwards-compatible with GRASS 5.0.0 and newer.
Tries to be really really cautious.
minor fix for r.convert.all: give map name on error
Note that the GRASS 7 raster format is still open for discussion, this is just a trial for what it could look like.
It may be better to wait until the actual binary format changes to do the rearranging.
This script + .tar.gz is probably a better way of doing a r.pack script (see wiki addons).
Change History (7)
comment:1 by , 14 years ago
|Component:||default → Raster|
|Version:||unspecified → svn-trunk|