aboutsummaryrefslogtreecommitdiff
path: root/test/cli/testprojinfo
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-01-08 17:44:49 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-01-08 21:25:08 +0100
commita6899c98a6455dc022bdd6785af3e528488422b8 (patch)
tree37e78e8ff7bc497292e6e277422454ed330dbe02 /test/cli/testprojinfo
parent87cde49072b55c220f0ad10fa997fe9a584d1df1 (diff)
downloadPROJ-a6899c98a6455dc022bdd6785af3e528488422b8.tar.gz
PROJ-a6899c98a6455dc022bdd6785af3e528488422b8.zip
projinfo: use PROJ.4 label for CRS, and PROJ otherwise. Add test case for CRS with towgs84 keyword
Diffstat (limited to 'test/cli/testprojinfo')
-rwxr-xr-xtest/cli/testprojinfo4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/cli/testprojinfo b/test/cli/testprojinfo
index bae38482..70e4912f 100755
--- a/test/cli/testprojinfo
+++ b/test/cli/testprojinfo
@@ -82,6 +82,10 @@ echo "Testing non compliant WKT1" >> ${OUT}
$EXE 'GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563]],UNIT["degree",0.0174532925199433]]' >>${OUT} 2>&1
echo "" >>${OUT}
+echo "Testing CRS with towgs84: projinfo -o PROJ EPSG:25832" >> ${OUT}
+$EXE -o PROJ EPSG:25832 >>${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