[GRASS-user] grass default db driver

Vincent Bain bain at toraval.fr
Thu Apr 4 02:34:03 PDT 2013


Thank you Hamish,

> #define DB_DEFAULT_DRIVER "dbf"
>  to be
> #define DB_DEFAULT_DRIVER "sqlite"

I'll give it a try.
Is this statement sufficient to turn db-file sub-directory name to :
$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite.db ?


> I suppose something could be added to allow that constant to
> be overridden if a certain environment or g.gisenv variable
> exists.

Ok, it could be useful for those who never run dbf driver.

Vincent



More information about the grass-user mailing list