aboutsummaryrefslogtreecommitdiff
path: root/test/unit/test_c_api.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-09-15 00:32:58 +0200
committerEven Rouault <even.rouault@spatialys.com>2021-09-15 00:32:58 +0200
commit85f496b26702bf6566296072795e821d70156c09 (patch)
tree3085b80ac1ceb0dba3c58946f8b1f9246f651d55 /test/unit/test_c_api.cpp
parentd3c615f9ce893c9dc1e6314b9542f510bfd0f023 (diff)
downloadPROJ-85f496b26702bf6566296072795e821d70156c09.tar.gz
PROJ-85f496b26702bf6566296072795e821d70156c09.zip
Database: update to EPSG v10.035
This seriously impacts French CRS users with the introduction of new datums, geodetic CRS and projected CRS based on "RGF 93 v2" and "RGF 93 v2b", and the previous single "RGF 93" being renamed as "RGF 93 v1". To be noted too, the addition of a null transformation between NAD83(2011) and WGS 84, which impacts a number of tests in the test suite.
Diffstat (limited to 'test/unit/test_c_api.cpp')
-rw-r--r--test/unit/test_c_api.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/test/unit/test_c_api.cpp b/test/unit/test_c_api.cpp
index 600f47ff..4898345c 100644
--- a/test/unit/test_c_api.cpp
+++ b/test/unit/test_c_api.cpp
@@ -5033,13 +5033,12 @@ TEST_F(CApi, proj_create_vertical_crs_ex_with_geog_crs) {
auto name = proj_get_name(P);
ASSERT_TRUE(name != nullptr);
- EXPECT_EQ(
- name,
- std::string("Inverse of UTM zone 11N + "
- "Ballpark geographic offset from NAD83(2011) to WGS 84 + "
- "Conversion from myVertCRS to myVertCRS (metre) + "
- "Transformation from myVertCRS (metre) to WGS 84 + "
- "Ballpark geographic offset from WGS 84 to NAD83(2011)"));
+ EXPECT_EQ(name,
+ std::string("Inverse of UTM zone 11N + "
+ "NAD83(2011) to WGS 84 (1) + "
+ "Conversion from myVertCRS to myVertCRS (metre) + "
+ "Transformation from myVertCRS (metre) to WGS 84 + "
+ "Inverse of NAD83(2011) to WGS 84 (1)"));
auto proj_5 = proj_as_proj_string(m_ctxt, P, PJ_PROJ_5, nullptr);
ASSERT_NE(proj_5, nullptr);