aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-11-24 19:16:12 +0100
committerEven Rouault <even.rouault@spatialys.com>2020-11-24 19:52:39 +0100
commit4caf32aedd4da6b1fd1b1ce0e04a1a08dc1e3f33 (patch)
tree7b20f75b93c7322043a3fc39f86cc294bd2abb69 /include
parent5172091009069955a62a38237ad48fc0aabf0ed9 (diff)
downloadPROJ-4caf32aedd4da6b1fd1b1ce0e04a1a08dc1e3f33.tar.gz
PROJ-4caf32aedd4da6b1fd1b1ce0e04a1a08dc1e3f33.zip
Add option to allow export of Geographic/Projected 3D CRS in WKT1_GDAL
as CompoundCRS with a VerticalCRS being an ellipsoidal height, which is not conformant. But needed for LAS 1.4 that only supports WKT1
Diffstat (limited to 'include')
-rw-r--r--include/proj/io.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/proj/io.hpp b/include/proj/io.hpp
index de8a90fc..bc11c220 100644
--- a/include/proj/io.hpp
+++ b/include/proj/io.hpp
@@ -243,6 +243,10 @@ class PROJ_GCC_DLL WKTFormatter {
PROJ_DLL WKTFormatter &setStrict(bool strict) noexcept;
PROJ_DLL bool isStrict() const noexcept;
+ PROJ_DLL WKTFormatter &
+ setAllowEllipsoidalHeightAsVerticalCRS(bool allow) noexcept;
+ PROJ_DLL bool isAllowedEllipsoidalHeightAsVerticalCRS() const noexcept;
+
PROJ_DLL const std::string &toString() const;
PROJ_PRIVATE :