aboutsummaryrefslogtreecommitdiff
path: root/test/unit
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-11-03 10:58:33 +0100
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2021-11-03 10:26:06 +0000
commit4739adcc55a0a0cacd5691de1f9951561e08ac2b (patch)
tree31a2d2c7d989a5f5d4454ecf4c1deda539fa4553 /test/unit
parent94ebc12ccee80042fb5789b34c179c40c92e9693 (diff)
downloadPROJ-4739adcc55a0a0cacd5691de1f9951561e08ac2b.tar.gz
PROJ-4739adcc55a0a0cacd5691de1f9951561e08ac2b.zip
Merge pull request #2917 from rouault/fix_boundcrs_name
BoundCRS WKT import: fix setting of name
Diffstat (limited to 'test/unit')
-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());