[PROJ] Management of datum grid files.

Mike Taves mwtoews at gmail.com
Wed Nov 27 12:12:34 PST 2019


On Thu, 28 Nov 2019 at 01:15, Even Rouault <even.rouault at spatialys.com> wrote:
> You're right. Probably that %APPDATA%\Local would be a more idiomatic default expansion of ${XDG_DATA_HOME} for Windows.

There is some simple logic to see in appdir.py's `user_data_dir`
function[1]. They also define a `user_cache_dir` function too. Either
of these are simple enough to port to any other language.

[1] https://github.com/ActiveState/appdirs/blob/a54ea98feed0a7593475b94de3a359e9e1fe8fdb/appdirs.py#L45-L97


More information about the PROJ mailing list