[GRASSLIST:8725] Re: Problem with db features

Hamish hamish_nospam at yahoo.com
Thu Oct 20 20:39:45 EDT 2005


> >I am following a tutorial and i can't go on on this point:
> >If i understand correctly, this line:
> >v.db.connect map=fires2 driver=dbf 
> >database=$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/ table=fires_1 key=cat
> >layer=2 Connect the table fires_1 to the layer 2 of map fires2.
> >Running this command, i got this error:
> >DBMI-DBF driver error:
> >Cannot open dbf database: ///dbf/
> >  
> >
> 
> It should be
> 
> v.db.connect map=fires2 driver=dbf
> database='$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/' table=fires_1 key=cat
> layer=2
> 
> -> note the protection of the variables with '...'.
> 
> If it is wrong in the tutorial, please notify the author.


note also that most of that is the defaults so:

v.db.connect map=fires2 table=fires_1 layer=2

should work too.


Hamish




More information about the grass-user mailing list