aboutsummaryrefslogtreecommitdiff
path: root/test/cli
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-09-11 10:46:38 +0200
committerGitHub <noreply@github.com>2019-09-11 10:46:38 +0200
commitbd39128c3e278331980adf02377e9347269cb820 (patch)
tree0bf702d43582bdb9bf2672bb093b131fbbfb3faf /test/cli
parent13c715af550fbcbb1d412780b107f4e3fc5841e0 (diff)
parenta6e1d72890615b42f54edad9b17acff8e7623844 (diff)
downloadPROJ-bd39128c3e278331980adf02377e9347269cb820.tar.gz
PROJ-bd39128c3e278331980adf02377e9347269cb820.zip
Merge pull request #1596 from rouault/promote_to_3d
API: add CRS::promoteTo3D(), proj_crs_promote_to_3D() and proj_crs_create_projected_3D_crs_from_2D() (fixes #1587)
Diffstat (limited to 'test/cli')
-rwxr-xr-xtest/cli/testprojinfo8
-rw-r--r--test/cli/testprojinfo_out.dist9
2 files changed, 17 insertions, 0 deletions
diff --git a/test/cli/testprojinfo b/test/cli/testprojinfo
index f070c999..2b3432a9 100755
--- a/test/cli/testprojinfo
+++ b/test/cli/testprojinfo
@@ -115,6 +115,14 @@ echo "Testing NGF IGN69 height to RGF93: projinfo -s EPSG:5720 -t EPSG:4965 -o P
$EXE -s EPSG:5720 -t EPSG:4965 -o PROJ >>${OUT} 2>&1
echo "" >>${OUT}
+echo "Testing -s EPSG:32631 -t EPSG:4326+3855 --summary" >> ${OUT}
+$EXE -s EPSG:32631 -t EPSG:4326+3855 --summary 2>>${OUT}
+echo "" >>${OUT}
+
+echo "Testing -s EPSG:32631 -t EPSG:4326+3855 --3d --summary" >> ${OUT}
+$EXE -s EPSG:32631 -t EPSG:4326+3855 --3d --summary >>${OUT} 2>&1
+echo "" >>${OUT}
+
# do 'diff' with distribution results
echo "diff ${OUT} with testprojinfo_out.dist"
diff -u ${OUT} ${TEST_CLI_DIR}/testprojinfo_out.dist
diff --git a/test/cli/testprojinfo_out.dist b/test/cli/testprojinfo_out.dist
index 8cb37cf7..9ec74fde 100644
--- a/test/cli/testprojinfo_out.dist
+++ b/test/cli/testprojinfo_out.dist
@@ -821,3 +821,12 @@ INVERSE(EPSG):10000, Inverse of RGF93 to NGF IGN69 height (1), 0.5 m, France - m
PROJ string:
+proj=pipeline +step +inv +proj=vgridshift +grids=ggf97a.txt +multiplier=1
+Testing -s EPSG:32631 -t EPSG:4326+3855 --summary
+Warning: mix of 2D and 3D CRS. Vertical transformations, if available, will not be applied. Consider using 3D version of the CRS, or the --3d switch
+
+Testing -s EPSG:32631 -t EPSG:4326+3855 --3d --summary
+Candidate operations found: 3
+unknown id, Inverse of UTM zone 31N + WGS 84 to EGM2008 height (1), 1 m, World
+unknown id, Inverse of UTM zone 31N + WGS 84 to EGM2008 height (2), 0.5 m, World
+unknown id, Inverse of UTM zone 31N + Inverse of Transformation from EGM2008 height to WGS 84 (ballpark vertical transformation, without ellipsoid height to vertical height correction), unknown accuracy, World, has ballpark transformation
+