diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-04-16 00:44:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-16 00:44:39 +0200 |
| commit | 000fa21d070e64200bc877b9d14444262e1a14b5 (patch) | |
| tree | 6d5dd2c3841bb87ec0816e6c9e9593b5091731a3 /test/unit/test_operation.cpp | |
| parent | c91966953d9ad327cbb3b9d80842cc0d3957df42 (diff) | |
| parent | 4be093e9d23b53915ed88a1c0da06f6833456a69 (diff) | |
| download | PROJ-000fa21d070e64200bc877b9d14444262e1a14b5.tar.gz PROJ-000fa21d070e64200bc877b9d14444262e1a14b5.zip | |
Merge pull request #2155 from rouault/fix_2143
createOperations(): do not remove ballpark transformation if there are only grid based operations, even if they cover the whole area of use (fixes #2143)
Diffstat (limited to 'test/unit/test_operation.cpp')
| -rw-r--r-- | test/unit/test_operation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/test_operation.cpp b/test/unit/test_operation.cpp index 99e05dd1..854f813c 100644 --- a/test/unit/test_operation.cpp +++ b/test/unit/test_operation.cpp @@ -5109,7 +5109,7 @@ TEST(operation, geogCRS_to_geogCRS_init_IGNF_to_init_IGNF_context) { auto ctxt = CoordinateOperationContext::create(authFactory, nullptr, 0.0); auto list = CoordinateOperationFactory::create()->createOperations( NN_CHECK_ASSERT(sourceCRS), NN_CHECK_ASSERT(targetCRS), ctxt); - ASSERT_EQ(list.size(), 1U); + ASSERT_EQ(list.size(), 2U); EXPECT_EQ(list[0]->nameStr(), "NOUVELLE TRIANGULATION DE LA FRANCE (NTF) vers RGF93 (ETRS89)"); @@ -6552,7 +6552,7 @@ TEST(operation, ETRS89_3D_to_proj_string_with_geoidgrids_nadgrids) { auto ctxt = CoordinateOperationContext::create(authFactory, nullptr, 0.0); auto list = CoordinateOperationFactory::create()->createOperations( src, NN_NO_CHECK(dst), ctxt); - ASSERT_EQ(list.size(), 1U); + ASSERT_EQ(list.size(), 2U); EXPECT_EQ(list[0]->exportToPROJString(PROJStringFormatter::create().get()), "+proj=pipeline " "+step +proj=axisswap +order=2,1 " |
