On 23 October 2015 at 11:04, Gane R <[email protected]> wrote: > I have two applications (postgres with postgis) one running with gdal 1.10.1 > and other in gdal 2.0.1 but I see > gdal-data files are different in gdal 1.10.1 and gdal 2.0.1 > > So Will the GDAL_DATA point gdal 2.0.1 file or how to solve this ?
I think you should be able to solve it this way: 1) For PostgreSQL/PostGIS do not set GDAL_DATA as environment variable but as postgresql.gdal_datapath option Read here http://postgis.net/docs/manual-dev/postgis_gdal_datapath.html 2) Set GDAL_DATA env var for GDAL 2.0.1 apps If postgresql.gdal_datapath is defined, PostGIS should prefer it. without trying GDAL_DATA env variable. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
