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.in.lines - Imports ASCII x,y[,z] coordinates as a series of lines.

Author

       Hamish Bowman
       Dunedin, New Zealand

Description

       Imports a stream of ASCII x,y[,z] coordinates as a line or series of lines.

Example

       v.in.lines in=- out=two_lines separator=, <<EOF
       167.846717,-46.516653
       167.846663,-46.516645
       167.846656,-46.516644
       167.846649,-46.516644
       167.846642,-46.516643
       NaN,NaN
       167.846520,-46.516457
       167.846528,-46.516461
       167.846537,-46.516464
       167.846535,-46.516486
       167.846544,-46.516489
       167.846552,-46.516493
       EOF

Keywords

       vector, import, line, point

Name

v.in.lines  - Imports ASCII x,y[,z] coordinates as a series of lines.

Notes

       Input ASCII coordinates are simply a series of  "x  y"  data  points.   Lines  are  separated  by  a  row
       containing "NaN NaN".

       The user can import 3D lines by providing 3 columns of data in the input stream and using the -z flag.

       This script is a simple wrapper around the v.in.mapgen module.

See Also

d.graph,v.centroids,v.in.ascii,v.in.mapgen,v.in.region,v.out.ascii,r.in.poly

Source Code

       Available at: v.in.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.in.lines(1grass)

Synopsis

v.in.linesv.in.lines--helpv.in.lines  [-z]  input=nameoutput=name   [separator=character]    [--overwrite]  [--help]  [--verbose]
       [--quiet]  [--ui]

   Flags:-z
           Create a 3D line from 3 column data

       --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 file (or "-" to read from stdin)

       output=name[required]
           Name for output vector map

       separator=character
           Field separator
           Special characters: pipe, comma, space, tab, newline
           Default: pipe

See Also