database(1grass)
β¨ GRASS 8.5.0 Reference Manual β¨
okay bestie, welcome to database(1grass) β the group chat where all the GRASS database modules hang out π
Geographic Resources Analysis Support System, aka GRASS (yes we say it out loud, it's iconic), is a Geographic Information System (GIS) used for geospatial data management and analysis, image processing, graphics/maps production, spatial modeling, and visualization. GRASS is literally being used right now in academic and commercial settings all around the world π, plus by sooo many governmental agencies and environmental consulting companies. main character energy fr fr π
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:
no cap, this is the whole squad β every single one of them π
db.columnsβ list ALL the columns for a given table. every last one. π§db.connectβ prints or sets the general DB connection for the current mapset. your connection's home base πdb.copyβ copy a table. that's it, that's the job π«db.createdbβ makes you a brand new, empty database πdb.databasesβ lists every database for a given driver and location πdb.describeβ describes a table in detail. tell me everything bestie π«Άdb.driversβ lists all the database drivers πdb.dropcolumnβ drops a column from the selected attribute table πͺdb.dropdbβ removes an existing database. bye babe πdb.droptableβ drops an attribute table ποΈdb.executeβ executes ANY SQL statement. any. go off πdb.in.ogrβ imports attribute tables in various formats π₯db.loginβ sets the user/password for a DB driver/database πdb.out.ogrβ exports attribute tables into various formats π€db.selectβ selects data from an attribute table βdb.tablesβ lists all tables for a given database πdb.testβ tests the database driver. heads up tho: the database must already exist and be set bydb.connectβ οΈdb.univarβ calculates univariate statistics on a selected table column π
Main index | Topics index | Keywords index | Graphical index | Full index
okay that's the whole vibe check, you're officially a database girlie now π
Β© 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual π
and that's a wrap on our little chat β this was brought to you by GRASS 8.5.0 and the one and only database(1grass). bye bestie, slay responsibly π¦πβ¨
π¦ where this page comes from
- alpine 3.24: grass-gis-doc 8.5.0-r1 Β· GPL-2.0-or-later
- ubuntu stonking: grass-doc 8.5.0-1ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms