diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2022-03-17 22:18:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-17 22:18:22 +0100 |
| commit | ab3383a4483f65679ae4a687cc8660572cd6102c (patch) | |
| tree | ab0d528ffa0cda0f0b61f8e26936dc828b24402b /test/cli/testdatumfile | |
| parent | 1c1a3c5930229644440a7e41d032cc217cf2f8c0 (diff) | |
| parent | 3e7984f3b26e408e69b960f8e0d03b6ac0576188 (diff) | |
| download | PROJ-ab3383a4483f65679ae4a687cc8660572cd6102c.tar.gz PROJ-ab3383a4483f65679ae4a687cc8660572cd6102c.zip | |
Merge pull request #3119 from rouault/compound_to_2D_crs
Transformation: no longer do vertical trasnformation when doing compound CRS to 2D CRS / add --3d to cs2cs
Diffstat (limited to 'test/cli/testdatumfile')
| -rwxr-xr-x | test/cli/testdatumfile | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/test/cli/testdatumfile b/test/cli/testdatumfile index e974d34c..3496299f 100755 --- a/test/cli/testdatumfile +++ b/test/cli/testdatumfile @@ -124,12 +124,28 @@ EOF # echo "##############################################################" >> ${OUT} -echo "WGS84 -> WGS84+EGM96" >> ${OUT} +echo "WGS84 (2D) -> WGS84+EGM96" >> ${OUT} # $EXE +init=epsg:4326 +to +init=epsg:4326 +geoidgrids=egm96_15.gtx -E >>${OUT} <<EOF 2dE 49dN 0 EOF +# +echo "##############################################################" >> ${OUT} +echo "WGS84 (3D) -> WGS84+EGM96" >> ${OUT} +# +$EXE +init=epsg:4979 +to +init=epsg:4326 +geoidgrids=egm96_15.gtx -E >>${OUT} <<EOF +2dE 49dN 0 +EOF + +# +echo "##############################################################" >> ${OUT} +echo "WGS84 (2D), promoted to 3D -> WGS84+EGM96" >> ${OUT} +# +$EXE --3d +init=epsg:4326 +to +init=epsg:4326 +geoidgrids=egm96_15.gtx -E >>${OUT} <<EOF +2dE 49dN 0 +EOF + # Cleanup rm -rf "dir with \" space" |
