aboutsummaryrefslogtreecommitdiff
path: root/include/proj
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-08-19 10:11:47 +0200
committerGitHub <noreply@github.com>2021-08-19 10:11:47 +0200
commit4766b7c3a17dc98f99c59d2b64076fd924df5804 (patch)
tree562d91eab76ad8196f4a721c4f48e8fb90e22a2e /include/proj
parent92d8cc66100d72ba53bbc0bb0651b26310dfce4c (diff)
parent31692d0c0667f26ea1975affeae161beabb279fd (diff)
downloadPROJ-4766b7c3a17dc98f99c59d2b64076fd924df5804.tar.gz
PROJ-4766b7c3a17dc98f99c59d2b64076fd924df5804.zip
Merge pull request #2814 from rouault/fix_2813
BoundCRS: accept importing/exporting in WKT2 and PROJJSON the scope/area/extent/id attributes (fixes #2813)
Diffstat (limited to 'include/proj')
-rw-r--r--include/proj/crs.hpp5
-rw-r--r--include/proj/io.hpp6
2 files changed, 10 insertions, 1 deletions
diff --git a/include/proj/crs.hpp b/include/proj/crs.hpp
index 481667b5..dcab094a 100644
--- a/include/proj/crs.hpp
+++ b/include/proj/crs.hpp
@@ -1011,6 +1011,11 @@ class PROJ_GCC_DLL BoundCRS final : public CRS,
//! @endcond
PROJ_DLL static BoundCRSNNPtr
+ create(const util::PropertyMap &properties, const CRSNNPtr &baseCRSIn,
+ const CRSNNPtr &hubCRSIn,
+ const operation::TransformationNNPtr &transformationIn);
+
+ PROJ_DLL static BoundCRSNNPtr
create(const CRSNNPtr &baseCRSIn, const CRSNNPtr &hubCRSIn,
const operation::TransformationNNPtr &transformationIn);
diff --git a/include/proj/io.hpp b/include/proj/io.hpp
index 11912e3d..1c858248 100644
--- a/include/proj/io.hpp
+++ b/include/proj/io.hpp
@@ -537,7 +537,11 @@ class PROJ_GCC_DLL JSONFormatter {
// cppcheck-suppress functionStatic
PROJ_INTERNAL bool outputId() const;
- PROJ_INTERNAL bool outputUsage() const;
+ PROJ_INTERNAL bool
+ outputUsage(bool calledBeforeObjectContext = false) const;
+
+ PROJ_INTERNAL static const char *PROJJSON_v0_2;
+ PROJ_INTERNAL static const char *PROJJSON_v0_3;
//! @endcond