Opened 12 years ago

Closed 3 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

Description

Hi,

this is Gforge Patch # 372. I am moving it to the new trac system and closing the patch on the Gforge system.

http://wald.intevation.org/tracker/index.php?func=detail&aid=372&group_id=21&atid=205


2007-04-18

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.


2007-04-18

minor fix for r.convert.all: give map name on error


2007-05-04

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

Hamish

Attachments (2)

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

Download all attachments as: .zip

Change History (7)

Changed 12 years ago by hamish

Attachment: r.convert added

Changed 12 years ago by hamish

Attachment: r.convert.all added

comment:1 Changed 11 years ago by hamish

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

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

Hamish

comment:2 Changed 11 years ago by hamish

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

Hamish

comment:3 Changed 6 years ago by neteler

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

comment:4 Changed 3 years ago by martinl

Milestone: 7.0.07.0.5

comment:5 Changed 3 years ago by martinl

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