From 996930229a83cf84e465ab20de70eda4745bd097 Mon Sep 17 00:00:00 2001 From: snowman2 Date: Mon, 1 Apr 2019 19:43:14 -0500 Subject: added documentation for the priority of searcing for PROJ resource files --- docs/source/usage/environmentvars.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'docs/source') diff --git a/docs/source/usage/environmentvars.rst b/docs/source/usage/environmentvars.rst index 478e2eab..c8dfe28e 100644 --- a/docs/source/usage/environmentvars.rst +++ b/docs/source/usage/environmentvars.rst @@ -40,6 +40,16 @@ done by setting the variable with no content:: in other locations as well, amongst those are the users home directory, ``/usr/share/proj`` and the current folder. + You can also set the location of the resource files using + :func:`proj_context_set_search_paths` in the `proj.h` API header. + +.. versionchanged:: 6.1.0 + + Starting with PROJ version 6.1.0, the paths set by + :func:`proj_context_set_search_paths` will have priority over the + :envvar:`PROJ_LIB` to allow for mutliple versions of PROJ + resource files on your system without conflicting. + .. envvar:: PROJ_DEBUG Set the debug level of PROJ. The default debug level is zero, which results -- cgit v1.2.3