[GRASS-dev] tgis.db

Martin Landa landa.martin at gmail.com
Sat Dec 8 04:15:55 PST 2012


Hi,

2012/12/8 Sören Gebbert <soerengebbert at googlemail.com>:
> sorry i am confused. I made a svn update of grass trunk and typed
> db.connect help.
> The default path there is: "$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite.db".

you have probably default connection settings already defined. If no
connection settings is defined and SQLite driver is available, then
`$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db` is used as the
default database [1]. Default DB for SQLite driver has been changed in
r52829 [2].

Martin

[1] http://trac.osgeo.org/grass/browser/grass/trunk/lib/db/dbmi_base/default_name.c#L130
[2] http://trac.osgeo.org/grass/changeset/52829/grass/trunk/lib/db/dbmi_base/default_name.c

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa


More information about the grass-dev mailing list