[GRASS-user] GRASS6.2.1+QGIS0.9_db.connect

Salvator*eL*arosa s_larosa at libero.it
Sat Dec 1 17:26:55 EST 2007




Markus Neteler wrote:
> 
> 
> 
> what does
> db.connect -p
> report  (print current settings)?
> 
> You could set to a different driver:
> http://grass.itc.it/grass63/manuals/html63_user/db.connect.html
> 
> Markus
> 

Thanks for reply

db.connect -p:

driver:pg
database:host=localhost,dbname=cms
schema:public
group:(null)

I tried to change to:

driver:dbf
database:$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/
schema:(null)
group:(null)

but import module get me this error:


Table '(null).bacini' linked to vector did not exist.
Layer: bacini
DBMI-DBF driver error:
SQL parser error in statement:
create table (null).bacini (cat integer, ID double precision, GEOMETRY_S
varchar ( 254 ), AREE varchar ( 254 ), NOME varchar ( 254 ))
Error in db_execute_immediate()


Cannot create table: create table (null).bacini (cat integer, ID double
precision, GEOMETRY_S varchar ( 254 ), AREE varchar ( 254 ), NOME varchar (
254 ))

What you think about it?



-- 
View this message in context: http://www.nabble.com/GRASS6.2.1%2BQGIS0.9_db.connect-tf4928891.html#a14110345
Sent from the Grass - Users mailing list archive at Nabble.com.



More information about the grass-user mailing list