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

2010-09-08 Thread Alexandre Gacon
The OGR CSV support is a supported driver and I think it will work better than the built-in GDAL support (but perhaps it the same think). Alexandre On Tue, Sep 7, 2010 at 8:58 PM, Ivan Lucena ivan.luc...@pmldnet.com wrote: On Sep 7, 2010, at 8:59 AM, Anders Moe wrote: Hi everyone

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

2010-09-08 Thread Lucena, Ivan
Hi Alexandre, Yes, that is an interesting idea. You can actually read the CSV files as OGR data source: % ogrinfo gcs.csv -al | more INFO: Open of `gcs.csv' using driver `CSV' successful. Layer name: gcs Geometry: None Feature Count: 438 Layer SRS WKT: (unknown) COORD_REF_SYS_CODE:

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

2010-09-07 Thread Howard Butler
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

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

2010-09-07 Thread Ivan Lucena
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