.TH v.type 1grass "" "GRASS 7.8.5" "GRASS GIS User's Manual" .SH NAME \fI\fBv.type\fR\fR \- Changes type of vector features. .SH KEYWORDS vector, geometry, editing, area, line, point .SH SYNOPSIS \fBv.type\fR .br \fBv.type \-\-help\fR .br \fBv.type\fR \fBinput\fR=\fIname\fR [\fBlayer\fR=\fIstring\fR] \fBoutput\fR=\fIname\fR \fBfrom_type\fR=\fIstring\fR \fBto_type\fR=\fIstring\fR [\-\-\fBoverwrite\fR] [\-\-\fBhelp\fR] [\-\-\fBverbose\fR] [\-\-\fBquiet\fR] [\-\-\fBui\fR] .SS Flags: .IP "\fB\-\-overwrite\fR" 4m .br Allow output files to overwrite existing files .IP "\fB\-\-help\fR" 4m .br Print usage summary .IP "\fB\-\-verbose\fR" 4m .br Verbose module output .IP "\fB\-\-quiet\fR" 4m .br Quiet module output .IP "\fB\-\-ui\fR" 4m .br Force launching GUI dialog .SS Parameters: .IP "\fBinput\fR=\fIname\fR \fB[required]\fR" 4m .br Name of input vector map .br Or data source for direct OGR access .IP "\fBlayer\fR=\fIstring\fR" 4m .br Layer number or name (\(cq\-1\(cq for all layers) .br 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. .br Default: \fI\-1\fR .IP "\fBoutput\fR=\fIname\fR \fB[required]\fR" 4m .br Name for output vector map .IP "\fBfrom_type\fR=\fIstring\fR \fB[required]\fR" 4m .br Feature type to convert from .br Options: \fIpoint, line, boundary, centroid, face, kernel\fR .br Default: \fIline\fR .IP "\fBto_type\fR=\fIstring\fR \fB[required]\fR" 4m .br Feature type to convert to .br Options: \fIpoint, line, boundary, centroid, face, kernel\fR .br Default: \fIboundary\fR .SH DESCRIPTION \fIv.type\fR changes the type of geometry primitives. .SH EXAMPLES \fIConvert lines to area boundaries\fR .br .br .nf \fC v.type input=map_l output=map_b from_type=line to_type=boundary \fR .fi In order to create areas, centroids must be added with \fBv.centroids\fR. .SH SEE ALSO \fI v.centroids, v.to.points \fR .SH AUTHOR Radim Blazek, ITC\-Irst, Trento, Italy .SH SOURCE CODE .PP Available at: v.type source code (history) .PP Main index | Vector index | Topics index | Keywords index | Graphical index | Full index .PP © 2003\-2020 GRASS Development Team, GRASS GIS 7.8.5 Reference Manual