aboutsummaryrefslogtreecommitdiff
path: root/test/unit/test_operation.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-02-20 13:18:20 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-02-20 13:18:20 +0100
commit0d8600e46b20fba28eb0cf0cabbbb4c6b586c6bf (patch)
tree76de90b8fc8572ea546670b06d78333a923ab15a /test/unit/test_operation.cpp
parent545936e04bda914a9caf8c1e4e0eefb4c5c80397 (diff)
downloadPROJ-0d8600e46b20fba28eb0cf0cabbbb4c6b586c6bf.tar.gz
PROJ-0d8600e46b20fba28eb0cf0cabbbb4c6b586c6bf.zip
PROJStringFormatter: remove useless push/pop in another case
Diffstat (limited to 'test/unit/test_operation.cpp')
-rw-r--r--test/unit/test_operation.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/test/unit/test_operation.cpp b/test/unit/test_operation.cpp
index 42f8fe76..bcf3e043 100644
--- a/test/unit/test_operation.cpp
+++ b/test/unit/test_operation.cpp
@@ -6139,9 +6139,9 @@ TEST(operation, compoundCRS_to_compoundCRS_context) {
"+proj=pipeline +step +proj=axisswap +order=2,1 +step "
"+proj=unitconvert +xy_in=deg +z_in=us-ft +xy_out=rad +z_out=m "
"+step +proj=vgridshift +grids=vertcone.gtx +multiplier=0.001 "
- "+step +proj=hgridshift +grids=conus +step +proj=push +v_3 +step "
+ "+step +proj=hgridshift +grids=conus +step "
"+proj=unitconvert +xy_in=rad +xy_out=deg +step +proj=axisswap "
- "+order=2,1 +step +proj=pop +v_3");
+ "+order=2,1");
bool foundApprox = false;
for (size_t i = 0; i < list.size(); i++) {
@@ -6162,10 +6162,9 @@ TEST(operation, compoundCRS_to_compoundCRS_context) {
EXPECT_EQ(projString,
"+proj=pipeline +step +proj=axisswap +order=2,1 +step "
"+proj=unitconvert +xy_in=deg +z_in=us-ft +xy_out=rad "
- "+z_out=m +step +proj=hgridshift +grids=conus +step "
- "+proj=push +v_3 +step +proj=unitconvert +xy_in=rad "
- "+xy_out=deg +step +proj=axisswap +order=2,1 +step "
- "+proj=pop +v_3");
+ "+z_out=m +step +proj=hgridshift +grids=conus "
+ "+step +proj=unitconvert +xy_in=rad "
+ "+xy_out=deg +step +proj=axisswap +order=2,1");
foundApprox = true;
break;
}