table of contents
other versions
- buster 7.6.0-1
- testing 7.8.5-1
- unstable 7.8.5-1
- experimental 7.8.6~rc2-1~exp1
v.type(1grass) | Grass User's Manual | v.type(1grass) |
NAME¶
v.type - Changes type of vector features.KEYWORDS¶
vector, geometry, editing, area, line, pointSYNOPSIS¶
v.typev.type --help
v.type input=name [layer=string] output=name from_type=string to_type=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 - layer=string
-
Layer number or name (’-1’ for all layers)
A single vector map can be connected to multiple database tables. This number determines which table to use. When used with direct OGR access this is the layer name.
Default: -1 - output=name [required]
-
Name for output vector map - from_type=string [required]
-
Feature type to convert from
Options: point, line, boundary, centroid, face, kernel
Default: line - to_type=string [required]
-
Feature type to convert to
Options: point, line, boundary, centroid, face, kernel
Default: boundary
DESCRIPTION¶
v.type changes the type of geometry primitives.EXAMPLES¶
Convert lines to area boundariesv.type input=map_l output=map_b from_type=line to_type=boundaryIn order to create areas, centroids must be added with v.centroids.
SEE ALSO¶
v.centroids, v.to.pointsAUTHOR¶
Radim Blazek, ITC-Irst, Trento, ItalyLast changed: $Date: 2019-01-14 12:13:25 +0100 (Mon, 14 Jan 2019) $
SOURCE CODE¶
Available at: v.type source code (history)Main index | Vector index | Topics index | Keywords index | Graphical index | Full index
© 2003-2019 GRASS Development Team, GRASS GIS 7.6.0 Reference Manual
GRASS 7.6.0 |