diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2022-03-22 19:07:50 +0100 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2022-03-22 19:51:42 +0000 |
| commit | 9579231d96492dbf922e6a10371b3b457ae67902 (patch) | |
| tree | d1f025d4318bcbff6b4ea6855665437c462942bc /test/unit/test_io.cpp | |
| parent | 5d3b2a94c61f4c8ad98173480b90b739dab2f5c9 (diff) | |
| download | PROJ-9579231d96492dbf922e6a10371b3b457ae67902.tar.gz PROJ-9579231d96492dbf922e6a10371b3b457ae67902.zip | |
Merge pull request #3125 from rouault/import_proj4_datum_namesbackport-3125-to-9.0
Fix datum names when importing from PROJ4 crs strings (affects some transformations using geoidgrids)
Diffstat (limited to 'test/unit/test_io.cpp')
| -rw-r--r-- | test/unit/test_io.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/unit/test_io.cpp b/test/unit/test_io.cpp index f883ddb7..dc511b80 100644 --- a/test/unit/test_io.cpp +++ b/test/unit/test_io.cpp @@ -9852,7 +9852,9 @@ TEST(io, projparse_merc_not_quite_google_mercator) { EXPECT_TRUE(wkt.find("METHOD[\"Popular Visualisation Pseudo " "Mercator\",ID[\"EPSG\",1024]") != std::string::npos) << wkt; - EXPECT_TRUE(wkt.find("DATUM[\"unknown\",") != std::string::npos) << wkt; + EXPECT_TRUE(wkt.find("DATUM[\"unknown using nadgrids=@null\",") != + std::string::npos) + << wkt; EXPECT_EQ( replaceAll(crs->exportToPROJString(PROJStringFormatter::create().get()), |
