v.convert.all1grass
Converts all older versions of grass vector maps in current mapset to current format.
Usage
v.convert.all
v.convert.all help
v.convert.all [-r]
[--verbose]
[--quiet]
Keywords
vector, import
Overview
v.convert.all converts all GRASS 5.0/5.3/5.4 vectors in the current mapset into GRASS 6.0 vectors.
Notes
Vector maps from 5.0/5.3/5.4 and 6.0 do not interfere. They are stored in different directories, so you can use the same names. Old vector maps can be listed with g.list oldvect.
If you need to convert back from 6.0 into the 5.0/5.3/5.4 vector format, use v.out.ogr (to SHAPE format) and then v.in.shape in the old GRASS program. Alternatively use "v.out.ascii -o" and v.in.ascii.
As this GRASS version uses SQL for attribute management, there are some SQL restrictings concerning the file names. This script changes dots (e.g. "foo.bar") in old vector map names into underline(s) (e.g. "foo_bar").
Examples
To convert all old vector maps in the current mapset to the new vector format:
v.convert.all -r
Releases
4 releases since Debian 5.0 (Lenny); the text changed 3 times.