From 79fa26dcf4cccc16ab95f46ac3f7f6e87767680c Mon Sep 17 00:00:00 2001 From: Kristian Evers Date: Sun, 11 Mar 2018 22:28:47 +0100 Subject: Make sure that transient errors are returned correctly The prepare/finalize steps in pj_fwd*/pj_inv* now checks the error level of the PJ object before returning the coordinate. If an error is detected proj_coord_error() is returned. --- test/gie/4D-API_cs2cs-style.gie | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'test/gie/4D-API_cs2cs-style.gie') diff --git a/test/gie/4D-API_cs2cs-style.gie b/test/gie/4D-API_cs2cs-style.gie index 66da0633..73170bab 100644 --- a/test/gie/4D-API_cs2cs-style.gie +++ b/test/gie/4D-API_cs2cs-style.gie @@ -186,4 +186,15 @@ tolerance 20 cm accept 7.438632495 46.951082877 expect 2600000.0 1200000.0 ------------------------------------------------------------------------------- + +operation +proj=geos +lon_0=0.00 +lat_0=0.00 +a=6378169.00 +b=6356583.80 +h=35785831.0 +accept 85.05493299 46.5261074 +expect failure + +accept 85.05493299 46.5261074 0 +expect failure + +accept 85.05493299 46.5261074 0 0 +expect failure + -- cgit v1.2.3