diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-11-29 17:38:23 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-11-29 17:38:23 +0100 |
| commit | 9bb6e214fa121bf4f2d5c4948bdc0dbe24d0c3b6 (patch) | |
| tree | d88481835e63a57941607440cfcdd798e4c16ce5 /include | |
| parent | f7d17d4450be19251e9bd31f12608a241a6547ef (diff) | |
| download | PROJ-9bb6e214fa121bf4f2d5c4948bdc0dbe24d0c3b6.tar.gz PROJ-9bb6e214fa121bf4f2d5c4948bdc0dbe24d0c3b6.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
This is a partial backport of https://github.com/OSGeo/PROJ/pull/2450,
with only the new ALLOW_ELLIPSOIDAL_HEIGHT_AS_VERTICAL_CRS=YES option
of proj_as_wkt()
Diffstat (limited to 'include')
| -rw-r--r-- | include/proj/io.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/proj/io.hpp b/include/proj/io.hpp index 20dcedfe..2e796a9d 100644 --- a/include/proj/io.hpp +++ b/include/proj/io.hpp @@ -342,6 +342,10 @@ class PROJ_GCC_DLL WKTFormatter { PROJ_INTERNAL void ingestWKTNode(const WKTNodeNNPtr &node); + PROJ_INTERNAL WKTFormatter & + setAllowEllipsoidalHeightAsVerticalCRS(bool allow) noexcept; + PROJ_INTERNAL bool isAllowedEllipsoidalHeightAsVerticalCRS() const noexcept; + //! @endcond protected: |
