logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Luca Delucchi, Fondazione Edmund Mach

Description

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

Examples

       The examples are for the North Carolina sample dataset:

   Areatolineconversion
       v.to.lines input=boundary_municp output=boundary_municp_lines

   Pointtolineconversion
       v.to.lines input=geodetic_pts output=geodetic_pts_lines

Keywords

       vector, geometry, area, line, point

Name

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

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.

See Also

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

Source Code

       Available at: v.to.lines source code (history)

       Accessed: Friday Apr 04 01:21:13 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

GRASS 8.4.1                                                                                   v.to.lines(1grass)

Synopsis

v.to.linesv.to.lines--helpv.to.linesinput=nameoutput=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

See Also