[PROJ] Management of datum grid files.

Even Rouault even.rouault at spatialys.com
Tue Nov 26 14:12:20 PST 2019


> 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


More information about the PROJ mailing list