[gdal-dev] How to fix "Error 1: Invalid Index : -1"
taibc
taibc_coltech at yahoo.com
Wed Jul 25 03:07:47 PDT 2012
Hi Chaitanya,
I used the blow statements :
// To fetch features
while( (poFeature = poLayer->GetNextFeature()) != NULL )
{
}
// To set fields
for (int fieldCount = 0; fieldCount < poFDefn->GetFieldCount(); fieldCount
++)
{
}
Kind regards,
Tai
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-fix-Error-1-Invalid-Index-1-tp4990687p4990716.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
More information about the gdal-dev
mailing list