aboutsummaryrefslogtreecommitdiff
path: root/test/gie
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-09-15 05:42:17 +0200
committerEven Rouault <even.rouault@spatialys.com>2021-09-15 06:41:39 +0200
commit3bd64e8532521d61119df0a6a365a0a32b5c9b15 (patch)
treed959f1c027722e532cc0c088de35e95dccb812d1 /test/gie
parent47fb85bdf0e45bf5660e0b1dbde7b76f8824a87a (diff)
downloadPROJ-3bd64e8532521d61119df0a6a365a0a32b5c9b15.tar.gz
PROJ-3bd64e8532521d61119df0a6a365a0a32b5c9b15.zip
Fix error in implementation of Inverse ellipsoidal orthographic projection (oblique case) that cause convergence to sometimes fail (fixes #2844)
Diffstat (limited to 'test/gie')
-rw-r--r--test/gie/builtins.gie10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/gie/builtins.gie b/test/gie/builtins.gie
index 9e1d3339..9cebec84 100644
--- a/test/gie/builtins.gie
+++ b/test/gie/builtins.gie
@@ -4531,6 +4531,16 @@ tolerance 0.1 mm
accept 0 -6343600
expect 0 -59.966377950099655436
+-------------------------------------------------------------------------------
+# Oblique
+# Test case from https://github.com/OSGeo/PROJ/issues/2844
+-------------------------------------------------------------------------------
+operation +proj=ortho +ellps=WGS84 +lon_0=23.0 +lat_0=37.0
+tolerance 0.1 mm
+accept 120.0 84.0
+expect 663929.0678 5118338.2423
+roundtrip 1
+
-------------------------------------------------------------------------------
# Equatorial