From c2751ebc4f2d75f7110a046e690f4a801a6b9bcb Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Thu, 9 Apr 2020 11:14:18 +0200 Subject: createFromPROJString(): ignore +wktext in '+init=epsg:XXX +wktext' string (refs https://github.com/OSGeo/gdal/issues/2392) --- test/unit/test_io.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/unit/test_io.cpp') diff --git a/test/unit/test_io.cpp b/test/unit/test_io.cpp index 6cdd3014..c95b1b57 100644 --- a/test/unit/test_io.cpp +++ b/test/unit/test_io.cpp @@ -9167,8 +9167,8 @@ TEST(io, projparse_init) { { // Test that +no_defs +type=crs have no effect - auto obj = createFromUserInput("+init=epsg:4326 +no_defs +type=crs", - dbContext, true); + auto obj = createFromUserInput( + "+init=epsg:4326 +no_defs +type=crs +wktext", dbContext, true); auto crs = nn_dynamic_pointer_cast(obj); ASSERT_TRUE(crs != nullptr); -- cgit v1.2.3