My application uses OGR to edit ESRI Shapefiles. If I follow this steps:
1_ Create a feature(OGRFeature::CreateFeature) using the feature definition from an existing layer(layerA) 2_ Add a field (OGRLayer::CreateField) to layerA 3_ Try to save the feature (OGRLayer::SetFeature) in layerA I receive a SIGSEGV from function OGRFeature::SetField. I believe this happens because I modify the layer definition in step 2 leaving the feature definition out of date. I'd like to know if there is any way to check if the feature is valid before calling SetFeature. Thanks Ramiro
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev