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 /test/unit/test_operation.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 'test/unit/test_operation.cpp')
| -rw-r--r-- | test/unit/test_operation.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/unit/test_operation.cpp b/test/unit/test_operation.cpp index 9111b862..848fb23b 100644 --- a/test/unit/test_operation.cpp +++ b/test/unit/test_operation.cpp @@ -442,7 +442,6 @@ TEST(operation, concatenated_operation) { { auto formatter = WKTFormatter::create(WKTFormatter::Convention::WKT2_2018); - formatter->setOutputId(false); src_wkt = GeographicCRS::EPSG_4326->exportToWKT(formatter.get()); } @@ -450,7 +449,6 @@ TEST(operation, concatenated_operation) { { auto formatter = WKTFormatter::create(WKTFormatter::Convention::WKT2_2018); - formatter->setOutputId(false); dst_wkt = GeographicCRS::EPSG_4979->exportToWKT(formatter.get()); } @@ -458,7 +456,6 @@ TEST(operation, concatenated_operation) { { auto formatter = WKTFormatter::create(WKTFormatter::Convention::WKT2_2018); - formatter->setOutputId(false); step1_wkt = transf_1->exportToWKT(formatter.get()); } @@ -466,7 +463,6 @@ TEST(operation, concatenated_operation) { { auto formatter = WKTFormatter::create(WKTFormatter::Convention::WKT2_2018); - formatter->setOutputId(false); step2_wkt = transf_2->exportToWKT(formatter.get()); } |
