Opened 12 years ago
Closed 12 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 |
Cc: |
Description
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)
Change History (2)
by , 12 years ago
Attachment: | ogrgeomediageometry.cpp.diff added |
---|
comment:1 by , 12 years ago
Component: | default → OGR_SF |
---|---|
Milestone: | → 1.9.2 |
Resolution: | → fixed |
Status: | new → closed |
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 http://even.rouault.free.fr/coverage_r24339/ogr/ogrgeomediageometry.cpp.gcov.html , 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.
Patch of the bug