aboutsummaryrefslogtreecommitdiff
path: root/test/cli/testntv2
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-12-24 12:52:13 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-12-24 12:59:15 +0100
commit73a65df7421d5287db2a9f7a3854a68e9310c77a (patch)
treece7fac220c4ee8c24d5e1ecad7080f2cf691edf7 /test/cli/testntv2
parent366ab091c7d23807635684431eb848af24301edc (diff)
downloadPROJ-73a65df7421d5287db2a9f7a3854a68e9310c77a.tar.gz
PROJ-73a65df7421d5287db2a9f7a3854a68e9310c77a.zip
proj_trans: add retry logic to select other transformation if the best one fails.
Relates to https://github.com/OSGeo/PROJ/issues/1808
Diffstat (limited to 'test/cli/testntv2')
-rwxr-xr-xtest/cli/testntv26
1 files changed, 6 insertions, 0 deletions
diff --git a/test/cli/testntv2 b/test/cli/testntv2
index 2a31304e..ab72d199 100755
--- a/test/cli/testntv2
+++ b/test/cli/testntv2
@@ -60,6 +60,12 @@ $EXE +proj=latlong +datum=NAD83 +to +proj=latlong +ellps=clrk66 +nadgrids=ntv2_0
-112.5839956 49.4914451 0
EOF
+echo "##############################################################" >> ${OUT}
+echo Attempt first with ntv2_0.gsb and then conus >> ${OUT}
+$EXE +proj=longlat +datum=NAD27 +to +proj=longlat +datum=WGS84 -E -d 8 >>${OUT} <<EOF
+-111.5 45.26
+EOF
+
#
##############################################################################
# Done!