NAME
v.type - Changes type of vector features.
KEYWORDS
vector, geometry
SYNOPSIS
v.type
v.type help
v.type input=name layer=string output=name from_type=string[,string,...] to_type=string[,string,...] [--overwrite] [--verbose] [--quiet]
Flags:
- --overwrite
- Allow output files to overwrite existing files
- --verbose
- Verbose module output
- --quiet
- Quiet module output
Parameters:
- input=name
- Name of input vector map
- 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. Layer name for direct OGR access.
- Default: -1
- output=name
- Name for output vector map
- from_type=string[,string,...]
- Feature type to convert from
- Options: point,line,boundary,centroid,face,kernel
- Default: line
- to_type=string[,string,...]
- 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 type=line,boundary
SEE ALSO
v.to.points
AUTHOR
Radim Blazek, ITC-Irst, Trento, Italy
Last changed: $Date: 2008-08-14 23:16:42 -0700 (Thu, 14 Aug 2008) $
Main index - vector index - Full index
© 2003-2011 GRASS Development Team