turf icon indicating copy to clipboard operation
turf copied to clipboard

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

Open lemmingapex opened this issue 6 months ago • 2 comments

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 they 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

lemmingapex avatar Jun 23 '25 22:06 lemmingapex

Hey @smallsaucepan. Thanks for your help with this. Any estimation on when this might be merged and when the next release of turf is scheduled for? Let me know what you need.

lemmingapex avatar Aug 05 '25 15:08 lemmingapex

Looking to get an update on this. Any information @smallsaucepan can provide would be helpful. Thanks!

lemmingapex avatar Nov 05 '25 23:11 lemmingapex