Re: Management of datum grid files.

Even Rouault <[email protected]> Tue, 26 Nov 2019 23:12:20 +0100
Newsgroups gmane.comp.gis.proj-4.devel
Message-ID <23877241.Mo6V5nEIhq@even-i700>
> No. The PROJ binary has no idea where PROJ_LIB can be pointed too. That's
> why it is needed to be defined. For some builds typically done by Linux
> distributions where the installaton path is known at build time, the
> default search path is hardcoded in the binary, but for Windows, the actual
> installation path is rarely known in advance.

Yes, that's why I floated around the idea that PROJ default search path could 
also include the  ${XDG_DATA_HOME}/proj directory, where ${XDG_DATA_HOME} 
resolves to ${HOME}/.local/share on Unix builds and ${USERPROFILE}/.local/
share on Windows builds, that RFC4 plans to use to put the local cache of 
downloaded chunks from the CDN. That has also the advantage that it is a user 
writable directory, which can help people not having admin rights.

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
PROJ mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/proj