aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-10-22 21:22:43 +0200
committerEven Rouault <even.rouault@spatialys.com>2020-10-22 21:22:43 +0200
commit82cd218a7ab44eafef92445f2caaec0fb6ec799a (patch)
tree860e6f753d9da64ab8ab2f5bcce7d7b961f1a0e8 /test
parentf2cd2b3b99746dd9d08b6d388fa91055643f0747 (diff)
downloadPROJ-82cd218a7ab44eafef92445f2caaec0fb6ec799a.tar.gz
PROJ-82cd218a7ab44eafef92445f2caaec0fb6ec799a.zip
WKT1_ESRI export: export CompoundCRS as PROJCS[...],VERTCS[...] or GEOGCS[...],VERTCS[...]
Diffstat (limited to 'test')
-rw-r--r--test/unit/test_io.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/unit/test_io.cpp b/test/unit/test_io.cpp
index 59bd5bab..5cef886f 100644
--- a/test/unit/test_io.cpp
+++ b/test/unit/test_io.cpp
@@ -2723,6 +2723,12 @@ TEST(wkt_parse, implicit_compound_CRS_ESRI) {
ASSERT_TRUE(crs != nullptr);
EXPECT_EQ(crs->nameStr(), "NAD83(2011) / Colorado Central (ftUS) + "
"CGVD2013(CGG2013) height");
+
+ EXPECT_EQ(
+ crs->exportToWKT(
+ WKTFormatter::create(WKTFormatter::Convention::WKT1_ESRI, dbContext)
+ .get()),
+ wkt);
}
// ---------------------------------------------------------------------------