1v.in.lines(1) GRASS GIS User's Manual v.in.lines(1)
2
3
4
6 v.in.lines - Imports ASCII x,y[,z] coordinates as a series of lines.
7
9 vector, import, line, point
10
12 v.in.lines
13 v.in.lines --help
14 v.in.lines [-z] input=name output=name [separator=character]
15 [--overwrite] [--help] [--verbose] [--quiet] [--ui]
16
17 Flags:
18 -z
19 Create a 3D line from 3 column data
20
21 --overwrite
22 Allow output files to overwrite existing files
23
24 --help
25 Print usage summary
26
27 --verbose
28 Verbose module output
29
30 --quiet
31 Quiet module output
32
33 --ui
34 Force launching GUI dialog
35
36 Parameters:
37 input=name [required]
38 Name of input file (or "-" to read from stdin)
39
40 output=name [required]
41 Name for output vector map
42
43 separator=character
44 Field separator
45 Special characters: pipe, comma, space, tab, newline
46 Default: pipe
47
49 Imports a stream of ASCII x,y[,z] coordinates as a line or series of
50 lines.
51
53 Input ASCII coordinates are simply a series of "x y" data points.
54 Lines are separated by a row containing "NaNÂ NaN".
55
56 The user can import 3D lines by providing 3 columns of data in the
57 input stream and using the -z flag.
58
59 This script is a simple wrapper around the v.in.mapgen module.
60
62 v.in.lines in=- out=two_lines separator=, <<EOF
63 167.846717,-46.516653
64 167.846663,-46.516645
65 167.846656,-46.516644
66 167.846649,-46.516644
67 167.846642,-46.516643
68 NaN,NaN
69 167.846520,-46.516457
70 167.846528,-46.516461
71 167.846537,-46.516464
72 167.846535,-46.516486
73 167.846544,-46.516489
74 167.846552,-46.516493
75 EOF
76
78 d.graph, v.centroids, v.in.ascii, v.in.mapgen, v.in.region,
79 v.out.ascii, r.in.poly
80
82 Hamish Bowman
83 Dunedin, New Zealand
84
86 Available at: v.in.lines source code (history)
87
88 Main index | Vector index | Topics index | Keywords index | Graphical
89 index | Full index
90
91 © 2003-2020 GRASS Development Team, GRASS GIS 7.8.5 Reference Manual
92
93
94
95GRASS 7.8.5 v.in.lines(1)