GetValue doesn't return null
I think that MW5.Api.Concrete Featureset GetValue returns "0" when field is null.
Thanks very much, problem solved !
Yes, I will ! Thanks for the work done.
I fixed this issue in
When we release a new test version you can check if it is solved in your code as well.
The GDAL mailinglist replied:
That should return false for null values.
I'll try to add it to the CopyValues() function.
In Ogr2Shape.cpp line 266 is CopyValues()
I think this function is responsible for adding the values to the buffer (which is an in-memory shapefile).
The function is using functions from GDAL like Feature->GetFieldAsInteger, Feature->GetFieldAsDouble and Feature->GetFieldAsString.
I've looked at the GDAL API documentation but nothing says how NULL values are handled.
I will ask on their mailinglist.