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

Implement changes in RFC 7946 #53

Closed
frewsxcv opened this issue Nov 7, 2016 · 4 comments
Closed

Implement changes in RFC 7946 #53

frewsxcv opened this issue Nov 7, 2016 · 4 comments

Comments

@frewsxcv
Copy link
Member

frewsxcv commented Nov 7, 2016

http://www.macwright.org/2016/11/07/the-geojson-ietf-standard.html

@frewsxcv
Copy link
Member Author

frewsxcv commented Nov 7, 2016

frewsxcv added a commit that referenced this issue May 2, 2017
Fixes #34.

Part of #53.
bors bot added a commit that referenced this issue May 2, 2017
71: Remove `geojson::Crs`. r=frewsxcv
Fixes #34.

Part of #53.
@frewsxcv
Copy link
Member Author

frewsxcv commented May 7, 2019

We need to enforce that Polygons from the geo-type crate are oriented the right way when converted to Values, as per:

A linear ring MUST follow the right-hand rule with respect to the
area it bounds, i.e., exterior rings are counterclockwise, and
holes are clockwise.

https://tools.ietf.org/html/rfc7946#section-3.1.6

@frafra
Copy link

frafra commented Dec 28, 2020

Right-hand rule is not enforced by the software at the moment, but it should: https://gis.stackexchange.com/a/259957/162589

@frewsxcv
Copy link
Member Author

Right-hand rule is not enforced by the software at the moment, but it should: https://gis.stackexchange.com/a/259957/162589

Yep, thanks for calling that out. An attempt at fixing this was done in #117

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

No branches or pull requests

2 participants