database.1grass - Man Page

GRASS GIS 8.3.1 Reference Manual

Geographic Resources Analysis Support System, commonly referred to as GRASS GIS, is a Geographic Information System (GIS) used for geospatial data management and analysis, image processing, graphics/maps production, spatial modeling, and visualization. GRASS is currently used in academic and commercial settings around the world, as well as by many governmental agencies and environmental consulting companies.

This reference manual details the use of modules distributed with Geographic Resources Analysis Support System (GRASS), an open source (GNU GPLed), image processing and geographic information system (GIS). Go to database introduction | topics

Go back to help overview

Database commands

db.columnsList all columns for a given table.
db.connectPrints/sets general DB connection for current mapset.
db.copyCopy a table.
db.createdbCreates an empty database.
db.databasesLists all databases for a given driver and location.
db.describeDescribes a table in detail.
db.driversLists all database drivers.
db.dropcolumnDrops a column from selected attribute table.
db.dropdbRemoves an existing database.
db.droptableDrops an attribute table.
db.executeExecutes any SQL statement. attribute tables in various formats.
db.loginSets user/password for DB driver/database.
db.out.ogrExports attribute tables into various formats.
db.selectSelects data from attribute table.
db.tablesLists all tables for a given database.
db.testTest database driver, database must exist and set by db.connect.
db.univarCalculates univariate statistics on selected table column.

Main index | Topics index | Keywords index | Graphical index | Full index

© 2003-2023 GRASS Development Team, GRASS GIS 8.3.1 Reference Manual


GRASS 8.3.1 GRASS GIS User's Manual