-
Notifications
You must be signed in to change notification settings - Fork 510
Encode "extra" information in unused digits of H3 indexes #1025
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
base: master
Are you sure you want to change the base?
Conversation
Do we need a separate function for unused digits? I'd be happy with general And we'd also probably want |
I think it is helpful to have specific functions for this. Another value of separate functions here is that they can guide the user how to use the "extra" information. It surfaces that this is something that can actually be done with the indexes because it's a top-level API, it guides the user what the range of valid values to encode are (not obvious without computing the mask), and single-function-call encoding of that data (important for e.g. SQL where multiple H3 API calls is tricky.)
I am thinking specifically of the "extra" information. I don't think |
Makes sense for this to focus just on the unused bits. I'm just wondering, though, have we seen many use cases for this in the past? Or what use cases do you have in mind? |
No description provided.