Note: This document is for an older version of GRASS GIS that is outdated. You should upgrade, and read the current addon manual page.
NAME
v.convert - Imports older versions of GRASS vector maps.
KEYWORDS
vector,
import,
conversion
SYNOPSIS
v.convert
v.convert --help
v.convert input=name [output=name] [endian=string] [--overwrite] [--help] [--verbose] [--quiet] [--ui]
Flags:
- --overwrite
- Allow output files to overwrite existing files
- --help
- Print usage summary
- --verbose
- Verbose module output
- --quiet
- Quiet module output
- --ui
- Force launching GUI dialog
Parameters:
- input=name [required]
- Name of input vector map
- Or data source for direct OGR access
- output=name
- Name for output vector map
- endian=string
- Endian of input vector map
- Options: big, little
- Default: big
v.convert converts GRASS 5.0/5.3/5.4 vectors into 5.7/6.x vectors.
Vector maps from 5.0/5.3/5.4 and 5.7/6.x 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 5.7/6.x 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.
Missing centroids can be added with v.category.
v.convert in=vectormap_from_50 out=vectormap_60
g.list,
v.category,
v.convert.all,
v.out.ascii,
v.in.ascii,
v.out.ogr
Radim Blazek, ITC-Irst, Trento, Italy
SOURCE CODE
Available at:
v.convert source code
(history)
Latest change: Wed Feb 2 21:46:15 2022 in commit: 2e3dcb5eafe36d640aa68585be0192f07ca1eabb
Main index |
Vector index |
Topics index |
Keywords index |
Graphical index |
Full index
© 2003-2022
GRASS Development Team,
GRASS GIS 8.0.3dev Reference Manual