aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-11-07 20:07:17 +0100
committerGitHub <noreply@github.com>2021-11-07 20:07:17 +0100
commit96910fc0bbfc20055cef50bf6e2da2774b652607 (patch)
tree61e50753e5f12e574f0f8fbe71b2dd71db51370d
parentb9809123252f0fd74e36cedb06866824aca9a124 (diff)
parent0f2efd7cfce521648746c48044acb87f5f689880 (diff)
downloadPROJ-96910fc0bbfc20055cef50bf6e2da2774b652607.tar.gz
PROJ-96910fc0bbfc20055cef50bf6e2da2774b652607.zip
Merge pull request #2927 from OSGeo/backport-2925-to-8.2
[Backport 8.2] DOC: add available keys to proj_context_get_database_metadata
-rw-r--r--src/iso19111/c_api.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/iso19111/c_api.cpp b/src/iso19111/c_api.cpp
index acf36402..1b9d89c8 100644
--- a/src/iso19111/c_api.cpp
+++ b/src/iso19111/c_api.cpp
@@ -373,6 +373,24 @@ const char *proj_context_get_database_path(PJ_CONTEXT *ctx) {
* The returned pointer remains valid while ctx is valid, and until
* proj_context_get_database_metadata() is called.
*
+ * Available keys:
+ *
+ * - DATABASE.LAYOUT.VERSION.MAJOR
+ * - DATABASE.LAYOUT.VERSION.MINOR
+ * - EPSG.VERSION
+ * - EPSG.DATE
+ * - ESRI.VERSION
+ * - ESRI.DATE
+ * - IGNF.SOURCE
+ * - IGNF.VERSION
+ * - IGNF.DATE
+ * - NKG.SOURCE
+ * - NKG.VERSION
+ * - NKG.DATE
+ * - PROJ.VERSION
+ * - PROJ_DATA.VERSION : PROJ-data version most compatible with this database.
+ *
+ *
* @param ctx PROJ context, or NULL for default context
* @param key Metadata key. Must not be NULL
* @return value, or nullptr