> On Sep 7, 2010, at 8:59 AM, Anders Moe wrote: > > > > > Hi everyone > > > > Creating a C++ enduser app I was wondering if there is a programmatic way > to read the various datums/projections etc. files in the gdal data directory > ? I would like to present these in the interface if the user is to perform > conversion, etc. > > Anders, > > There's no interfaces as far as I know. People usually consume the files in > the GDAL_DATA directory using their favorite text manipulation methods
That is right, you can also the GDAL own CSV support: http://trac.osgeo.org/gdal/browser/trunk/gdal/port/cpl_csv.cpp Example of use are everywhere in the code, like here: http://trac.osgeo.org/gdal/browser/trunk/gdal/frmts/idrisi/IdrisiDataset.cpp#L2301 I believe that CPL_CSV is not exposed on the GDAL API but it is available for C and C++ coders. Regards, Ivan _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
