Re: [gdal-dev] Unable to get features from OpenFileGDB data source

2014-07-10 Thread Even Rouault
Nik, By using GetFeature() the way you do, you assume that the passed parameter is an index number whereas it is a feature identifier. In most drivers that don't really support the concept of feature identifier, both concepts are identical. But in FileGDB, Feature Identifiers start at 1, and not 0

[gdal-dev] Unable to get features from OpenFileGDB data source

2014-07-09 Thread Nik Sands
Hi GDAL devs, I'm trying to support ESRI File Geodatabase support (read-only) in my iOS app and have recently got GDAL 1.11.0 compiled and running in the app for its new OpenFileGDB driver. However, I've been unable to extract features from GDBs using the exact same code that works fine for ot