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

Exterior ring CCW for @turf/rewind #737

Closed
DenisCarriere opened this issue May 12, 2017 · 1 comment
Closed

Exterior ring CCW for @turf/rewind #737

DenisCarriere opened this issue May 12, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@DenisCarriere
Copy link
Member

Exterior ring CCW for @turf/rewind

Based on the recommended GeoJSON specification for polygon winding:

  • The exterior ring should be counterclockwise.
  • Interior rings should be clockwise.

References
https://macwright.org/2015/03/23/geojson-second-bite.html#winding
https://tools.ietf.org/html/rfc7946#section-3.1.6

Mentioned by @Tgroup https://twitter.com/briantimoney/status/863080501355184128

This change will be considered a patch in v4.3.1.

@DenisCarriere DenisCarriere added this to the 4.3.0 milestone May 12, 2017
@DenisCarriere DenisCarriere self-assigned this May 12, 2017
DenisCarriere added a commit that referenced this issue May 13, 2017
- Exterior ring CCW & Interior rings CW #737
- Add FeatureCollection & GeometryCollection support
- Add tests for input mutation & Geometry Support
- Update Typescript definition
@DenisCarriere
Copy link
Member Author

@Tgroup now published in v4.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant