aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2020-02-05 07:32:32 +0100
committerEven Rouault <even.rouault@spatialys.com>2020-02-08 10:50:31 +0100
commit0019962137b8e0c062f45d0d88c8fb47b185926f (patch)
treec9fbd7530634b12510b9a712c629d8c163b0a9e9 /test
parent7fb3ebbf3724050787653afd3f6010760c280a32 (diff)
downloadPROJ-0019962137b8e0c062f45d0d88c8fb47b185926f.tar.gz
PROJ-0019962137b8e0c062f45d0d88c8fb47b185926f.zip
cart: Avoid discontinuity at poles in the inverse case
This should avoid issues with numerical stability as uncovered in https://github.com/OSGeo/PROJ/issues/1906. Practically speaking this change isn't going to affect real life scenarios since the position of the center of the Earth is rarely expressed in geodetic coordinates.
Diffstat (limited to 'test')
-rw-r--r--test/gie/more_builtins.gie2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gie/more_builtins.gie b/test/gie/more_builtins.gie
index 10d3ea47..424f941d 100644
--- a/test/gie/more_builtins.gie
+++ b/test/gie/more_builtins.gie
@@ -851,7 +851,7 @@ expect 180 0 0
# Center of Earth !
accept 0 0 0
-expect 0 0 -6378137
+expect 0 90 -6356752.314140356
</gie>