Ticket #4498 (closed defect: fixed)

Opened 3 months ago

Last modified 4 weeks ago

PGeo driver fails to open .mdb due to limited size of the header

Reported by: ngarel Owned by: warmerdam
Priority: high Milestone: 1.9.1
Component: OGR_SF Version: 1.9.0
Severity: normal Keywords: pgeo mdb
Cc:

Description

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.

Attachments

J5509.7z Download (0.9 MB) - added by ngarel 3 months ago.

Change History

Changed 3 months ago by ngarel

Changed 3 months ago by rouault

  • status changed from new to closed
  • resolution set to fixed
  • component changed from default to OGR_SF
  • milestone set to 1.9.1

Fixed in trunk (r23931) and branches/1.9 (r23932).

Changed 4 weeks ago by rouault

r24321 /trunk/autotest/ogr/ogr_pgeo.py: Make sure Geomedia is registered after MDB (due to change

r24322 /branches/1.9/autotest/ogr/ogr_pgeo.py: Make sure Geomedia is registered after MDB (due to change for #4498)

Note: See TracTickets for help on using tickets.