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

Polygon: closed and right hand rule? #9

Open
visr opened this issue Aug 14, 2019 · 1 comment
Open

Polygon: closed and right hand rule? #9

visr opened this issue Aug 14, 2019 · 1 comment

Comments

@visr
Copy link
Member

visr commented Aug 14, 2019

The Polygon type currently holds an exterior ring and one or more interior rings, but otherwise doesn't enforce much.

Currently it is not enforced that the first and last positions should be equal, or the right hand rule as in https://tools.ietf.org/html/rfc7946#section-3.1.6

Should we enforce these in this package? Or is it better to deal with those in packages such as GeoJSON.jl do you think?

@SimonDanisch
Copy link
Member

That seems like a cheap enough check to just always do it, if it's required ;)

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