v.db.dropcol1grass
Drops a column from the attribute table connected to a given vector map.
Usage
v.db.dropcol
v.db.dropcol help
v.db.dropcol map=name
[layer=string]
column=string
[--verbose]
[--quiet]
Keywords
vector, database, attribute table
Overview
v.db.dropcol drops a column from the attribute table connected to a given vector map. It automatically checks the connection for the specified layer. v.db.dropcol omits to delete the 'cat' column which is relevant to keep the connection between vector map and table.
Notes
v.db.dropcol is a front-end to db.execute to allow easier usage. The existing database connection(s) can be verified with v.db.connect.
Examples
Dropping a column:
v.db.dropcol sentiero_brenta_points column=slope
v.info -c sentiero_brenta_points
Releases
3 releases since Debian 6.0 (Squeeze); the text changed 2 times.