Skip to content

#2897 Updating circle, ellipse, line-arc, and sector to use smarter approximations #2910

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

lemmingapex
Copy link

Summary

See the details and linked post in #2897

The focus of this work is to update the turf.circle(...) to use a smarter regular polygon approximation. Related packages have also been updated to use more accurate approximations including ellipse, line-arc, and sector. These packages should be as consistent with each other as the are in version 7.2.0.

Please let me know if you find any issues or have any questions, I would be happy to assist if I can. Thanks for your help.

Tickets

closes #2897

Tests and Docs

All related tests and documentation have been updated.

Changes

The returned construction for all mentioned packages above will now differ from the current turf version (7.2.0). A new option, options.maximumRimDeviation, is now available for some of the mentioned packages.

Other

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.

Consider Using a Different Approximation for turf.circle(...)
1 participant