[GRASS-user] ERROR: Database connection not defined

Moritz Lennert mlennert at club.worldonline.be
Mon Mar 31 11:22:30 EDT 2008


On 31/03/08 16:39, Jose A. Ruiz-Arias wrote:
> Dear list,
> after importing a tab file formatted with columns xutm, yutm and cat 
> using v.in.ascii, I have try v.db.select against this vector and the 
> next error appeared:
> 
> 'ERROR: Database connection not defined'
> 
> This is a bit odd for me considering that I remember some weeks ago I 
> created with v.in.ascii other point vectors from tab files formatted 
> like this and v.db.select worked properly. Someone could advise me?

 From the v.in.ascii man page:

"Attribute table is only created if it is needed, i.e. when at least one 
attribute column is present in the input file besides geometry columns."

Moritz


More information about the grass-user mailing list