[gdal-dev] Usage of GDA_DATA in GDAL3

Javier Jimenez Shaw j1 at jimenezshaw.com
Tue Aug 18 01:27:21 PDT 2020


I see there are still *.wkt files in gdal/data. Is it still needed?
I would like to remove the call to CPLSetConfigOption("GDAL_DATA"...), but
now I am suspicious.
.___ ._ ..._ .. . ._.  .___ .. __ . _. . __..  ... .... ._ .__
Entre dos pensamientos racionales
hay infinitos pensamientos irracionales.



On Mon, 17 Aug 2020 at 15:33, Javier Jimenez Shaw <j1 at jimenezshaw.com>
wrote:

> Hi
>
> When I was using GDAL2 (from C++), I had to set the GDAL_DATA variable
> with something like
> CPLSetConfigOption("GDAL_DATA", gdalDataPath.c_str());
> to be able to use the SRS functions (using different coordinate reference
> systems).
>
> Now with GDAL3 (and PROJ7) I have to set instead the location of proj.db
> with OSRSetPROJSearchPaths(...)
>
> Do I need "GDAL_DATA" for anything else in GDAL3 ?
>
> Thanks
> .___ ._ ..._ .. . ._.  .___ .. __ . _. . __..  ... .... ._ .__
> Entre dos pensamientos racionales
> hay infinitos pensamientos irracionales.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200818/08e4f95c/attachment.html>


More information about the gdal-dev mailing list