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

output GeoJSON not valid (right hand rule) #157

Open
radiallogic opened this issue Nov 7, 2018 · 0 comments
Open

output GeoJSON not valid (right hand rule) #157

radiallogic opened this issue Nov 7, 2018 · 0 comments

Comments

@radiallogic
Copy link

If you import data from WKB format and then export it as geoJSON. The geoJSON isn't valid if the right hand rule is not met. Since 2016 geoJSON is a formal IETF specification and it requires the right hand rule to be valid.

The spec for the right hand rule is:

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.

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

1 participant