[GRASS-dev] [GRASS GIS] #84: scritps for converting raster maps into GRASS 7 format, and back

GRASS GIS trac at osgeo.org
Tue Mar 11 07:28:39 EDT 2008

#84: scritps for converting raster maps into GRASS 7 format, and back
 Reporter:  hamish       |       Owner:  grass-dev at lists.osgeo.org
     Type:  enhancement  |      Status:  new                      
 Priority:  minor        |   Milestone:  7.0.0                    
Component:  default      |     Version:  unspecified              
 Keywords:               |  

 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).


Ticket URL: <http://trac.osgeo.org/grass/ticket/84>
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/

More information about the grass-dev mailing list