VectorDataIIOExample doesn't produce a multi-polygon
Mantis Issue 546, reported by lhermitte, assigned to jmichel, created: 2012-05-22
According to VectorDataIIOExample (and User Guide §7.3), one could expect the shape file produced would contain one multi-polygon. It isn't the case. The file contains a set of polygons.
Steps to reproduce:
build/bin/VectorDataIOExample $OTB-DATA/..../qb_RoadExtract_classification.shp /tmp/result.shp
ogrinfo -al /tmp/result.shp | grep Geometry
Note: the equivalent example based this time on OGRWrappers breaks the compatibility and produces one MultiPolygon.