aboutsummaryrefslogtreecommitdiff
path: root/test/gie/4D-API_cs2cs-style.gie
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2018-03-11 22:28:47 +0100
committerKristian Evers <kristianevers@gmail.com>2018-03-11 22:28:47 +0100
commit79fa26dcf4cccc16ab95f46ac3f7f6e87767680c (patch)
tree18027c321e76e51529c7623e7eb7e48a7043a949 /test/gie/4D-API_cs2cs-style.gie
parentcf3066e1967d54148756c65a813abd0e935f7ba9 (diff)
downloadPROJ-79fa26dcf4cccc16ab95f46ac3f7f6e87767680c.tar.gz
PROJ-79fa26dcf4cccc16ab95f46ac3f7f6e87767680c.zip
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.
Diffstat (limited to 'test/gie/4D-API_cs2cs-style.gie')
-rw-r--r--test/gie/4D-API_cs2cs-style.gie11
1 files changed, 11 insertions, 0 deletions
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
+
</gie>