[PROJ] Management of datum grid files.

Even Rouault even.rouault at spatialys.com
Wed Nov 27 04:15:11 PST 2019


On mercredi 27 novembre 2019 08:14:27 CET Kristian Evers wrote:
> Perhaps we should look into using %APPDATA%\Local\PROJ as the default path
> for %PROJ_LIB% on Windows?
> 
> This has been good practice on Windows for quite a while now. I guess the
> reason
> that PROJ doesn't have a default location on Windows is that in
> earlier versions of Windows no such place was available.

You're right. Probably that %APPDATA%\Local would be a more idiomatic default expansion of ${XDG_DATA_HOME} for Windows. 
Looking at
http://www.binbert.com/blog/2010/09/default-environment-variable-values-of-windows-7-xp/
I see there is a ton of potential candidate environment variables. As an non-native Windows user
it is hard to tell which one would be the most natural for natively-speaking Windows user...
Any preference ?

It seems %APPDATA%  expands to	C:\Users\{username}\AppData\Roaming . The Roaming
naming sounds funny. Or perhaps this is a Win7 only thing ?
%LOCALAPPDATA% expanding to C:\Users\{username}\AppData\Local would seem not so bad

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the PROJ mailing list