diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-08-16 11:58:38 +0200 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2021-08-16 09:59:05 +0000 |
| commit | bc97ca635668e5457afc9dbb491c5aa5525ca7de (patch) | |
| tree | eb4942d69214eabd8e10398cfe852016dcf0ea36 /include | |
| parent | 0d64108dc8c91bed36ea49ac04e56f4f43a84d27 (diff) | |
| download | PROJ-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')
| -rw-r--r-- | include/proj/crs.hpp | 4 |
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) |
