[GRASS-user] Re: v.db.select works, db.select fails: same VAR

Wailliez Sébastien sebastien.wailliez at trasys.be
Wed Mar 19 12:57:55 EDT 2008


Hello Markus,

 

I just tried ogrinfo --formats and ODBC is not in the list :-O

Apparently, the guys at SuSE who made the RPM didn't bother to compile OGR with ODBC support... I might as well build it all myself if that doesn't mean spending all day downloading and building tonnes of dependencies.

 

Now, is it so that db.select relies on OGR to access the database and v.db.select doesn't? My DB server is PostgreSQL, which is supported by my stock OGR build, and db.select does indeed work when I set driver=pg.

 

Thanks for your help (and insight)

 

Sébastien

 

> could you try ogrinfo on that data set? Just to see if it also fails. Should be

> something like

> 

> ogrinfo ODBC:user/pass at DSN table

> 

> Markus

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20080319/9dfb03c7/attachment-0001.html


More information about the grass-user mailing list