diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-01-06 23:43:09 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-01-07 12:17:14 +0100 |
| commit | 3078c6b90fef0dbd88b6884f4d94ade605b0c4ca (patch) | |
| tree | 0a546228568c62d498d196058271cc5939e10de7 /test/unit | |
| parent | 699b92250a90e5c333572245cf3d09c9e00e50e5 (diff) | |
| download | PROJ-3078c6b90fef0dbd88b6884f4d94ade605b0c4ca.tar.gz PROJ-3078c6b90fef0dbd88b6884f4d94ade605b0c4ca.zip | |
Database: fill alias_name with EPSG aliases for CRS
Diffstat (limited to 'test/unit')
| -rw-r--r-- | test/unit/test_factory.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/unit/test_factory.cpp b/test/unit/test_factory.cpp index c6865f04..8ae58c96 100644 --- a/test/unit/test_factory.cpp +++ b/test/unit/test_factory.cpp @@ -2749,7 +2749,9 @@ TEST(factory, createObjectsFromName) { auto res = factoryEPSG->createObjectsFromName( "WGS84", {AuthorityFactory::ObjectType::GEOGRAPHIC_2D_CRS}, true); EXPECT_EQ(res.size(), - 8U); // EPSG:4326 and EPSG:4030 and the 6 WGS84 realizations + 9U); // EPSG:4326 and EPSG:4030 and the 6 WGS84 realizations + // and EPSG:7881 'Tritan St. Helena'' whose alias is + // 'WGS 84 Tritan St. Helena' if (!res.empty()) { EXPECT_EQ(res.front()->getEPSGCode(), 4326); } |
