From 5e7d58ec69764f7ffa8d09991aa0b0102d2f02ab Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Sun, 27 Sep 2020 15:58:54 +0200 Subject: Ortho ellipsoidal inverse: improve accuracy in polar case with (x,y) close to (0,0) --- test/gie/builtins.gie | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/gie/builtins.gie b/test/gie/builtins.gie index 71622c7a..02e6766e 100644 --- a/test/gie/builtins.gie +++ b/test/gie/builtins.gie @@ -4565,8 +4565,12 @@ accept 0 90 expect 0 0 roundtrip 1 -accept 1 89.999 -expect 1.9493 -111.6770 +accept 30 45 +expect 2258795.4394 -3912348.4650 +roundtrip 1 + +accept 135 89.999999873385 +expect 0.01 0.01 roundtrip 1 # Point not visible from the projection plane @@ -4592,8 +4596,8 @@ accept 0 -90 expect 0 0 roundtrip 1 -accept 1 -89.999 -expect 1.9493 111.6770 +accept 135 -89.999999873385 +expect 0.01 -0.01 roundtrip 1 # Point not visible from the projection plane -- cgit v1.2.3