diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-12-04 18:56:15 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-12-06 21:35:14 +0100 |
| commit | 126384854bf8e1b7461aebcc28966a6559971de1 (patch) | |
| tree | 261e7125c6d9baa2b83d95b2b4547edf095b6850 /test | |
| parent | 41ff94791abfebaf8cf2c346b4aefb4895248bf3 (diff) | |
| download | PROJ-126384854bf8e1b7461aebcc28966a6559971de1.tar.gz PROJ-126384854bf8e1b7461aebcc28966a6559971de1.zip | |
vertical grid shift: rework to no longer load whole grid into memory
Diffstat (limited to 'test')
| -rw-r--r-- | test/gie/4D-API_cs2cs-style.gie | 14 |
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 |
