[GRASSLIST:2838] Re: DBMI-DBF driver error

Radim Blazek blazek at itc.it
Thu Mar 4 07:17:24 EST 2004


On Wednesday 03 March 2004 14:19, Maliheh wrote:
> Hello list,
> I'm using grass57_exp_2004_01_17, I want to use of
> some sql commands, I have one vector map:"Teh_Vect" so
> at first I use:
> #db.connect driver=dbf database=Teh_Vect
> driver:dbf
> database:Teh_Vect
> But when I use:
> #echo "select * from Teh_Vect" | db.select
> I get this error:
> DBMI-DBF driver error: Cannot open dbf database:
> Teh_Vect
> Would you please tell me what is my wrong?
> Thank you soooooooo much

database for dbf is full path to the directory where is dbf file.
v.db.connect -p tells where attribute table is.
By default dbf database is $GISDBASE/$LOCATION_NAME/$MAPSET/dbf

Radim




More information about the grass-user mailing list