1database(1) Grass User's Manual database(1)
2
3
4
6 Geographic Resources Analysis Support System, commonly referred to as
7 GRASS, is a Geographic Information System (GIS) used for geospatial
8 data management and analysis, image processing, graphics/maps produc‐
9 tion, spatial modeling, and visualization. GRASS is currently used in
10 academic and commercial settings around the world, as well as by many
11 governmental agencies and environmental consulting companies.
12
13 This reference manual details the use of modules distributed with Geo‐
14 graphic Resources Analysis Support System (GRASS), an open source (GNU
15 GPLed), image processing and geographic information system (GIS). Go
16 to database introduction | topics
17
18 Go back to help overview
19
20 Database commands:
21 db.columns List all columns for a given table.
22
23 db.connect Prints/sets general DB connection for current mapset.
24
25 db.copy Copy a table.
26
27 db.createdb Creates an empty database.
28
29 db.databases Lists all databases for a given driver and location.
30
31 db.describe Describes a table in detail.
32
33 db.drivers Lists all database drivers.
34
35 db.dropcolumn Drops a column from selected attribute table.
36
37 db.dropdb Removes an existing database.
38
39 db.droptable Drops an attribute table.
40
41 db.execute Executes any SQL statement.
42
43 db.in.ogr Imports attribute tables in various formats.
44
45 db.login Sets user/password for DB driver/database.
46
47 db.out.ogr Exports attribute tables into various formats.
48
49 db.select Selects data from attribute table.
50
51 db.tables Lists all tables for a given database.
52
53 db.test Test database driver, database must exist and set by db.con‐
54 nect.
55
56 db.univar Calculates univariate statistics on selected table column.
57
58
59 Main index | Topics index | Keywords index | Graphical index | Full
60 index
61
62 © 2003-2019 GRASS Development Team, GRASS GIS 7.8.2 Reference Manual
63
64
65
66GRASS 7.8.2 database(1)