aboutsummaryrefslogtreecommitdiff
path: root/docs/source
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-01-08 22:32:54 +0100
committerEven Rouault <even.rouault@spatialys.com>2020-01-08 22:32:54 +0100
commit9263e1d36eec53ee3c4e4d04da93a032c0596eec (patch)
tree12afe91a09b60a9ae2a1b2fbff8fa81b24ceee41 /docs/source
parentda93fe3bea35ae8d2383e6006b7775bb96af6885 (diff)
downloadPROJ-9263e1d36eec53ee3c4e4d04da93a032c0596eec.tar.gz
PROJ-9263e1d36eec53ee3c4e4d04da93a032c0596eec.zip
Add capability to read resource files from the user writable directory
Diffstat (limited to 'docs/source')
-rw-r--r--docs/source/resource_files.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/source/resource_files.rst b/docs/source/resource_files.rst
index 51db94fb..3684a948 100644
--- a/docs/source/resource_files.rst
+++ b/docs/source/resource_files.rst
@@ -23,21 +23,34 @@ The following paths are checked in order:
- For transformation grids that have an explict relative or absolute path,
the directory specified in the grid filename.
+
- Path resolved by the callback function set with
the :c:func:`proj_context_set_file_finder`. If it is set, the next tests
will not be run.
+
- Path(s) set with the :c:func:`proj_context_set_search_paths`. If set, the
next tests will not be run.
+
+- The PROJ user writable directory, which is :
+
+ * on Windows, ${LOCALAPPDATA}/proj
+ * on MacOSX, ${HOME}/Library/Logs/proj
+ * on other platforms (Linux), ${XDG_DATA_HOME}/proj if :envvar:`XDG_DATA_HOME`
+ is defined. Else ${HOME}/.local/share/proj
+
- Path(s) set with by the environment variable :envvar:`PROJ_LIB`.
On Linux/MacOSX/Unix, use ``:`` to separate paths. On Windows, ``;``
+
- On Windows, the *..\\share\\proj\\* and its contents are found automatically
at run-time if the installation respects the build structure. That is, the
binaries and proj.dll are installed under *..\\bin\\*, and resource files
are in *..\\share\\proj\\*.
+
- A path built into PROJ as its resource installation directory (whose value is
$(pkgdatadir)), for builds using the Makefile build system. Note, however,
that since this is a hard-wired path setting, it only works if the whole
PROJ installation is not moved somewhere else.
+
- The current directory
When networking capabilities are enabled, either by API with the