[GRASSLIST:8718] Re: Problem with db features

Markus Neteler neteler at itc.it
Thu Oct 20 10:51:28 EDT 2005


Luca Casagrande wrote:

>Hi to all guys!
>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.

Markus


Markus




More information about the grass-user mailing list