aboutsummaryrefslogtreecommitdiff
path: root/docs/source/faq.rst
diff options
context:
space:
mode:
authorAndrew Bell <andrew.bell.ia@gmail.com>2019-05-30 11:37:22 -0400
committerKristian Evers <kristianevers@gmail.com>2019-05-30 17:37:22 +0200
commit5558c91f1cfa63ffc79e648caafb957288849654 (patch)
treefb21940488b4b875b8cdb53e93511c440529c23c /docs/source/faq.rst
parent2eb2798b1ef31d04c717856d82acd4ccb7aac78a (diff)
downloadPROJ-5558c91f1cfa63ffc79e648caafb957288849654.tar.gz
PROJ-5558c91f1cfa63ffc79e648caafb957288849654.zip
Add information about proj.db. (#1491)
Diffstat (limited to 'docs/source/faq.rst')
-rw-r--r--docs/source/faq.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/source/faq.rst b/docs/source/faq.rst
index e6a2e54a..e7265d48 100644
--- a/docs/source/faq.rst
+++ b/docs/source/faq.rst
@@ -156,3 +156,19 @@ of the Well-Known Text output:
AREA["World"],
BBOX[-90,-180,90,180]],
ID["EPSG",4326]]
+
+Why am I getting the error "Cannot find proj.db"?
+--------------------------------------------------------------------------------
+The file :ref:`proj.db<proj-db>` must be readable for the library to properly
+function. Like other :doc:`resource files<../resource_files>`,
+it is located using a set of search
+paths. In most cases, the following paths are checked in order:
+
+ - A path provided by the environment variable :envvar:`PROJ_LIB`.
+ - A path built into PROJ as its resource installation directory
+ (typically ../share/proj relative to the PROJ library).
+ - The current directory.
+
+Note that if you're using conda, activating an environment sets
+:envvar:`PROJ_LIB` to a resource directory located in that environment.
+