diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-05-28 12:57:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-28 12:57:26 +0200 |
| commit | fdfeae1908e8bf9e199aed3654ff418aaaa4fe26 (patch) | |
| tree | ce3c845caafa23cdd25f7dbef6fa615c52492caf /test/unit | |
| parent | 7b407e36e650aeae986218a0e213b2d8248c008d (diff) | |
| parent | edc6df3dc1a862ca47f0376d1e35971fc964c573 (diff) | |
| download | PROJ-fdfeae1908e8bf9e199aed3654ff418aaaa4fe26.tar.gz PROJ-fdfeae1908e8bf9e199aed3654ff418aaaa4fe26.zip | |
Merge pull request #2732 from rouault/epsg_10_024
Database: update to EPSG v10.024
Diffstat (limited to 'test/unit')
| -rw-r--r-- | test/unit/test_factory.cpp | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/test/unit/test_factory.cpp b/test/unit/test_factory.cpp index d7bb7a07..6c8340aa 100644 --- a/test/unit/test_factory.cpp +++ b/test/unit/test_factory.cpp @@ -1326,26 +1326,6 @@ TEST( // --------------------------------------------------------------------------- -TEST( - factory, - AuthorityFactory_createCoordinateOperation_concatenated_operation_epsg_9731) { - auto factory = AuthorityFactory::create(DatabaseContext::create(), "EPSG"); - auto op = factory->createCoordinateOperation("9731", false); - auto concatenated = nn_dynamic_pointer_cast<ConcatenatedOperation>(op); - ASSERT_TRUE(concatenated != nullptr); - EXPECT_EQ( - concatenated->exportToPROJString(PROJStringFormatter::create().get()), - "+proj=pipeline " - "+step +proj=axisswap +order=2,1 " - "+step +proj=unitconvert +xy_in=deg +xy_out=rad " - "+step +inv +proj=vgridshift +grids=geo_igm_mar06.grd +multiplier=1 " - "+step +proj=unitconvert +xy_in=rad +xy_out=deg " - "+step +proj=axisswap +order=2,1 " - "+step +proj=geogoffset +dh=0.141"); -} - -// --------------------------------------------------------------------------- - static bool in(const std::string &str, const std::vector<std::string> &list) { for (const auto &listItem : list) { if (str == listItem) { @@ -1365,7 +1345,8 @@ TEST(factory, AuthorityFactory_build_all_concatenated) { AuthorityFactory::ObjectType::CONCATENATED_OPERATION, false); EXPECT_LT(setConcatenatedNoDeprecated.size(), setConcatenated.size()); for (const auto &code : setConcatenated) { - if (in(code, {"8422", "8481", "8482", "8565", "8566", "8572"})) { + if (in(code, + {"8422", "8481", "8482", "8565", "8566", "8572", "9731"})) { EXPECT_THROW(factory->createCoordinateOperation(code, false), FactoryException) << code; |
