1v.db.select(1) Grass User's Manual v.db.select(1)
2
3
4
6 v.db.select - Prints vector map attributes.
7
9 vector, database, attribute table
10
12 v.db.select
13 v.db.select help
14 v.db.select [-cv] map=name [layer=integer] [column=name]
15 [where=sql_query] [fs=character] [vs=character] [nv=string]
16 [--verbose] [--quiet]
17
18 Flags:
19 -c
20 Do not include column names in output
21
22 -v
23 Vertical output (instead of horizontal)
24
25 --verbose
26 Verbose module output
27
28 --quiet
29 Quiet module output
30
31 Parameters:
32 map=name
33 Name of input vector map
34
35 layer=integer
36 Layer number
37 A single vector map can be connected to multiple database tables.
38 This number determines which table to use.
39 Default: 1
40
41 column=name
42 Name of attribute column
43
44 where=sql_query
45 WHERE conditions of SQL statement without 'where' keyword
46 Example: income = 10000
47
48 fs=character
49 Output field separator
50 Default: |
51
52 vs=character
53 Output vertical record separator
54
55 nv=string
56 Null value indicator
57
59 v.db.select prints attributes of a vector map.
60
62
63 v.db.select roads
64 cat|label
65 0|no data
66 1|interstate
67 2|primary highway, hard surface
68 3|secondary highway, hard surface
69 4|light-duty road, improved surface
70 5|unimproved road
71
72
74 db.select
75
77 Radim Blazek, ITC-Irst, Trento, Italy
78
79 Last changed: $Date: 2005-12-10 18:58:42 +0100 (Sat, 10 Dec 2005) $
80
81 Full index
82
83 © 2003-2008 GRASS Development Team
84
85
86
87GRASS 6.3.0 v.db.select(1)