aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
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