aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-10-04 11:45:32 +0200
committerGitHub <noreply@github.com>2019-10-04 11:45:32 +0200
commit7bfef6a9c94482826a41687f795b1a991e17ed35 (patch)
tree3bd5a7c0fd9fea188b1b2517d21b0905dff43ebf /src
parent109f75c74ee9e251b9507aeb5f3add109042bd5f (diff)
parent9b561406e1ddcde02e868bef908e5cd5140745c7 (diff)
downloadPROJ-7bfef6a9c94482826a41687f795b1a991e17ed35.tar.gz
PROJ-7bfef6a9c94482826a41687f795b1a991e17ed35.zip
Merge pull request #1655 from rouault/aeqd_obliq_sphere
aeqd: for spherical forward path, go to higher precision ellipsoidal case when the point coordinates are super close to the origin (fixes #1654)
Diffstat (limited to 'src')
-rw-r--r--src/projections/aeqd.cpp2
1 files changed, 1 insertions, 1 deletions
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);