Type 51 of geometry in Personal Geodatabase/shape
|Reported by:||fare||Owned by:||chaitanya|
Supplied pgeo has two object (1'st is type 51 and second regular polygon type).
If you try to convert supplied pgeo to mapinfo tab you will get empty geometry for objectid=1. If you convert to shape again you get empty geometry for objectid=1 and will you will get objectid=2 geometry converted to polyline(incorrectly).
Adding this code after existing code that handles assigning type 50 to line to function createFromShapeBin in ogrpgeolayer.cpp seems to solve problem
if( nSHPType == 51 ) nSHPType = SHPT_POLYGON;
Now both mi tab and shape contains two polygons.