<div class="gmail_quote">Hello, <br><br>I am using OGR to read information from ESRI Shapefile files. I have a problem with empty or null fields. I need to know when a value for a field has not been set. Something like an isNull() or isSet() function.<br>
For example, if I read a value as integer from a field that is empty, the value returned is a 0. The same value is returned if the field has a value of 0.<br><br>Is there any way to check for these empty or not set field values using OGR ?<br>
<br>Thank you,<br><font color="#888888"><br>Xavi<br>
</font></div><br>