From 29b17b5e381cefeee0dc41a6c3d166e8c7f30eaf Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Thu, 3 Oct 2019 18:48:06 +0000 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') diff --git a/src/projections/aeqd.cpp b/src/projections/aeqd.cpp index 04c3662e..eb38cbf3 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