[gdal-dev] C++ interface to lists of coordinate systems in data dir ?

Howard Butler hobu.inc at gmail.com
Tue Sep 7 13:02:27 EDT 2010


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 or extract the EPSG <http://www.epsg.org> data into some sort of SQL database like Postgres or sqlite for more complete manipulation capabilities.

Howard



More information about the gdal-dev mailing list