v.db.select(1) - Linux man page
Name
v.db.select - Prints vector map attributes.
Keywords
vector, database, attribute table
Synopsis
v.db.select
v.db.select help
v.db.select [-cv] map=name [layer=integer] [column=name] [where=sql_query]
[fs=character] [vs=character] [nv=string] [--verbose] [--quiet]
Flags:
- -c
- Do not include column names in output
- -v
- Vertical output (instead of horizontal)
- --verbose
- Verbose module output
- --quiet
- Quiet module output
Parameters:
- map=name
- Name of input vector map
- layer=integer
- Layer number
A single vector map can be connected to multiple database tables. This number determines which table to use.
Default: 1 - column=name
- Name of attribute column
- where=sql_query
- WHERE conditions of SQL statement without 'where' keyword
Example: income = 10000 - fs=character
- Output field separator
Default: | - vs=character
- Output vertical record separator
- nv=string
- Null value indicator
Description
v.db.select prints attributes of a vector map.
Example
v.db.select roads
cat|label
0|no data
1|interstate
2|primary highway, hard surface
3|secondary highway, hard surface
4|light-duty road, improved surface
5|unimproved road
See Also
db.select
Author
Radim Blazek, ITC-Irst, Trento, Italy
Last changed: $Date: 2005-12-10 18:58:42 +0100 (Sat, 10 Dec 2005) $
Full index
© 2003-2008 GRASS Development Team
