[gdal-dev] PGeo driver fails to open .mdb

Even Rouault even.rouault at mines-paris.org
Wed Feb 8 03:11:19 EST 2012


Selon Nicolas Garel <ngarel at micromine.com>:

> Hi All,
> Gdal 1.9 fails to open Esri Personal geodatabase file (.mdb) in some cases.
> The new PGeo driver looks into the header of the file for the GDB_GeomColumns
> table (http://trac.osgeo.org/gdal/changeset/21550) and cannot find it due to
> (I assume) the limited size of the header allocated (100Kbytes).
> My geodatabase has hundreds of tables and my assumption is that the buffer
> allocated for the buffer is too small to contain all the information required
> to check if the table exists.
>
> A solution would be to first open the file and query the name of the table
> instead.
> Thank you.

Could you file a ticket in Trac with a link to the database with which you have
an issue so we can see if there's another hint that could be used ? The
rationale for the change was the introduction of the Geomedia driver, and it was
an attempt to avoid opening the DB twice to discover if it should be handled by
the MDB or Geomedia driver. But perhaps there's no other reliable choice.

>
> Nicolas Garel | Junior Software Engineer
> Micromine Product
> Email | ngarel at micromine.com<mailto:ngarel at micromine.com>
>
> http://www.micromine.com<http://www.micromine.com/>
>
>
>
>
> [cid:mm_corp_emailsig_perth.gif at f975285f74b34488990805508972a24c]
>
>




More information about the gdal-dev mailing list