GNU.WIKI: The GNU/Linux Knowledge Base

  [HOME] [PHP Manual] [HowTo] [ABS] [MAN1] [MAN2] [MAN3] [MAN4] [MAN5] [MAN6] [MAN7] [MAN8] [MAN9]

  [0-9] [Aa] [Bb] [Cc] [Dd] [Ee] [Ff] [Gg] [Hh] [Ii] [Jj] [Kk] [Ll] [Mm] [Nn] [Oo] [Pp] [Qq] [Rr] [Ss] [Tt] [Uu] [Vv] [Ww] [Xx] [Yy] [Zz]


NAME

       v.db.droptable  - Removes existing attribute table of a vector map.

KEYWORDS

       vector, database, attribute table

SYNOPSIS

       v.db.droptable
       v.db.droptable help
       v.db.droptable   [-f]   map=string    [table=string]     [layer=string]
       [--verbose]  [--quiet]

   Flags:
       -f
           Force removal (required for actual deletion of table)

       --verbose
           Verbose module output

       --quiet
           Quiet module output

   Parameters:
       map=string
           Vector map from which to remove attribute table

       table=string
           Name of existing attribute table (default: vector map name)

       layer=string
           Layer from which to drop linked attribute table
           Default: 1

DESCRIPTION

       v.db.droptable removes an existing attribute table from a given  vector
       map  linked  at  given  layer.  If  the -f force flag is not given then
       nothing is removed.

NOTES

       v.db.droptable is a front-end to db.execute to allow easier usage.

       The existing database connection(s) can be verified with v.db.connect.

EXAMPLE

       Removing attribute table connected to layer 1:

       g.copy vect=roadsmajor,myroads
       v.db.droptable myroads
       v.db.droptable myroads -f
       v.db.connect -p myroads

SEE ALSO

         db.addtable,  db.connect,  db.execute,  v.db.addtable,  v.db.connect,
       v.db.dropcol, v.db.select, v.db.update
       GRASS SQL interface

AUTHOR

       Markus Neteler

       Last changed: $Date: 2012-11-25 05:27:13 -0800 (Sun, 25 Nov 2012) $

       Full index

       © 2003-2013 GRASS Development Team



  All copyrights belong to their respective owners. Other content (c) 2014-2018, GNU.WIKI. Please report site errors to webmaster@gnu.wiki.
Page load time: 0.111 seconds. Last modified: November 04 2018 12:49:43.