aboutsummaryrefslogtreecommitdiff
path: root/test/cli/testvarious
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-12-16 16:32:13 +0100
committerEven Rouault <even.rouault@spatialys.com>2020-12-16 18:48:46 +0100
commitda066800e59dcd5c3bf5e88ccca1bf1762de74dc (patch)
tree506dadd7d34c4d2ed972407f7343548bb95d0a64 /test/cli/testvarious
parent37755e4edc53e09286cd2bb962299d0f5118fc77 (diff)
downloadPROJ-da066800e59dcd5c3bf5e88ccca1bf1762de74dc.tar.gz
PROJ-da066800e59dcd5c3bf5e88ccca1bf1762de74dc.zip
cs2cs: add --no-ballpark and --accuracy options
Diffstat (limited to 'test/cli/testvarious')
-rwxr-xr-xtest/cli/testvarious12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/cli/testvarious b/test/cli/testvarious
index 82be4992..a121393c 100755
--- a/test/cli/testvarious
+++ b/test/cli/testvarious
@@ -1021,6 +1021,18 @@ $EXE --authority EPSG -E +proj=latlong +datum=WGS84 +no_defs +to +init=epsg:6342
-105 40
EOF
+echo "##############################################################" >> ${OUT}
+echo "Test effect of --accuracy" >> ${OUT}
+$EXE -E --accuracy 0.05 EPSG:4326 EPSG:4258 >> ${OUT} <<EOF
+49 2
+EOF
+
+echo "##############################################################" >> ${OUT}
+echo "Test effect of --no-ballpark" >> ${OUT}
+$EXE -E --no-ballpark EPSG:4267 EPSG:4258 >> ${OUT} <<EOF
+49 2
+EOF
+
# Done!
# do 'diff' with distribution results