aboutsummaryrefslogtreecommitdiff
path: root/test/cli/testntv2
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-01-11 22:43:46 +0100
committerEven Rouault <even.rouault@spatialys.com>2020-01-13 22:17:22 +0100
commit9d61bf83af3fd3ab8fd32791f7f2f1143ca32a64 (patch)
tree62eef9bdbeb94ef185f677196cb91480f6707190 /test/cli/testntv2
parentf6c424165264eec06af2504800ebfdd5d701efae (diff)
downloadPROJ-9d61bf83af3fd3ab8fd32791f7f2f1143ca32a64.tar.gz
PROJ-9d61bf83af3fd3ab8fd32791f7f2f1143ca32a64.zip
Horizontal grid shift: fix failures on points slightly outside a subgrid (fixes #209)
Diffstat (limited to 'test/cli/testntv2')
-rwxr-xr-xtest/cli/testntv211
1 files changed, 11 insertions, 0 deletions
diff --git a/test/cli/testntv2 b/test/cli/testntv2
index 2a31304e..d15ad7aa 100755
--- a/test/cli/testntv2
+++ b/test/cli/testntv2
@@ -60,6 +60,17 @@ $EXE +proj=latlong +datum=NAD83 +to +proj=latlong +ellps=clrk66 +nadgrids=ntv2_0
-112.5839956 49.4914451 0
EOF
+echo "##############################################################" >> ${OUT}
+echo "Interpolating very close (and sometimes a bit outside) to the edges a NTv2 subgrid (#209)" >> ${OUT}
+$EXE +proj=latlong +datum=NAD83 +to +proj=latlong +ellps=clrk66 +nadgrids=ntv2_0.gsb -E -d 8 >>${OUT} <<EOF
+-115.58333333 51.25000000 0
+-115.58333333 51.25000010 0
+-115.58333334 51.25000000 0
+-115.49166667 51.07500000 0
+-115.49166668 51.07500000 0
+-115.49166667 51.07499990 0
+EOF
+
#
##############################################################################
# Done!