|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-1d1e47ad9d
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <grass/gis.h>#include <grass/temporal.h>#include <grass/glocale.h>
Go to the source code of this file.
Functions | |
| const char * | tgis_get_default_driver_name (void) |
| Get default TGIS driver name. | |
| char * | tgis_get_default_database_name (void) |
| Get default TGIS database name for the sqlite connection. | |
| int | tgis_set_default_connection (void) |
| Sets up TGIS database connection settings using GRASS default. | |
Get default TGIS database name for the sqlite connection.
The default name is $GISDBASE/$LOCATION_NAME/$MAPSET/tgis/sqlite.db
Definition at line 40 of file temporal/lib/default_name.c.
References G_store(), and TGISDB_DEFAULT_SQLITE_PATH.
Referenced by tgis_set_default_connection().
Get default TGIS driver name.
Definition at line 28 of file temporal/lib/default_name.c.
References TGISDB_DEFAULT_DRIVER.
Sets up TGIS database connection settings using GRASS default.
Definition at line 55 of file temporal/lib/default_name.c.
References _, DB_OK, G_fatal_error(), G_free(), tgis_get_default_database_name(), tgis_set_connection(), and TGISDB_DEFAULT_DRIVER.