aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-10-05 19:21:05 +0200
committerGitHub <noreply@github.com>2021-10-05 19:21:05 +0200
commitc50ba1b1a7ecde946544c03ab0951727dd87264d (patch)
tree2be4d809980ba1450d6e8a2af29c4e9822c9f2d1 /include
parent6b58adb4b7396b9c2aff2fa26aae2340d5a62d21 (diff)
parent5d6bdadfca419c1d54d455e240743791e6cea44e (diff)
downloadPROJ-c50ba1b1a7ecde946544c03ab0951727dd87264d.tar.gz
PROJ-c50ba1b1a7ecde946544c03ab0951727dd87264d.zip
Merge pull request #2876 from rouault/iau
Add IAU_2015 CRS definitions
Diffstat (limited to 'include')
-rw-r--r--include/proj/io.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/proj/io.hpp b/include/proj/io.hpp
index 6b811b2d..47703442 100644
--- a/include/proj/io.hpp
+++ b/include/proj/io.hpp
@@ -512,6 +512,8 @@ class PROJ_GCC_DLL JSONFormatter {
PROJ_INTERNAL CPLJSonStreamingWriter *
writer() const;
+ PROJ_INTERNAL const DatabaseContextPtr &databaseContext() const;
+
struct ObjectContext {
JSONFormatter &m_formatter;
@@ -912,6 +914,17 @@ class PROJ_GCC_DLL DatabaseContext {
getTransformationsForGridName(const DatabaseContextNNPtr &databaseContext,
const std::string &gridName);
+ PROJ_INTERNAL bool
+ getAuthorityAndVersion(const std::string &versionedAuthName,
+ std::string &authNameOut, std::string &versionOut);
+
+ PROJ_INTERNAL bool getVersionedAuthority(const std::string &authName,
+ const std::string &version,
+ std::string &versionedAuthNameOut);
+
+ PROJ_DLL std::vector<std::string>
+ getVersionedAuthoritiesFromName(const std::string &authName);
+
//! @endcond
protected: