diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-01-08 17:44:49 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-01-08 21:25:08 +0100 |
| commit | a6899c98a6455dc022bdd6785af3e528488422b8 (patch) | |
| tree | 37e78e8ff7bc497292e6e277422454ed330dbe02 /test/cli/testprojinfo | |
| parent | 87cde49072b55c220f0ad10fa997fe9a584d1df1 (diff) | |
| download | PROJ-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-x | test/cli/testprojinfo | 4 |
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 |
