v.to.lines1grass
Converts vector polygons or points to lines.
Usage
v.to.lines
v.to.lines --help
v.to.lines input=name
output=name
[method=string]
[--overwrite]
[--help]
[--verbose]
[--quiet]
[--ui]
Keywords
vector, geometry, area, line, point
Overview
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:
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
Source code
Available at: v.to.lines source code (history)
Accessed: Monday Feb 24 17:51:46 2025
Main index | Vector index | Topics index | Keywords index | Graphical index | Full index
© 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual
Releases
5 releases since Debian 9 (Stretch); the text changed 4 times.