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

h3ToGeoBoundary : documentation details #50

Closed
1chandu opened this issue Jun 6, 2019 · 1 comment
Closed

h3ToGeoBoundary : documentation details #50

1chandu opened this issue Jun 6, 2019 · 1 comment

Comments

@1chandu
Copy link

1chandu commented Jun 6, 2019

It seems h3ToGeoBoundary returns an array of vertices, that close the hexagon/pentagon/etc , i.e first and last vertices are same. When it is a hexagon it returns 7 vertices, where first and last are the same. It will be helpful to clarify this in the documentation.

@nrabinowitz
Copy link
Collaborator

This is documented here - the formatAsGeoJson param, if true, will provide closed loops (i.e. the start and end vertices are the same), as per the GeoJSON spec.

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