aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-01-13 00:22:56 +0100
committerGitHub <noreply@github.com>2020-01-13 00:22:56 +0100
commit9d8647371d27bdbd717644f7df5514a6f2b07a00 (patch)
tree1ff8fa7fd812fea2ae53792b5488a90f6418095c /test
parentb6f0153e5aa27dc11d2c879dc4a62a0f35a122cb (diff)
parent22792cd55ba41ffadb248c246cc871612a5139c1 (diff)
downloadPROJ-9d8647371d27bdbd717644f7df5514a6f2b07a00.tar.gz
PROJ-9d8647371d27bdbd717644f7df5514a6f2b07a00.zip
Merge pull request #1777 from rouault/rfc4_impl
[RFC4_dev] Grid loading refactoring
Diffstat (limited to 'test')
-rw-r--r--test/gie/4D-API_cs2cs-style.gie14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/gie/4D-API_cs2cs-style.gie b/test/gie/4D-API_cs2cs-style.gie
index e5722b5e..8d541823 100644
--- a/test/gie/4D-API_cs2cs-style.gie
+++ b/test/gie/4D-API_cs2cs-style.gie
@@ -448,6 +448,20 @@ expect 4.05 52.1 -10
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
+Test null grid with vgridshift
+-------------------------------------------------------------------------------
+operation proj=vgridshift grids=tests/test_nodata.gtx,null ellps=GRS80
+-------------------------------------------------------------------------------
+ignore pjd_err_failed_to_load_grid
+accept 4.05 52.1 0
+expect 4.05 52.1 -10
+
+# Outside validity area of test_nodata.gtx. Fallback on null
+accept 4.05 -52.1 0
+expect 4.05 -52.1 0
+-------------------------------------------------------------------------------
+
+-------------------------------------------------------------------------------
Test bug fix of https://github.com/OSGeo/proj.4/issues/1025.
Using geocent in the new API with a custom ellipsoid should return coordinates
that correspond to that particular ellipsoid and not WGS84 as demonstrated in