diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-09-10 17:13:20 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-09-11 10:46:12 +0200 |
| commit | a6e1d72890615b42f54edad9b17acff8e7623844 (patch) | |
| tree | 9cf854c3516923599d4a306f617af145cc73885a /test/cli | |
| parent | a1518badde3fe18785fefe046ed909c05f86615e (diff) | |
| download | PROJ-a6e1d72890615b42f54edad9b17acff8e7623844.tar.gz PROJ-a6e1d72890615b42f54edad9b17acff8e7623844.zip | |
API: add CRS::promoteTo3D(), proj_crs_promote_to_3D() and proj_crs_create_projected_3D_crs_from_2D() (fixes #1587)
Also add a --3d switch to projinfo
Diffstat (limited to 'test/cli')
| -rwxr-xr-x | test/cli/testprojinfo | 8 | ||||
| -rw-r--r-- | test/cli/testprojinfo_out.dist | 9 |
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 + |
