aboutsummaryrefslogtreecommitdiff
path: root/test/unit
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2021-02-07 11:14:18 +0100
committerGitHub <noreply@github.com>2021-02-07 11:14:18 +0100
commitc0fb0041c2933b4cc953fb763aaaccd4f85a9c0d (patch)
tree6d8626e1fc8353ac7af6e3edae7080ce82cb3d73 /test/unit
parentaf7cbf0ad119d20813c242420d345c484995cd98 (diff)
parent7b33d9180eec541f17470d628fe2bb3ed536803d (diff)
downloadPROJ-c0fb0041c2933b4cc953fb763aaaccd4f85a9c0d.tar.gz
PROJ-c0fb0041c2933b4cc953fb763aaaccd4f85a9c0d.zip
Merge pull request #2503 from havingsexonthebeach/epsg10_011
Database: update to EPSG v10.011
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/test_c_api.cpp2
-rw-r--r--test/unit/test_operationfactory.cpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/test/unit/test_c_api.cpp b/test/unit/test_c_api.cpp
index 60ad8f61..b67ff6d1 100644
--- a/test/unit/test_c_api.cpp
+++ b/test/unit/test_c_api.cpp
@@ -1440,7 +1440,7 @@ TEST_F(CApi, proj_create_operations) {
ObjectKeeper keeper_op(op);
EXPECT_FALSE(
proj_coordoperation_has_ballpark_transformation(m_ctxt, op));
- EXPECT_EQ(proj_get_name(op), std::string("NAD27 to NAD83 (3)"));
+ EXPECT_EQ(proj_get_name(op), std::string("NAD27 to NAD83 (4)"));
}
{
diff --git a/test/unit/test_operationfactory.cpp b/test/unit/test_operationfactory.cpp
index 82bdd2fd..32c872ac 100644
--- a/test/unit/test_operationfactory.cpp
+++ b/test/unit/test_operationfactory.cpp
@@ -346,12 +346,12 @@ TEST(operation, geogCRS_to_geogCRS_context_ntv1_ntv2_ctable2) {
EXPECT_EQ(list[0]->exportToPROJString(PROJStringFormatter::create().get()),
"+proj=pipeline +step +proj=axisswap +order=2,1 +step "
"+proj=unitconvert +xy_in=deg +xy_out=rad +step +proj=hgridshift "
- "+grids=ca_nrc_ntv1_can.tif +step +proj=unitconvert +xy_in=rad "
+ "+grids=ca_nrc_ntv2_0.tif +step +proj=unitconvert +xy_in=rad "
"+xy_out=deg +step +proj=axisswap +order=2,1");
EXPECT_EQ(list[1]->exportToPROJString(PROJStringFormatter::create().get()),
"+proj=pipeline +step +proj=axisswap +order=2,1 +step "
"+proj=unitconvert +xy_in=deg +xy_out=rad +step +proj=hgridshift "
- "+grids=ca_nrc_ntv2_0.tif +step +proj=unitconvert +xy_in=rad "
+ "+grids=ca_nrc_ntv1_can.tif +step +proj=unitconvert +xy_in=rad "
"+xy_out=deg +step +proj=axisswap +order=2,1");
EXPECT_EQ(list[2]->exportToPROJString(PROJStringFormatter::create().get()),
"+proj=pipeline +step +proj=axisswap +order=2,1 +step "
@@ -730,8 +730,8 @@ TEST(operation, vertCRS_to_geogCRS_context) {
{
// Test actually the database where we derive records using the more
// classic 'Geographic3D to GravityRelatedHeight' method from
- // records using EPSG:9635
- //'Geog3D to Geog2D+GravityRelatedHeight (US .gtx)' method
+ // records using EPSG:1088
+ //'Geog3D to Geog2D+GravityRelatedHeight (gtx)' method
auto ctxt = CoordinateOperationContext::create(
AuthorityFactory::create(DatabaseContext::create(), std::string()),
nullptr, 0.0);