[GRASS-user] v.colors usage
Markus Metz
markus.metz.giswork at gmail.com
Wed Nov 7 08:17:13 PST 2018
On Wed, Nov 7, 2018 at 5:03 PM Markus Metz <markus.metz.giswork at gmail.com>
wrote:
>
>
>
> On Wed, Nov 7, 2018 at 4:51 PM Rich Shepard <rshepard at appl-ecosys.com>
wrote:
> >
> > On Wed, 7 Nov 2018, Markus Metz wrote:
> >
> > > v.db.connect sets the table and database connection for a given,
existing
> > > vector. The default database connection can be overridden with the
driver=
> > > and database= options
> >
> > I reset the attribute database to the sqlite default with 'db.connect
> > driver=sqlite database=mercury' and that's the database shown in
> > response to db.connect -p:
>
> for sqlite, the database must be a path to a sqlite database, in your
case, as you used yourself before:
>
> database="$HOME/data/grassdata/willamette_basin/mercury/sqlite/sqlite.db"
for default sqlite databases you can use simply
db.connect -d
>
> Markus M
> >
> > > db.connect -p
> > driver: sqlite
> > database: mercury
> >
> > The next step in the example is to list the tables:
> > > db.tables -p
> > DBMI-SQLite driver error:
> > Unable to open database: mercury
> > unable to open database file
> >
> > DBMI-SQLite driver error:
> > Unable to open database: mercury
> > unable to open database file
> >
> > ERROR: Unable to open database <mercury>
> >
> > What error have I made here?
> >
> > Rich
> > _______________________________________________
> > grass-user mailing list
> > grass-user at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/grass-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20181107/68da0669/attachment.html>
More information about the grass-user
mailing list