diff options
| author | Modern Slave <havingsexonthebeach@gmail.com> | 2021-01-14 13:16:45 +0100 |
|---|---|---|
| committer | Modern Slave <havingsexonthebeach@gmail.com> | 2021-01-15 23:27:33 +0100 |
| commit | 7b33d9180eec541f17470d628fe2bb3ed536803d (patch) | |
| tree | 6e4a9abe6875c0a6456b542be83eee18443ed0fd /test/unit | |
| parent | 99b06ef5e77af5081ade5d8d8a66af9e461576b1 (diff) | |
| download | PROJ-7b33d9180eec541f17470d628fe2bb3ed536803d.tar.gz PROJ-7b33d9180eec541f17470d628fe2bb3ed536803d.zip | |
Database: update to EPSG v10.011
Diffstat (limited to 'test/unit')
| -rw-r--r-- | test/unit/test_c_api.cpp | 2 | ||||
| -rw-r--r-- | test/unit/test_operationfactory.cpp | 8 |
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 b71c3d66..15467a69 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); |
