v.type.1grass man page

v.type — Changes type of vector features.

Keywords

vector, geometry, editing, area, line, point

Synopsis

v.type
v.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 boundaries

v.type input=map_l output=map_b from_type=line to_type=boundary

See Also

v.to.points

Author

Radim Blazek, ITC-Irst, Trento, Italy

Last changed: $Date: 2012-05-17 13:28:13 -0700 (Thu, 17 May 2012) $

Source Code

Available at: v.type source code (history)

Main index | Vector index | Topics index | Keywords index | Graphical index | Full index

© 2003-2017 GRASS Development Team, GRASS GIS 7.2.1 Reference Manual

Info

GRASS 7.2.1 Grass User's Manual