DOKK / manpages / debian 10 / grass-doc / v.type.1grass.en
v.type(1grass) Grass User's Manual v.type(1grass)

v.type - Changes type of vector features.

vector, geometry, editing, area, line, point

v.type
v.type --help
v.type input=name [layer=string] output=name from_type=string to_type=string [--overwrite] [--help] [--verbose] [--quiet] [--ui]


Allow output files to overwrite existing files

Print usage summary

Verbose module output

Quiet module output

Force launching GUI dialog


Name of input vector map
Or data source for direct OGR access

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

Name for output vector map

Feature type to convert from
Options: point, line, boundary, centroid, face, kernel
Default: line

Feature type to convert to
Options: point, line, boundary, centroid, face, kernel
Default: boundary

v.type changes the type of geometry primitives.

Convert lines to area boundaries

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

In order to create areas, centroids must be added with v.centroids.

v.centroids, v.to.points

Radim Blazek, ITC-Irst, Trento, Italy

Last changed: $Date: 2019-01-14 12:13:25 +0100 (Mon, 14 Jan 2019) $

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