aboutsummaryrefslogtreecommitdiff
path: root/test/cli/testprojinfo
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@mines-paris.org>2019-02-21 17:42:41 +0100
committerGitHub <noreply@github.com>2019-02-21 17:42:41 +0100
commitbbf31d0e1052a40269547d0dec5d63a7e0534ccc (patch)
treeb48ac00785b9107072de08b2d591e62c3143fe32 /test/cli/testprojinfo
parentf5a78058c9d8e633e34e6b0979c79cb7d17b1a93 (diff)
parent287230f86d89a26574c777bb5e5b498084a84897 (diff)
downloadPROJ-bbf31d0e1052a40269547d0dec5d63a7e0534ccc.tar.gz
PROJ-bbf31d0e1052a40269547d0dec5d63a7e0534ccc.zip
Merge pull request #1280 from rouault/SWEN17_RH2000_gtx
proj.db: add missing custom entries for vertical transform and fix a few wrong ones
Diffstat (limited to 'test/cli/testprojinfo')
-rwxr-xr-xtest/cli/testprojinfo10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/cli/testprojinfo b/test/cli/testprojinfo
index 24a1fdd5..0f987850 100755
--- a/test/cli/testprojinfo
+++ b/test/cli/testprojinfo
@@ -29,6 +29,8 @@ OUT=testprojinfo_out
rm -f ${OUT}
+export PROJINFO_NO_GRID_CHECK=YES
+
echo "Testing projinfo EPSG:4326" >> ${OUT}
$EXE EPSG:4326 >>${OUT}
echo "" >>${OUT}
@@ -102,6 +104,14 @@ echo "Testing CRS with towgs84: projinfo -o PROJ EPSG:25832" >> ${OUT}
$EXE -o PROJ EPSG:25832 >>${OUT} 2>&1
echo "" >>${OUT}
+echo "Testing RH2000 height to SWEREF99: projinfo -s EPSG:5613 -t EPSG:4377" >> ${OUT}
+$EXE -s EPSG:5613 -t EPSG:4377 >>${OUT} 2>&1
+echo "" >>${OUT}
+
+echo "Testing NAD83(2011) + NAVD88 height -> NAD83(2011) : projinfo -s EPSG:6349 -t EPSG:6319 --spatial-test intersects -o PROJ" >> ${OUT}
+$EXE -s EPSG:6349 -t EPSG:6319 --spatial-test intersects -o PROJ >>${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