GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
v.type(1) GRASS GIS User's Manual v.type(1)

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.

The following vector object types are defined in GRASS GIS:

  • point: a point;
  • line: a directed sequence of connected vertices with two endpoints called nodes;
  • boundary: the border line describing an area;
  • centroid: a point within a closed ring of boundaries;
  • area: the topological composition of a closed ring of boundaries and a centroid;
  • face: a 3D area;
  • kernel: a 3D centroid in a volume (not yet implemented);
  • volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented).

Lines and boundaries can be composed of multiple vertices.

Area topology also holds information about isles. These isles are located within that area, not touching the boundaries of the outer area. Isles are holes inside the area, and can consist of one or more areas. They are used internally to maintain correct topology for areas.

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

Available at: v.type source code (history)

Latest change: Thursday Oct 10 20:41:09 2024 in commit: def7a1af728ed34f459f5fe474fab4657f5d277e

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

© 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual

GRASS 8.4.1

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.