Re: [Gdal-dev] OGR Multiple features to Shapefile

2008-12-30 Thread Even Rouault
Hi, I've tested your code snippet under Linux and it works perfectly. If you are under Windows, I'd suspect you hit a known issue about incompatible new/delete procedures of the C runtime from your module with the ones used by GDAL's C runtime. See http://trac.osgeo.org/gdal/wiki/FAQMiscellane

[Gdal-dev] OGR Multiple features to Shapefile

2008-12-29 Thread Andrea Battisti
Hi all, are the OGRMulti{ LineString | Point | Polygon } geometries supported by the ESRI Shapefile driver (in creation mode?); if so I am probably missing something in they way they should be used. I am asking this because when I try to write such features (i.e. an OGRMultiPoint) to a shapefile