Nik, Using OGR_F_SetFieldXXXXX() only modifies the in-memory value, but has no effect on serialization. You have to use OGR_L_SetFeature() to make sure that the modified feature is written back to the datasource.
As it seems to be a common pitfall, I'm going to improve the doc of the OGR_F_SetFieldXXXX functions to make that clear. Even -- Spatialys - Geospatial professional services http://www.spatialys.com
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
