diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-02-17 19:40:38 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-02-17 19:42:35 +0100 |
| commit | e8b2e2a36324006146406fb1fc89ce6ed863807f (patch) | |
| tree | 5c2c0c9229958d63e77171f64f909864855afb5d /test/unit/test_factory.cpp | |
| parent | a8cbe0c66974871f5a7bd7ef94001ebf461ac7ea (diff) | |
| download | PROJ-e8b2e2a36324006146406fb1fc89ce6ed863807f.tar.gz PROJ-e8b2e2a36324006146406fb1fc89ce6ed863807f.zip | |
Modify the default strategy of researching intermediate CRS to do it only if there is no direct transformation
Diffstat (limited to 'test/unit/test_factory.cpp')
| -rw-r--r-- | test/unit/test_factory.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/test_factory.cpp b/test/unit/test_factory.cpp index 40728f96..ec59dcbc 100644 --- a/test/unit/test_factory.cpp +++ b/test/unit/test_factory.cpp @@ -1612,7 +1612,8 @@ class FactoryWithTmpDatabase : public ::testing::Test { { auto ctxt = CoordinateOperationContext::create(factory, nullptr, 0); - ctxt->setAllowUseIntermediateCRS(false); + ctxt->setAllowUseIntermediateCRS( + CoordinateOperationContext::IntermediateCRSUse::NEVER); res = CoordinateOperationFactory::create()->createOperations( srcCRS, targetCRS, ctxt); EXPECT_EQ(res.size(), 1U); |
