Re: [gdal-dev] How does OGRFeature::GetFieldAsDouble handle NULL values

2017-01-05 Thread Paul Meems
Thanks Nyall, Looking at the documentation it seems to be what I'm looking for. Thanks, Paul *Paul Meems * Release manager, configuration manager and forum moderator of MapWindow GIS. www.mapwindow.org Owner of MapWindow.nl - Support for Dutch speaking users. www.mapwindow.nl *The MapWindow

Re: [gdal-dev] How does OGRFeature::GetFieldAsDouble handle NULL values

2017-01-05 Thread Nyall Dawson
On 6 Jan 2017 7:37 AM, "Paul Meems" wrote: We're using GDAL v2.1.2 on Windows. We use the GDAL library with MapWinGIS to connect to a PostGIS database. When the PostGIS table has NULL values in integer, numeric or double fields and that data is read the returned values are 0 (zero), which is une

[gdal-dev] How does OGRFeature::GetFieldAsDouble handle NULL values

2017-01-05 Thread Paul Meems
We're using GDAL v2.1.2 on Windows. We use the GDAL library with MapWinGIS to connect to a PostGIS database. When the PostGIS table has NULL values in integer, numeric or double fields and that data is read the returned values are 0 (zero), which is unexpected by us. We use Feature->GetFieldAsDou