[GRASS-user] Re: [GRASSLIST:1053] Re: vector map <-> db connection

Markus Neteler neteler at itc.it
Thu May 11 08:34:31 EDT 2006


Massimiliano Cannata wrote:

> Yes it is....
> I just usually use "db.connect driver=dbf
> database='$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/'" to set the
> connection and then "v.db.connect -o map=blabla table=blabla" to set
> the link...
>
> you can also do not use db.connect and specify connection parameters
> with v.db.connect.
>
> In fact:
> db.connect - Set up connection to the database through DBMI.
> v.db.connect - Sets DB connection for a vector map.


Hi,

I have modified the descriptions to be (hopefully) more precise:
db.connect help
   Prints/sets general DB connection for current mapset

v.db.connect help
   Prints/sets DB connection for a vector map to attribute table

Markus




More information about the grass-user mailing list