aboutsummaryrefslogtreecommitdiff
path: root/test/cli
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2020-03-18 08:35:46 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2020-03-18 08:35:46 +0000
commit5c7f901bf35a6b4801cecb6c41cc62be2fdb5c94 (patch)
treebebc72fe639213d002efe6fe64ab3c0ffb25398a /test/cli
parent2b4037d7a02598ec7747d2d4ad88c41de08f430f (diff)
downloadPROJ-5c7f901bf35a6b4801cecb6c41cc62be2fdb5c94.tar.gz
PROJ-5c7f901bf35a6b4801cecb6c41cc62be2fdb5c94.zip
cs2cs: don't require +to for '{source_crs} {target_crs} filename...' syntax (fixes #2012)
Diffstat (limited to 'test/cli')
-rwxr-xr-xtest/cli/testvarious5
-rw-r--r--test/cli/tv_out.dist3
2 files changed, 8 insertions, 0 deletions
diff --git a/test/cli/testvarious b/test/cli/testvarious
index 6c00ba13..6d773c4c 100755
--- a/test/cli/testvarious
+++ b/test/cli/testvarious
@@ -997,6 +997,11 @@ $EXE -f %.7f +proj=longlat +over +datum=WGS84 +to proj=merc +a=6378137 +b=637813
-181 49
EOF
+echo "##############################################################" >> ${OUT}
+echo "Test EPSG:xxxx EPSG:yyyy filename" >> ${OUT}
+echo "2 49" > tmp.txt
+$EXE EPSG:4326 EPSG:4326 tmp.txt -E >> ${OUT}
+rm tmp.txt
# Done!
# do 'diff' with distribution results
diff --git a/test/cli/tv_out.dist b/test/cli/tv_out.dist
index 8720a124..22a26380 100644
--- a/test/cli/tv_out.dist
+++ b/test/cli/tv_out.dist
@@ -479,3 +479,6 @@ Check +init=epsg:4326 +over +to +init=epsg:3857 +over
##############################################################
Check +proj=longlat +over +datum=WGS84 +to proj=merc +a=6378137 +b=6378137 +lat_ts=0 +lon_0=0 +x_0=0 +y_0=0 +k=1 +units=m +nadgrids=@null +over
-181 49 -20148827.8335825 6274861.3940066 0.0000000
+##############################################################
+Test EPSG:xxxx EPSG:yyyy filename
+2 49 2dN 49dE 0.000