1v.db.droptable(1) GRASS GIS User's Manual v.db.droptable(1)
2
3
4
6 v.db.droptable - Removes existing attribute table of a vector map.
7
9 vector, attribute table, database
10
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
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
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
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
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
71 Markus Neteler
72
74 Available at: v.db.droptable source code (history)
75
76 Main index | Vector index | Topics index | Keywords index | Graphical
77 index | Full index
78
79 © 2003-2020 GRASS Development Team, GRASS GIS 7.8.5 Reference Manual
80
81
82
83GRASS 7.8.5 v.db.droptable(1)