Hamish wrote:
> > #define DB_DEFAULT_DRIVER "dbf"
> >  to be
> > #define DB_DEFAULT_DRIVER "sqlite"

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

the function that sets up the driver connection looks at the
driver name defined above, and adjusts the db file path as
needed, automatically.

see db_set_default_connection() in lib/db/dbmi_base/default_name.c


Hamish
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to