[GRASS-user] Finding why postgres database cannot be opened [RESOLVED]

Rich Shepard rshepard at appl-ecosys.com
Thu Nov 8 07:25:39 PST 2018


On Thu, 8 Nov 2018, Rich Shepard wrote:

>  What am I still doing incorrectly with db.connect?

   Fixed: it's not db.connect, it was not providing all fields to the
v.db.connect command:

> v.db.connect map=stations driver=pg database=willamette-river-hg \
> table=stations layer=1 sep=pipe -o

The table <stations> is now part of vector map <stations> and may be
deleted or overwritten by GRASS modules

> v.db.connect map=stations -p
Vector map <stations> is connected by:
layer <1/stations> table <stations> in database <willamette-river-hg>
through driver <pg> with key <cat>

   Thank you Markus M and Stefan.

Regards,

Rich


More information about the grass-user mailing list