v.db.dropcol.1grass

Langue: en

Autres versions - même langue

Version: 333407 (ubuntu - 24/10/10)

Section: 1 (Commandes utilisateur)

NAME

v.db.dropcol - Drops a column from the attribute table connected to a given vector map.

KEYWORDS

vector, database, attribute table

SYNOPSIS

v.db.dropcol
v.db.dropcol help
v.db.dropcol map=name [layer=integer] column=string [--verbose] [--quiet]

Parameters:

map=name

Vector map for which to drop attribute column
layer=integer

Layer where to drop column
Default: 1
column=string

Name of the column

DESCRIPTION

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

SEE ALSO

db.droptable, db.execute, v.db.addcol, v.db.addtable, v.db.connect, v.db.droptable, v.db.select, v.db.update

AUTHOR

Markus Neteler

Last changed: $Date: 2007-12-30 12:48:58 +0100 (dom, 30 dic 2007) $

Full index

© 2003-2010 GRASS Development Team