aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-11-03 10:58:33 +0100
committerGitHub <noreply@github.com>2021-11-03 10:58:33 +0100
commitbc1c85c0ff73f62fa37f2b52616440eb5b68fa83 (patch)
treecf178519548cebec3ac6b4d425b75ac3cdd8225a /test
parentf133b42e1c2e44279751ab6fe04cd0481470875b (diff)
parentc3d8ca54fbf0004dbaaa85a4562888a614866507 (diff)
downloadPROJ-bc1c85c0ff73f62fa37f2b52616440eb5b68fa83.tar.gz
PROJ-bc1c85c0ff73f62fa37f2b52616440eb5b68fa83.zip
Merge pull request #2917 from rouault/fix_boundcrs_name
BoundCRS WKT import: fix setting of name
Diffstat (limited to 'test')
-rw-r--r--test/unit/test_crs.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/test_crs.cpp b/test/unit/test_crs.cpp
index 500ff4a4..c44d2d38 100644
--- a/test/unit/test_crs.cpp
+++ b/test/unit/test_crs.cpp
@@ -4680,6 +4680,7 @@ TEST(crs, boundCRS_with_usage) {
auto crs =
nn_dynamic_pointer_cast<BoundCRS>(WKTParser().createFromWKT(wkt));
ASSERT_TRUE(crs != nullptr);
+ EXPECT_EQ(crs->nameStr(), "Monte Mario / Italy zone 2");
auto got_wkt = crs->exportToWKT(
WKTFormatter::create(WKTFormatter::Convention::WKT2_2019).get());