aboutsummaryrefslogtreecommitdiff
path: root/test/unit/test_operation.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-01-16 17:17:54 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-01-16 17:18:30 +0100
commit6d2af0904652baba69ec81261c914e9b68221dac (patch)
tree289e2af7e0cb472d633e2357804e696714d1557b /test/unit/test_operation.cpp
parent15bbaa50ae6e5779462bb921a5f50126a2f2f252 (diff)
downloadPROJ-6d2af0904652baba69ec81261c914e9b68221dac.tar.gz
PROJ-6d2af0904652baba69ec81261c914e9b68221dac.zip
PROJBasedOperation: write it as a conformant CONVERSION WKT, and make it parsed appropriately on the reading side
Diffstat (limited to 'test/unit/test_operation.cpp')
-rw-r--r--test/unit/test_operation.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/unit/test_operation.cpp b/test/unit/test_operation.cpp
index d3f05548..bdadd830 100644
--- a/test/unit/test_operation.cpp
+++ b/test/unit/test_operation.cpp
@@ -4099,8 +4099,7 @@ TEST(operation, PROJ_based) {
EXPECT_EQ(conv->exportToWKT(WKTFormatter::create().get()),
"CONVERSION[\"PROJ-based coordinate operation\",\n"
- " METHOD[\"PROJ-based operation method\"],\n"
- " PARAMETER[\"PROJ string\",\"+proj=merc\"]]");
+ " METHOD[\"PROJ-based operation method: +proj=merc\"]]");
EXPECT_EQ(conv->inverse()->exportToPROJString(
PROJStringFormatter::create().get()),
@@ -4135,8 +4134,7 @@ TEST(operation, PROJ_based_empty) {
EXPECT_EQ(conv->exportToWKT(WKTFormatter::create().get()),
"CONVERSION[\"PROJ-based coordinate operation\",\n"
- " METHOD[\"PROJ-based operation method\"],\n"
- " PARAMETER[\"PROJ string\",\"\"]]");
+ " METHOD[\"PROJ-based operation method: \"]]");
EXPECT_THROW(
conv->exportToWKT(