Skip to content

g.gui.dbmgr

Launches graphical attribute table manager.

g.gui.dbmgr map=name [--verbose] [--quiet] [--qq] [--ui]

Example:

g.gui.dbmgr map=name

grass.script.run_command("g.gui.dbmgr", map, verbose=False, quiet=False, superquiet=False)

Example:

gs.run_command("g.gui.dbmgr", map="name")

Parameters

map=name [required]
    Name of vector map
    Or data source for direct OGR access
--help
    Print usage summary
--verbose
    Verbose module output
--quiet
    Quiet module output
--qq
    Very quiet module output
--ui
    Force launching GUI dialog

map : str, required
    Name of vector map
    Or data source for direct OGR access
    Used as: input, vector, name
verbose: bool, optional
    Verbose module output
    Default: False
quiet: bool, optional
    Quiet module output
    Default: False
superquiet: bool, optional
    Very quiet module output
    Default: False

wxGUI Attribute Table Manager

DESCRIPTION

The Attribute Table Manager is a wxGUI component to query, edit, and manage attribute data for vector maps. The attribute table manager can be launched by clicking on icon icon in the toolbar. It's also available as a stand-alone module g.gui.dbmgr.

Attribute table manager allows you to:

  • browse attribute data of vector map, perform SQL select statements;
  • modify attribute data, insert new records to attribute table, delete existing records;
  • highlight selected items in the Map Display Window;
  • extract selected items into a new vector map;
  • modify attribute table - add, drop, rename columns;
  • modify vector map DB connection settings - add, remove or modify layers.

Attribute Table Manager
Figure: Simple attribute filtering using Attribute Table Manager.

SQL Builder

Attribute Table Manager and SQL Builder
Figure: Attribute filtering using Attribute Table Manager and SQL Builder.

SEE ALSO

wxGUI, wxGUI components

db.columns, db.connect, db.describe, db.drivers, db.execute, db.select, db.tables

v.db.addcolumn, v.db.connect, v.db.dropcolumn, v.db.renamecolumn, v.what

See also wiki page including video tutorials.

AUTHORS

Martin Landa, FBK-irst (2007-2008), Trento, Italy, and OSGeoREL at the Czech Technical University in Prague, Czech Republic
Michael Barton, Arizona State University, USA
Jachym Cepicky

SOURCE CODE

Available at: g.gui.dbmgr source code (history)
Latest change: Sunday Mar 02 22:01:05 2025 in commit 2ca208e