aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-08-16 11:00:05 +0200
committerEven Rouault <even.rouault@spatialys.com>2021-08-16 11:14:30 +0200
commitbac2521fe750831de3d36796a3dfde8a0d9874d5 (patch)
treec824a6887fe5ff5b77045b3bab4918a6f6ed74f2 /include
parent88322b46e756a950ff2d312169a68c7f56ff105e (diff)
downloadPROJ-bac2521fe750831de3d36796a3dfde8a0d9874d5.tar.gz
PROJ-bac2521fe750831de3d36796a3dfde8a0d9874d5.zip
Implement promoteTo3D() / demoteTo2D() for DerivedGeographicCRS (fixes #2803)
Diffstat (limited to 'include')
-rw-r--r--include/proj/crs.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/proj/crs.hpp b/include/proj/crs.hpp
index 0f8c5e42..44dda0c5 100644
--- a/include/proj/crs.hpp
+++ b/include/proj/crs.hpp
@@ -1168,6 +1168,10 @@ class PROJ_GCC_DLL DerivedGeographicCRS final : public GeographicCRS,
const operation::ConversionNNPtr &derivingConversionIn,
const cs::EllipsoidalCSNNPtr &csIn);
+ PROJ_DLL DerivedGeographicCRSNNPtr
+ demoteTo2D(const std::string &newName,
+ const io::DatabaseContextPtr &dbContext) const;
+
//! @cond Doxygen_Suppress
PROJ_INTERNAL void _exportToWKT(io::WKTFormatter *formatter)
const override; // throw(io::FormattingException)