Opened 10 years ago

Closed 10 years ago

#4734 closed defect (fixed)

Geomedia driver fails to load "boundary" geometries when they are 2.5D or contain more than one inner rings.

Reported by: Doum Owned by: warmerdam
Priority: normal Milestone: 1.9.2
Component: OGR_SF Version: 1.9.1
Severity: normal Keywords: Geomedia mdb GEOMEDIA_BOUNDARY boundary


The Geomedia driver fails to load geometries of type GEOMEDIA_BOUNDARY from .mdb files if they are 2.5D or if they contain more than one inner rings.

I have found the problem to originate from the OGRCreateFromGeomedia() function of the ogr/ogrgeomediageometry.cpp file. I have found fixes to these problems and attached a .diff file of the corrections.

Attachments (1)

ogrgeomediageometry.cpp.diff (1.7 KB ) - added by Doum 10 years ago.
Patch of the bug

Download all attachments as: .zip

Change History (2)

by Doum, 10 years ago

Patch of the bug

comment:1 by Even Rouault, 10 years ago

Component: defaultOGR_SF
Milestone: 1.9.2
Resolution: fixed
Status: newclosed

Thanks for the patch. Applied in trunk (r24656) and in branches/1.9 (r24657).

By the way, would you have some sample geomedia .mdb that could be used in our autotest regression suite (as you can see in , it is completely untested now) ? Ideally, that would consist of one or a few small dataset with a few geometries of each type. No need for real data, and, actually that would be best if they were artificial, so that they can be freely redistribuable.

Note: See TracTickets for help on using tickets.