Opened 16 years ago

Closed 8 years ago

#84 closed enhancement (fixed)

scritps for converting raster maps into GRASS 7 format, and back

Reported by: hamish Owned by: grass-dev@…
Priority: minor Milestone: 7.0.5
Component: Raster Version: svn-trunk
Keywords: Cc:
CPU: All Platform: All



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


Attachments (2)

r.convert (4.2 KB ) - added by hamish 16 years ago.
r.convert.all (1.4 KB ) - added by hamish 16 years ago.

Download all attachments as: .zip

Change History (7)

by hamish, 16 years ago

Attachment: r.convert added

by hamish, 16 years ago

Attachment: r.convert.all added

comment:1 by hamish, 15 years ago

Component: defaultRaster
CPU: All
Platform: All
Version: unspecifiedsvn-trunk

scripts uploaded to grass-addons svn for testing/experimentation.


comment:2 by hamish, 15 years ago

see also new r.pack and r.unpack in addons svn


comment:3 by neteler, 10 years ago

Looks like fixed (and there are now also v.pack, v.unpack).

comment:4 by martinl, 8 years ago


comment:5 by martinl, 8 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.