Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: circle estimate is oval at latitudes far from the equator #4

Merged
merged 4 commits into from
Sep 11, 2024

Conversation

RoryPTB
Copy link
Contributor

@RoryPTB RoryPTB commented Sep 11, 2024

Changes Made:
Previously a trigonometric method was used that assumed flat geometry to estimate the n-gon of a circle. This caused distortions at latitudes far from the equator.

The azimuthal equidistant projection is now used in get_circle_coords to provide points on the map that are at proportionally correct distances from the centre point no matter where it is on the map.

@RoryPTB RoryPTB merged commit 2b698e4 into main Sep 11, 2024
20 checks passed
@RoryPTB RoryPTB deleted the fix/oval-circle branch September 11, 2024 15:30
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