aboutsummaryrefslogtreecommitdiff
path: root/test/cli/testdatumfile
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-09-13 02:58:35 +0200
committerEven Rouault <even.rouault@spatialys.com>2019-09-13 02:58:35 +0200
commit6da584d4134d15f8617e750651cf377b3f48a7b8 (patch)
treea8c9dd2b8823ec407ee4f6ab8bba00314e3c6c16 /test/cli/testdatumfile
parent1d1c7443fdd5425c878ccc75452561da73a8688a (diff)
downloadPROJ-6da584d4134d15f8617e750651cf377b3f48a7b8.tar.gz
PROJ-6da584d4134d15f8617e750651cf377b3f48a7b8.zip
cs2cs: autopromote CRS to 3D when there's a mix of 2D and 3D (fixes #1563)
Diffstat (limited to 'test/cli/testdatumfile')
-rwxr-xr-xtest/cli/testdatumfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/cli/testdatumfile b/test/cli/testdatumfile
index 5b56f077..b528cfa7 100755
--- a/test/cli/testdatumfile
+++ b/test/cli/testdatumfile
@@ -105,6 +105,14 @@ $EXE NAD27 NAD83 -E >>${OUT} <<EOF
39d00'00.000"N 111d00'00.000"W 0.0
EOF
+#
+echo "##############################################################" >> ${OUT}
+echo "WGS84 -> WGS84+EGM96" >> ${OUT}
+#
+$EXE +init=epsg:4326 +to +init=epsg:4326 +geoidgrids=egm96_15.gtx -E >>${OUT} <<EOF
+49N 2E 0
+EOF
+
# Cleanup
rm -rf "dir with \" space"