From a6899c98a6455dc022bdd6785af3e528488422b8 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Tue, 8 Jan 2019 17:44:49 +0100 Subject: projinfo: use PROJ.4 label for CRS, and PROJ otherwise. Add test case for CRS with towgs84 keyword --- test/cli/testprojinfo | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/cli/testprojinfo') 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 -- cgit v1.2.3