Skip to content

tpeqd: use numerically stable formula for computing the central angle from (phi_1, lam_1) to (phi_2, lam_2) (fixes #4008)#4009

Merged
rouault merged 1 commit intoOSGeo:masterfrom
rouault:fix_4008
Jan 22, 2024
Merged

Conversation

@rouault
Copy link
Member

@rouault rouault commented Jan 19, 2024

This does fix the computation of the z02 parameter which used to evaluate to 0 for too close 2 points, but I've no idea if the rest of the maths is stable enough...

@rouault rouault added this to the 9.4.0 milestone Jan 22, 2024
@rouault rouault merged commit 5920e29 into OSGeo:master Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant