diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-04-16 22:42:25 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-04-16 22:42:25 +0200 |
| commit | 7c543c30ba77b4a722b5b193f99af569b4ade41b (patch) | |
| tree | 1c41b738ea77d5ce3af2b1a24870e2d160eb3bb3 /test | |
| parent | c16c23addf48fcb3c87e18bcfd4ebcf0d873a30d (diff) | |
| download | PROJ-7c543c30ba77b4a722b5b193f99af569b4ade41b.tar.gz PROJ-7c543c30ba77b4a722b5b193f99af569b4ade41b.zip | |
vgridshift: handle longitude wrap-around for grids with 360deg longitude extent
Like egm96_15.gtx
Fixes #1415
Technically, a similar fix could be done for horizontal grids, but world
extent is less common for them.
Diffstat (limited to 'test')
| -rw-r--r-- | test/gie/more_builtins.gie | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/gie/more_builtins.gie b/test/gie/more_builtins.gie index 30ddc0d5..ba146b06 100644 --- a/test/gie/more_builtins.gie +++ b/test/gie/more_builtins.gie @@ -253,6 +253,24 @@ ignore pjd_err_failed_to_load_grid accept 12.5 55.5 0 0 expect 12.5 55.5 -36.021305084228516 0 +accept -180.1 0 0 +expect -180.1 0 -21.2423 + +accept 179.9 0 0 +expect 179.9 0 -21.2423 + +accept 180 0 0 +expect 180 0 -21.1533 + +accept 540 0 0 +expect 540 0 -21.1533 + +accept -180 0 0 +expect -180 0 -21.1533 + +accept -540 0 0 +expect -540 0 -21.1533 + roundtrip 100 1 nm ------------------------------------------------------------------------------- Fail on purpose: +grids parameter is mandatory |
