[GRASS-user] v.colors usage

Rich Shepard rshepard at appl-ecosys.com
Wed Nov 7 05:39:11 PST 2018


On Wed, 7 Nov 2018, Markus Metz wrote:

> I suggested v.db.droptable, not db.droptable. db.* commands work on
> databases whereas v.* commands work on vectors. Thus you need to use
> v.db.connect, not db.connect, to connect a table to a vector, e.g.:
>
> v.db.connect map=stations driver=pg database="willamette-river-hg"
> table=stations layer=1

Markus M,

   Okay. Another step in my learning to use postgres databases with grass
rther than the default.

   I don't know if this makes a difference, but the stations table has the
same name in both databases. The grass map attribute table came from the
postgres table. The other maps were developed in grass and I used db.copy
with a name change to insert them in the postgres database.

   I'll use v.db.connect and v.db.droptable now.

Many thanks,

Rich


More information about the grass-user mailing list