[gdal-dev] 1.11 OGR_F_SetFieldDouble() then OGR_F_GetFieldAsDouble() always returns zero
Even Rouault
even.rouault at spatialys.com
Mon Jan 2 23:40:02 PST 2017
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170103/226654d9/attachment.html>
More information about the gdal-dev
mailing list