1v.db.select(1) Grass User's Manual v.db.select(1)
2
3
4
6 v.db.select - Print vector attributes
7
9 vector
10
12 v.db.select
13 v.db.select help
14 v.db.select [-cv] map=name [layer=integer] [col‐
15 umn=string[,string,...]] [where=sql_query] [fs=string]
16 [vs=string] [nv=string]
17
18 Flags:
19 -c Do not include column names in output
20
21 -v Vertical output (instead of horizontal)
22
23 Parameters:
24 map=name
25 Name of input vector map
26
27 layer=integer
28 Layer number Default: 1
29
30 column=string[,string,...]
31 Attribute column(s)
32
33 where=sql_query
34 WHERE conditions of SQL statement without 'where' keyword. (exam‐
35 ple: income = 10000)
36
37 fs=string
38 Output field separator Default: |
39
40 vs=string
41 Output vertical record separator
42
43 nv=string
44 Null value indicator
45
47 v.db.select prints attributes of a vector map.
48
50
51 v.db.select roads
52 cat|label
53 0|no data
54 1|interstate
55 2|primary highway, hard surface
56 3|secondary highway, hard surface
57 4|light-duty road, improved surface
58 5|unimproved road
59
60
62 db.select
63
65 Radim Blazek, ITC-Irst, Trento, Italy
66
67 Last changed: $Date: 2005/12/10 17:58:42 $
68
69 Full index
70
71
72
73GRASS 6.2.2 v.db.select(1)