Tai, Please provide some more details. OGR Feature definition stores the fields in a zero based array.
On Wed, Jul 25, 2012 at 1:29 PM, taibc <[email protected]> wrote: > Hi friends, > > My program use GEO and GDAL (with Visual Studio 2010, C++). After running > the program, there are many error messages: Error 1: Invalid Index : -1 > (More than 1000 errors). > > Although I set environment variable: GDAL_DATA = C:\gdal\data by modifying > settings of My Computer and Visual Studio, but still got these errors. > > Do you know how to fix it ? > > Thanks and regards, > Tai > > > > > > -- > View this message in context: > http://osgeo-org.1560.n6.nabble.com/How-to-fix-Error-1-Invalid-Index-1-tp4990687.html > Sent from the GDAL - Dev mailing list archive at Nabble.com. > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev > -- Best regards, Chaitanya kumar CH. +91-9494447584 17.2416N 80.1426E
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
