Skip to content

Commit

Permalink
Merge pull request #2927 from OSGeo/backport-2925-to-8.2
Browse files Browse the repository at this point in the history
[Backport 8.2] DOC: add available keys to proj_context_get_database_metadata
  • Loading branch information
rouault authored Nov 7, 2021
2 parents b980912 + 0f2efd7 commit 96910fc
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/iso19111/c_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 96910fc

Please sign in to comment.