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

customized resolution #911

Open
mikehb opened this issue Sep 24, 2024 · 1 comment
Open

customized resolution #911

mikehb opened this issue Sep 24, 2024 · 1 comment

Comments

@mikehb
Copy link

mikehb commented Sep 24, 2024

I am sure if there is already discussion before about this feature, so I raise it here for discussion.

I have an application that needs to index the hexagon cells in different resolution, according to the latitude. On areas with low latitude, the edge length is about 2.0KM, while on areas with high latitude, the edge length is about 5.0KM. According the to H3 resolution table, resolution 5,6,7 is not what I want. Does the H3 library support customized resolution? Can I modify the code a bit for supporting this feature?
image

@nrabinowitz
Copy link
Collaborator

The short answer is: No. The fixed resolutions are a result of fundamental aspects of H3’s grid construction, and there’s no way to get a custom cell size. Some other discrete global grid systems do support this feature, but it’s not possible to implement in H3.

The closest we could offer is likely to use gridDisk with different radii at different latitudes.

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