v.to.lines.1grass man page

v.to.lines — Converts vector polygons or points to lines.

Keywords

vector, geometry, area, line, point

Synopsis

v.to.lines
v.to.lines --help
v.to.lines input=name output=name [method=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
output=name [required]
Name for output vector map
method=string
Method used for point interpolation
Options: delaunay
Default: delaunay

Description

v.to.lines converts vector polygons (boundaries) to lines as well as vector points to lines via triangulations.

Notes

v.to.lines is able to convert point data (via triangulation) and areas to lines (via boundary to line conversion). This script is a wrapper script to v.category, v.delaunay, and v.edit.

In order to convert an ordered list of coordinates (ASCII table with x,y[,z] coordinates) into vector lines, use v.in.lines.

Examples

The examples are for the North Carolina sample dataset location:

Area to line conversion

v.to.lines input=boundary_municp output=boundary_municp_lines

Point to line conversion

v.to.lines input=geodetic_pts output=geodetic_pts_lines

See Also

v.category, v.delaunay, v.edit, v.in.lines, v.to.points, v.type

Author

Luca Delucchi, Fondazione Edmund Mach

Last changed: $Date: 2015-01-07 21:53:11 +0100 (Wed, 07 Jan 2015) $

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

© 2003-2016 GRASS Development Team, GRASS GIS 7.0.4 Reference Manual

Info

GRASS 7.0.4 Grass User's Manual