diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2019-02-14 08:48:39 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-14 08:48:39 +0100 |
| commit | 8d9778af110ac05e14a4eaca7d9e6445bec4ee0b (patch) | |
| tree | df40192dee3b82c9718f32a822f3b501fc004dec /test/unit/test_c_api.cpp | |
| parent | 4d1f5486f6453300bdb35c2607e126f6c526c243 (diff) | |
| parent | 3211f11241a11cabd5fcba960f2aa0d4c6d54b41 (diff) | |
| download | PROJ-8d9778af110ac05e14a4eaca7d9e6445bec4ee0b.tar.gz PROJ-8d9778af110ac05e14a4eaca7d9e6445bec4ee0b.zip | |
Merge pull request #1261 from rouault/make_iso19111_use_push_pop
EPSG Helmert and Molodensky-Badekas methods in the Geographic 2D domain: use the push/pop v_3 operator to preserve the Z component
Diffstat (limited to 'test/unit/test_c_api.cpp')
| -rw-r--r-- | test/unit/test_c_api.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/test/unit/test_c_api.cpp b/test/unit/test_c_api.cpp index d535e412..273a04e6 100644 --- a/test/unit/test_c_api.cpp +++ b/test/unit/test_c_api.cpp @@ -838,13 +838,14 @@ TEST_F(CApi, proj_create_from_database) { ASSERT_NE(info.definition, nullptr); EXPECT_EQ( info.definition, - std::string("proj=pipeline step proj=axisswap order=2,1 step " - "proj=unitconvert xy_in=deg xy_out=rad step proj=cart " - "ellps=bessel step proj=helmert x=601.705 y=84.263 " - "z=485.227 rx=-4.7354 ry=-1.3145 rz=-5.393 s=-2.3887 " - "convention=coordinate_frame step inv proj=cart " - "ellps=GRS80 step proj=unitconvert xy_in=rad " - "xy_out=deg step proj=axisswap order=2,1")); + std::string("proj=pipeline step proj=push v_3 step proj=axisswap " + "order=2,1 step proj=unitconvert xy_in=deg xy_out=rad " + "step proj=cart ellps=bessel step proj=helmert " + "x=601.705 y=84.263 z=485.227 rx=-4.7354 ry=-1.3145 " + "rz=-5.393 s=-2.3887 convention=coordinate_frame step " + "inv proj=cart ellps=GRS80 step proj=unitconvert " + "xy_in=rad xy_out=deg step proj=axisswap order=2,1 " + "step proj=pop v_3")); EXPECT_EQ(info.accuracy, 1); } } |
