From 82cd218a7ab44eafef92445f2caaec0fb6ec799a Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Thu, 22 Oct 2020 21:22:43 +0200 Subject: WKT1_ESRI export: export CompoundCRS as PROJCS[...],VERTCS[...] or GEOGCS[...],VERTCS[...] --- test/unit/test_io.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test') 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); } // --------------------------------------------------------------------------- -- cgit v1.2.3