1v.db.droptable(1)             Grass User's Manual            v.db.droptable(1)
2
3
4

NAME

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

KEYWORDS

9       vector, attribute table, database
10

SYNOPSIS

12       v.db.droptable
13       v.db.droptable --help
14       v.db.droptable  [-f] map=name  [table=name]   [layer=string]   [--help]
15       [--verbose]  [--quiet]  [--ui]
16
17   Flags:
18       -f
19           Force removal (required for actual deletion of table)
20
21       --help
22           Print usage summary
23
24       --verbose
25           Verbose module output
26
27       --quiet
28           Quiet module output
29
30       --ui
31           Force launching GUI dialog
32
33   Parameters:
34       map=name [required]
35           Name of vector map
36           Or data source for direct OGR access
37
38       table=name
39           Table name (default: vector map name)
40
41       layer=string
42           Layer number or name
43           Vector features can have category values in different layers.  This
44           number  determines  which  layer  to use. When used with direct OGR
45           access this is the layer name.
46           Default: 1
47

DESCRIPTION

49       v.db.droptable removes an existing attribute table from a given  vector
50       map linked at given layer. If the -f force flag is not given then noth‐
51       ing is removed.
52

NOTES

54       v.db.droptable is a front-end to db.execute to allow easier usage.
55
56       The existing database connection(s) can be verified with v.db.connect.
57

EXAMPLE

59       Removing attribute table connected to layer 1:
60       g.copy vect=roadsmajor,myroads
61       v.db.droptable myroads
62       v.db.droptable myroads -f
63       v.db.connect -p myroads
64

SEE ALSO

66        db.connect, db.execute, v.db.addtable, v.db.connect,  v.db.dropcolumn,
67       v.db.select, v.db.update
68       GRASS SQL interface
69

AUTHOR

71       Markus Neteler
72
73       Last changed: $Date: 2012-11-25 11:59:42 +0100 (Sun, 25 Nov 2012) $
74

SOURCE CODE

76       Available at: v.db.droptable source code (history)
77
78       Main  index  | Vector index | Topics index | Keywords index | Graphical
79       index | Full index
80
81       © 2003-2019 GRASS Development Team, GRASS GIS 7.4.4 Reference Manual
82
83
84
85GRASS 7.4.4                                                  v.db.droptable(1)
Impressum