From 3f342114a94421ee010f97c7a8f3bf481b0d9f0b Mon Sep 17 00:00:00 2001 From: Kristian Evers Date: Mon, 7 May 2018 11:37:36 +0200 Subject: Add tests for calcofi before refactoring --- test/gie/builtins.gie | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'test') diff --git a/test/gie/builtins.gie b/test/gie/builtins.gie index 63e56967..be491346 100644 --- a/test/gie/builtins.gie +++ b/test/gie/builtins.gie @@ -690,6 +690,21 @@ expect -207.544906814 81.314089279 accept -200 -100 expect -62.576950372 87.980755945 +operation +proj=calcofi +lon_0=50 +accept 10 50 +expect 303.525850 -1576.974388 +roundtrip 100 + +operation +proj=calcofi +ellps=GRS80 +lon_0=50 +accept 10 50 +expect 303.525850 -1576.974388 +roundtrip 100 + +operation +proj=calcofi +R=400 +lon_0=50 +x_0=10000 +y_0=500000 +accept 10 50 +expect 301.769827 -1567.849822 +roundtrip 100 + =============================================================================== Cassini -- cgit v1.2.3 From e9e9e72c9d36eac00e65bb137242d039891c78f5 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Sat, 19 May 2018 13:03:22 +0200 Subject: Vertical grid shift: do not interpolate node values at nodata value (fixes #1002) --- test/gie/4D-API_cs2cs-style.gie | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'test') diff --git a/test/gie/4D-API_cs2cs-style.gie b/test/gie/4D-API_cs2cs-style.gie index 6eed4faa..4f756ed1 100644 --- a/test/gie/4D-API_cs2cs-style.gie +++ b/test/gie/4D-API_cs2cs-style.gie @@ -1,3 +1,5 @@ + +------------------------------------------------------------------------------- =============================================================================== Test the 4D API handling of cs2cs style transformation options. @@ -278,4 +280,14 @@ expect 1335.8339 7522.963 ------------------------------------------------------------------------------- +------------------------------------------------------------------------------- +Test bugfix of https://github.com/OSGeo/proj.4/issues/1002 +(do not interpolate nodata values) +------------------------------------------------------------------------------- +operation +proj=latlong +ellps=WGS84 +geoidgrids=tests/test_nodata.gtx +------------------------------------------------------------------------------- +accept 4.05 52.1 0 +expect 4.05 52.1 -10 +------------------------------------------------------------------------------- + -- cgit v1.2.3