GRASS logo

Note: A new GRASS GIS stable version has been released: GRASS GIS 7, available here. And see the new manual page here

GRASS GIS 6.4.6svn Reference Manual

Geographic Resources Analysis Support System, commonly referred to as GRASS, 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 GPL'ed), image processing and geographic information system (GIS).

Go to database introduction

Go back to help overview

database commands:
db.columns List all columns for a given table.
db.connect Prints/sets general DB connection for current mapset and exits.
db.copy Copy a table.
db.describe Describes a table in detail.
db.drivers Lists all database drivers.
db.dropcol Drops a column from selected attribute table
db.droptable Drops an attribute table.
db.execute Executes any SQL statement. Imports attribute tables in various formats.
db.login Sets user/password for driver/database.
db.out.ogr Exports attribute tables into various formats. Selects data from attribute table (performs SQL query statement(s)).
db.tables Lists all tables for a given database.
db.test Test database driver, database must exist and set by db.connect.

Help Index | Full Index
© 2003-2016 GRASS Development Team, GRASS GIS 6.4.6svn Reference Manual