aboutsummaryrefslogtreecommitdiff
path: root/test/cli/testntv2
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2019-12-14 18:46:37 +0100
committerGitHub <noreply@github.com>2019-12-14 18:46:37 +0100
commit6125d3b5a488d6dbaa536d0bde9125a63c1dc91a (patch)
tree0b2df21df95a23fd3ab01f5f44309fd2aa2c0781 /test/cli/testntv2
parent0f7a93138f9652e920521d09e7c73790e0cae65f (diff)
parent6a4f9cc673e247e1ca76e94d7b1aaaf3e0648c13 (diff)
downloadPROJ-6125d3b5a488d6dbaa536d0bde9125a63c1dc91a.tar.gz
PROJ-6125d3b5a488d6dbaa536d0bde9125a63c1dc91a.zip
Merge pull request #1797 from rouault/fix_hgrid_inv_switch_between_ntv2_subgrids
Horizontal grid shift: fix issue on iterative inverse computation when switching between (sub)grids (fixes #1663)
Diffstat (limited to 'test/cli/testntv2')
-rwxr-xr-xtest/cli/testntv28
1 files changed, 8 insertions, 0 deletions
diff --git a/test/cli/testntv2 b/test/cli/testntv2
index 73371dbe..2a31304e 100755
--- a/test/cli/testntv2
+++ b/test/cli/testntv2
@@ -52,6 +52,14 @@ $EXE +proj=latlong +ellps=clrk66 +nadgrids=ntv2_0.gsb,ntv1_can.dat,conus \
111d00'00.000"W 46d00'00.000"N 0.0
111d00'00.000"W 47d30'00.000"N 0.0
EOF
+
+echo "##############################################################" >> ${OUT}
+echo Switching between NTv2 subgrids >> ${OUT}
+# Initial guess is in ALraymnd, going to parent CAwest afterwards
+$EXE +proj=latlong +datum=NAD83 +to +proj=latlong +ellps=clrk66 +nadgrids=ntv2_0.gsb -E -d 8 >>${OUT} <<EOF
+-112.5839956 49.4914451 0
+EOF
+
#
##############################################################################
# Done!