Importshapefile crash with invalid geometry
Using a converted layer into shapefile in If original layer has invalid geometries, a crash occurs
OgrLayer lay = ds.GetLayerByName("t_zsro");
Shapefile sf2 = lay.GetBuffer();
ds.ImportShapefile(sf2, "test3", "OVERWRITE=YES", tkShapeValidationMode.TryFixSkipOnFailure);
Crash do not occurs with a shapefile.
About validation mode, how is it possible to catch wrong features ?
Not sure if the cause is invalid geometries, could be multi-part
Neither one, features are in the results crash seems to occur at the end of the import.