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

Has cell_to_vertex been implemented? #784

Closed
Shiran-Yuan opened this issue Oct 3, 2023 · 2 comments
Closed

Has cell_to_vertex been implemented? #784

Shiran-Yuan opened this issue Oct 3, 2023 · 2 comments

Comments

@Shiran-Yuan
Copy link

Shiran-Yuan commented Oct 3, 2023

Hi! I was trying to use cell_to_vertex in Python but I threw an error. The h3-py documentation didn't mention it and instead only had cell_to_boundary, which is extremely annoying due to the existence of distortion vertices. Is there are way I could use cell_to_vertex now?

Alternatively, is there a way to get all true vertexes of a cell (no distortion vertices) with the current python binding?

Thank you!

@grim7reaper
Copy link
Contributor

Is there are way I could use cell_to_vertex now?

Seems like the issue is still open.

@nrabinowitz
Copy link
Collaborator

Closing this ticket, as it's properly an issue for h3-py, not the core H3 library. I'd question somewhat whether it's valuable to ignore the distortion vertexes, though - you'll end up with points that are outside of your 6-vertex cell but still are indexed to that cell (because they're within the distortion vertex). Note too that there are no distortion vertexes on Class II (even) resolutions, which might work if you can pick a single resolution for your use case.

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

3 participants