[gdal-dev] Usage of GDA_DATA in GDAL3

Javier Jimenez Shaw j1 at jimenezshaw.com
Mon Aug 17 06:33:19 PDT 2020


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/20200817/d98da708/attachment.html>


More information about the gdal-dev mailing list