[Gdal-dev] OGRTINDEX support for Geodatabases?

Mateusz Loskot mateusz at loskot.net
Wed May 31 11:19:09 EDT 2006


Hi,

Mateusz Loskot wrote:
> chrislist at narx.net wrote:
>> 
>> Just wondering if the ogrtindex driver has support for the pgeo 
>> driver? I have multiple geodatabases and creating a ogr index would
>>  make my life 100x easier. OGR can read the PGeo fine, but whenever
>> i try to create an index it fails with the below ODBC error.
>> 
>> ogrtindex tindex.shp F:/web/uploaded/slip/data/Hydro/50k/*.mdb
>> 
>> ERROR 1: Unable to initialize ODBC connection to DSN for 
>> DRIVER=Microsoft Access Driver 
>> (*.mdb);DBQ=F:/web/uploaded/slip/data/Hydro/50k/*.mdb, 
>> [Microsoft][ODBC Microsoft Access Driver] Disk or network error. 
>> Failed to open dataset F:/web/uploaded/slip/data/Hydro/50k/*.mdb, 
>> skipping.
> 
> 
> 
> This error is well-known and we are working to fix it. The bug is in
> MDB Tools which currently does not allow to use its ODBC driver with
> DSN-less connection.
> 
> Here is the story: 
> http://article.gmane.org/gmane.comp.db.mdb-tools.devel/1038
> 
> You could try to create DSN for your MDB database and run it as
> follows:
> 
> ogrinfo PGeo:your_dsn_to_pgeo_database
> 
> (list of layers)
> 
> ogrinfo PGeo:your_dsn_to_pgeo_database <layer name>
> 
> (layer details)
> 
> 
> Recenlty, I've managed to run OGR + PGeo with .mdb file path but it 
> is not available for users yet.


ERRATA !!!

Chris,
I apologize but I was wrong completely here.
I missed that you're writing about running ogrinfo on Windows.
Please, forget about this story abou MDB Toolsa and
DSN-less connections :-) Please, forgive me that.


Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net



More information about the Gdal-dev mailing list