diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-03-25 13:56:43 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-03-25 13:56:43 +0100 |
| commit | 09db4826d4a1e5df900cb4b93a4b3eae2c487cb9 (patch) | |
| tree | ee4ba388d7d9507397b5cbad5814cb7e1ee540c0 /include | |
| parent | 46f08f1434f66a4160d7c74923efcfb81505b398 (diff) | |
| download | PROJ-09db4826d4a1e5df900cb4b93a4b3eae2c487cb9.tar.gz PROJ-09db4826d4a1e5df900cb4b93a4b3eae2c487cb9.zip | |
WKT2_2018: always export ID of SOURCECRS/TARGETCRS and STEPs
even if there is one on upper node
This is a particular logic allowed by paragraph 7.3.3 Identifier
of OGC 18-010r6
Diffstat (limited to 'include')
| -rw-r--r-- | include/proj/io.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/proj/io.hpp b/include/proj/io.hpp index ace8ad9d..5386ca6c 100644 --- a/include/proj/io.hpp +++ b/include/proj/io.hpp @@ -261,6 +261,13 @@ class PROJ_GCC_DLL WKTFormatter { PROJ_INTERNAL void popOutputId(); PROJ_INTERNAL bool outputId() const; + PROJ_INTERNAL void pushHasId(bool hasId); + PROJ_INTERNAL void popHasId(); + + PROJ_INTERNAL void pushDisableUsage(); + PROJ_INTERNAL void popDisableUsage(); + PROJ_INTERNAL bool outputUsage() const; + PROJ_INTERNAL void pushAxisLinearUnit(const common::UnitOfMeasureNNPtr &unit); PROJ_INTERNAL void popAxisLinearUnit(); |
