diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-01-11 00:25:51 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-01-11 12:02:14 +0100 |
| commit | e18e4823ac91b1395cc0b3f30539340bc10ef38d (patch) | |
| tree | b0e3333a6f00fa8741eebd317ce715153b90908b /test/unit/test_operation.cpp | |
| parent | 6a2ee6fbc8a9ce915df8da36df8b041ee6573e05 (diff) | |
| download | PROJ-e18e4823ac91b1395cc0b3f30539340bc10ef38d.tar.gz PROJ-e18e4823ac91b1395cc0b3f30539340bc10ef38d.zip | |
WKT1_GDAL export: limit datum name massaging to names matching EPSG (fixes #1835)
Diffstat (limited to 'test/unit/test_operation.cpp')
| -rw-r--r-- | test/unit/test_operation.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/unit/test_operation.cpp b/test/unit/test_operation.cpp index 316745f5..b2c13b6c 100644 --- a/test/unit/test_operation.cpp +++ b/test/unit/test_operation.cpp @@ -3258,7 +3258,9 @@ TEST(operation, webmerc_import_from_WKT2_EPSG_3785_deprecated) { EXPECT_EQ( crs->exportToWKT( - WKTFormatter::create(WKTFormatter::Convention::WKT1_GDAL).get()), + WKTFormatter::create(WKTFormatter::Convention::WKT1_GDAL, + DatabaseContext::create()) + .get()), "PROJCS[\"Popular Visualisation CRS / Mercator\",\n" " GEOGCS[\"Popular Visualisation CRS\",\n" " DATUM[\"Popular_Visualisation_Datum\",\n" |
