aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-09-15 18:39:07 +0200
committerEven Rouault <even.rouault@spatialys.com>2019-09-15 18:39:07 +0200
commite35aa372afbd8a7423f53306d9e222d525fb32ef (patch)
tree8bc85ba5efb1a04bc283b1507fbc4d666378f87d /include
parenteb5906bb14afba3a5a5508314cfcaa661b75d29d (diff)
downloadPROJ-e35aa372afbd8a7423f53306d9e222d525fb32ef.tar.gz
PROJ-e35aa372afbd8a7423f53306d9e222d525fb32ef.zip
API: add CRS::promoteTo3D(), proj_crs_promote_to_3D() and proj_crs_create_projected_3D_crs_from_2D() (fixes #1587)
(projinfo changes adding --3d from master removed)
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 b83e0a6b..18ac4d5d 100644
--- a/include/proj/crs.hpp
+++ b/include/proj/crs.hpp
@@ -107,6 +107,10 @@ class PROJ_GCC_DLL CRS : public common::ObjectUsage,
PROJ_DLL std::list<CRSNNPtr>
getNonDeprecated(const io::DatabaseContextNNPtr &dbContext) const;
+ PROJ_DLL CRSNNPtr
+ promoteTo3D(const std::string &newName,
+ const io::DatabaseContextPtr &dbContext) const;
+
PROJ_PRIVATE :
//! @cond Doxygen_Suppress
PROJ_INTERNAL const GeodeticCRS *