From 9b561406e1ddcde02e868bef908e5cd5140745c7 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Thu, 3 Oct 2019 20:48:06 +0200 Subject: aeqd: for spherical forward path, go to higher precision ellipsoidal case when the point coordinates are super close to the origin (fixes #1654) --- src/projections/aeqd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/projections/aeqd.cpp') diff --git a/src/projections/aeqd.cpp b/src/projections/aeqd.cpp index a187edb7..e0fa5c37 100644 --- a/src/projections/aeqd.cpp +++ b/src/projections/aeqd.cpp @@ -151,7 +151,7 @@ oblcon: return xy; } else - xy.x = xy.y = 0.; + return aeqd_e_forward(lp, P); else { xy.y = acos(xy.y); xy.y /= sin(xy.y); -- cgit v1.2.3