aboutsummaryrefslogtreecommitdiff
path: root/include/proj/crs.hpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-08-16 11:58:38 +0200
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2021-08-16 09:59:05 +0000
commitbc97ca635668e5457afc9dbb491c5aa5525ca7de (patch)
treeeb4942d69214eabd8e10398cfe852016dcf0ea36 /include/proj/crs.hpp
parent0d64108dc8c91bed36ea49ac04e56f4f43a84d27 (diff)
downloadPROJ-bc97ca635668e5457afc9dbb491c5aa5525ca7de.tar.gz
PROJ-bc97ca635668e5457afc9dbb491c5aa5525ca7de.zip
Merge pull request #2805 from rouault/fix_2803
Implement promoteTo3D() / demoteTo2D() for DerivedGeographicCRS (fixes #2803)
Diffstat (limited to 'include/proj/crs.hpp')
-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)