diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-01-22 15:51:33 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-01-22 15:51:33 +0100 |
| commit | 7e11edaa2d1abc09478f3bd3fb9926cb0ef3fdda (patch) | |
| tree | 8b68b3c80a662e9c3e894db206432f3bc01a882c /test/unit/test_operation.cpp | |
| parent | b172b29fa0e1dac18270b41dde81df2759521c16 (diff) | |
| download | PROJ-7e11edaa2d1abc09478f3bd3fb9926cb0ef3fdda.tar.gz PROJ-7e11edaa2d1abc09478f3bd3fb9926cb0ef3fdda.zip | |
Coordinate operation computation with CRS with extension string: replace datum by ellps
Diffstat (limited to 'test/unit/test_operation.cpp')
| -rw-r--r-- | test/unit/test_operation.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/unit/test_operation.cpp b/test/unit/test_operation.cpp index 01c6a38f..6c1ecf1c 100644 --- a/test/unit/test_operation.cpp +++ b/test/unit/test_operation.cpp @@ -6303,7 +6303,7 @@ TEST(operation, createOperation_on_crs_with_canonical_bound_crs) { TEST(operation, createOperation_fallback_to_proj4_strings) { auto objDest = PROJStringParser().createFromPROJString( - "+proj=longlat +geoc +ellps=WGS84 +type=crs"); + "+proj=longlat +geoc +datum=WGS84 +type=crs"); auto dest = nn_dynamic_pointer_cast<GeographicCRS>(objDest); ASSERT_TRUE(dest != nullptr); @@ -6313,7 +6313,6 @@ TEST(operation, createOperation_fallback_to_proj4_strings) { EXPECT_EQ(op->exportToPROJString(PROJStringFormatter::create().get()), "+proj=pipeline +step +proj=axisswap +order=2,1 " "+step +proj=unitconvert +xy_in=deg +xy_out=rad " - "+step +inv +proj=longlat +datum=WGS84 " "+step +proj=longlat +geoc +ellps=WGS84 " "+step +proj=unitconvert +xy_in=rad +xy_out=deg"); } |
