diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-12-24 12:52:13 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-12-24 12:59:15 +0100 |
| commit | 73a65df7421d5287db2a9f7a3854a68e9310c77a (patch) | |
| tree | ce7fac220c4ee8c24d5e1ecad7080f2cf691edf7 /test/cli | |
| parent | 366ab091c7d23807635684431eb848af24301edc (diff) | |
| download | PROJ-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')
| -rw-r--r-- | test/cli/ntv2_out.dist | 3 | ||||
| -rwxr-xr-x | test/cli/testntv2 | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/test/cli/ntv2_out.dist b/test/cli/ntv2_out.dist index 650a69d8..940997fb 100644 --- a/test/cli/ntv2_out.dist +++ b/test/cli/ntv2_out.dist @@ -12,3 +12,6 @@ Try with NTv2 and NTv1 together ... falls back to NTv1 ############################################################## Switching between NTv2 subgrids -112.5839956 49.4914451 0 -112.58307487 49.49145197 0.00000000 +############################################################## +Attempt first with ntv2_0.gsb and then conus +-111.5 45.26 -111.50079772 45.25992835 0.00000000 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! |
