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 /src/iso19111/common.cpp | |
| 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 'src/iso19111/common.cpp')
| -rw-r--r-- | src/iso19111/common.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iso19111/common.cpp b/src/iso19111/common.cpp index 4b947dc9..d46da0da 100644 --- a/src/iso19111/common.cpp +++ b/src/iso19111/common.cpp @@ -1073,7 +1073,7 @@ void ObjectUsage::setProperties( void ObjectUsage::baseExportToWKT(WKTFormatter *formatter) const { const bool isWKT2 = formatter->version() == WKTFormatter::Version::WKT2; - if (isWKT2 && formatter->outputId()) { + if (isWKT2 && formatter->outputUsage()) { auto l_domains = domains(); if (!l_domains.empty()) { if (formatter->use2018Keywords()) { |
