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

Add cell_id_to_vertices/token_to_vertices #3

Open
aaliddell opened this issue Nov 30, 2021 · 1 comment
Open

Add cell_id_to_vertices/token_to_vertices #3

aaliddell opened this issue Nov 30, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@aaliddell
Copy link
Owner

Return a tuple of the coordinates of the four vertices. See https://github.com/google/s2geometry/blob/bdaaf97c60b3e29c0eb74dbdc66a7a19f1c937f6/src/s2/s2cell.h#L87-L90 and deeper

@aaliddell aaliddell added the enhancement New feature or request label Nov 30, 2021
@jeremyh3
Copy link

jeremyh3 commented Mar 4, 2023

Thanks for this library - nice job! This enhancement would be a cool add since its one of the primary things you would do to use the library in some mapping applications (show the cell where the point lives). So you would need to get the cell vertices from cell id/level. It possible to do it from points, but its clunkier than just having a function part of the library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants