aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-09-07 19:57:36 +0200
committerEven Rouault <even.rouault@spatialys.com>2021-09-07 19:57:36 +0200
commit5527b10ed140e20fac8e183317514fd59e4c8b99 (patch)
tree9682f4e22952a3be38d858d5a00c753a19b7f258 /include
parent312e511cded7e29d23c5ff5ebf5f1be0bcdc44bb (diff)
downloadPROJ-5527b10ed140e20fac8e183317514fd59e4c8b99.tar.gz
PROJ-5527b10ed140e20fac8e183317514fd59e4c8b99.zip
Support importing/exporting WKT & PROJJSON of 2D axis spherical planetocentric geodetic CRS
Diffstat (limited to 'include')
-rw-r--r--include/proj/coordinatesystem.hpp5
-rw-r--r--include/proj/crs.hpp2
2 files changed, 7 insertions, 0 deletions
diff --git a/include/proj/coordinatesystem.hpp b/include/proj/coordinatesystem.hpp
index e1650168..b40b038d 100644
--- a/include/proj/coordinatesystem.hpp
+++ b/include/proj/coordinatesystem.hpp
@@ -314,6 +314,11 @@ class PROJ_GCC_DLL SphericalCS final : public CoordinateSystem {
const CoordinateSystemAxisNNPtr &axis2,
const CoordinateSystemAxisNNPtr &axis3);
+ PROJ_DLL static SphericalCSNNPtr
+ create(const util::PropertyMap &properties,
+ const CoordinateSystemAxisNNPtr &axis1,
+ const CoordinateSystemAxisNNPtr &axis2);
+
protected:
PROJ_INTERNAL explicit SphericalCS(
const std::vector<CoordinateSystemAxisNNPtr> &axisIn);
diff --git a/include/proj/crs.hpp b/include/proj/crs.hpp
index dcab094a..7fde88c8 100644
--- a/include/proj/crs.hpp
+++ b/include/proj/crs.hpp
@@ -270,6 +270,8 @@ class PROJ_GCC_DLL GeodeticCRS : virtual public SingleCRS,
PROJ_DLL bool isGeocentric() PROJ_PURE_DECL;
+ PROJ_DLL bool isSphericalPlanetocentric() PROJ_PURE_DECL;
+
PROJ_DLL static GeodeticCRSNNPtr
create(const util::PropertyMap &properties,
const datum::GeodeticReferenceFrameNNPtr &datum,