v.convert.all
Converts all older versions of GRASS vector maps in current mapset to current format.
v.convert.all [--verbose] [--quiet] [--qq] [--ui]
Example:
v.convert.all
grass.script.run_command("v.convert.all", verbose=False, quiet=False, superquiet=False)
Example:
gs.run_command("v.convert.all")
Parameters
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--qq
Very quiet module output
--ui
Force launching GUI dialog
verbose: bool, optional
Verbose module output
Default: False
quiet: bool, optional
Quiet module output
Default: False
superquiet: bool, optional
Very quiet module output
Default: False
DESCRIPTION
v.convert.all converts all GRASS 5.0/5.3/5.4 vectors in the current mapset into GRASS 7 vectors.
NOTES
Vector maps from 5.0/5.3/5.4 and 7 do not interfere. They are stored in different directories, so the same names can be kept. Old vector maps can be listed with g.list oldvect.
To convert back from 7 to 6 vector format, use v.build in GRASS 6.
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.
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").
EXAMPLE
To convert all old vector maps in the current mapset to the new vector format:
v.convert.all
SEE ALSO
g.list, v.convert, v.out.ascii, v.out.ogr
AUTHOR
Markus Neteler, ITC-Irst, Trento, Italy
SOURCE CODE
Available at: v.convert.all source code
(history)
Latest change: Thursday Feb 20 13:02:26 2025 in commit 53de819