diff options
Diffstat (limited to 'include/proj')
| -rw-r--r-- | include/proj/crs.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/proj/crs.hpp b/include/proj/crs.hpp index c07904c8..2b919c71 100644 --- a/include/proj/crs.hpp +++ b/include/proj/crs.hpp @@ -111,6 +111,9 @@ class PROJ_GCC_DLL CRS : public common::ObjectUsage, promoteTo3D(const std::string &newName, const io::DatabaseContextPtr &dbContext) const; + PROJ_DLL CRSNNPtr demoteTo2D(const std::string &newName, + const io::DatabaseContextPtr &dbContext) const; + PROJ_PRIVATE : //! @cond Doxygen_Suppress PROJ_INTERNAL const GeodeticCRS * @@ -588,6 +591,10 @@ class PROJ_GCC_DLL ProjectedCRS final : public DerivedCRS, PROJ_DLL std::list<std::pair<ProjectedCRSNNPtr, int>> identify(const io::AuthorityFactoryPtr &authorityFactory) const; + PROJ_DLL ProjectedCRSNNPtr + demoteTo2D(const std::string &newName, + const io::DatabaseContextPtr &dbContext) const; + PROJ_PRIVATE : //! @cond Doxygen_Suppress PROJ_INTERNAL void |
