Opened 16 years ago
Last modified 13 months ago
#377 new defect
MultiGeometries can't be read from MapInfo .tab file
Reported by: | paulggp | Owned by: | gregboone |
---|---|---|---|
Priority: | major | Milestone: | 4.2.0 |
Component: | FDO API | Version: | 3.3.1 |
Severity: | 3 | Keywords: | |
Cc: | External ID: |
Description
When reading from a MapInfo .tab file using the OGR provider, the geometries are all returned as MultiGeometry but all of them are apparently empty (GetCount() returns 0 and GetText() returns "GEOMETRYCOLLECTION()"). Using the ogrinfo command line utility from GDAL 1.4.2 and 1.4.4 shows valid geometry data for each record in the same file, so there may be a bug somewhere (in the OGR provider, the WKB to FGF conversion code or the 1.4.3 version of GDAL distributed with FDO).
I will attach the layer this problem is occurring with along with an abridged source file to this ticket.
Attachments (1)
Change History (3)
by , 16 years ago
Attachment: | fdo_tabtest.zip added |
---|
comment:1 by , 16 years ago
I think the culprit here is missing handling code for multigeometries in the Fgf2Wkb and Wkb2Fgf functions in OgrFdoUtil.cpp.
comment:2 by , 13 months ago
Milestone: | → 4.2.0 |
---|
MapInfo .tab file and C++ source to reproduce issue