aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-02-24 15:58:16 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-02-24 16:59:55 +0100
commit911852371a6a109445cd79e5176a89c539b2e768 (patch)
tree55f50ca248928072f98d168106bc0525f47377b8 /test
parent38a1525b01b45420de01b0df71befd030253ebe3 (diff)
downloadPROJ-911852371a6a109445cd79e5176a89c539b2e768.tar.gz
PROJ-911852371a6a109445cd79e5176a89c539b2e768.zip
Robinson: fix wrong values for forward path for latitudes >= 87.5 (fixes #1172), and fix inaccurate inverse method
Diffstat (limited to 'test')
-rw-r--r--test/gie/builtins.gie26
1 files changed, 25 insertions, 1 deletions
diff --git a/test/gie/builtins.gie b/test/gie/builtins.gie
index 37bdfc69..89970f07 100644
--- a/test/gie/builtins.gie
+++ b/test/gie/builtins.gie
@@ -4438,7 +4438,7 @@ Robinson
===============================================================================
-------------------------------------------------------------------------------
-operation +proj=robin +a=6400000 +lat_1=0.5 +lat_2=2
+operation +proj=robin +a=6400000
-------------------------------------------------------------------------------
tolerance 0.1 mm
accept 2 1
@@ -4450,6 +4450,18 @@ expect -189588.423282508 107318.530350703
accept -2 -1
expect -189588.423282508 -107318.530350703
+accept 0 89.5
+expect 0.000000000000 8639799.718722090125
+
+accept 0 90
+expect 0.000000000000 8654720.000000000000
+
+accept 0 -89.5
+expect 0.000000000000 -8639799.718722090125
+
+accept 0 -90
+expect 0.000000000000 -8654720.000000000000
+
direction inverse
accept 200 100
expect 0.002109689 0.000931806
@@ -4460,6 +4472,18 @@ expect -0.002109689 0.000931806
accept -200 -100
expect -0.002109689 -0.000931806
+accept 0.000000000000 8639799.718722090125
+expect 0 89.5
+
+accept 0.000000000000 8654720.000000000000
+expect 0 90
+
+accept 0.000000000000 -8639799.718722090125
+expect 0 -89.5
+
+accept 0.000000000000 -8654720.000000000000
+expect 0 -90
+
===============================================================================
Roussilhe Stereographic