-
Notifications
You must be signed in to change notification settings - Fork 9
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
uber h3 is now at version 4.0 with breaking API changes #139
Comments
Would like to move to version 4, import h3 |
https://h3geo.org/docs/library/migration-3.x/functions looks like the functions were just renamed, working on updating now |
3.7.6 is latest stable version |
Considering that version 4.0 isn't yet stable we should probably hold off on including it as a required dependency. Maybe we defer this until 4.0 is the de-facto version? |
right. sorry, i only checked the base library when i created this ticket. it appears that the python bindings for the core h3 library haven't caught up to the v4.1.0 c lib. and, ya, let's hold off on committing then until 4+ goes stable for python. should we create a temp branch off the hive repo to merge this work into? thanks for your work @clintonsteiner. |
Going to have a tough time replacing polyfill, leaving that for your team. |
#181 |
noted today that h3 is now at 4.0. the 4.0 API changes the name of methods. straight off the top of the documentation, the 3.x geo_to_h3 and h3_to_geo functions have been renamed latlng_to_cell and cell_to_latlng.
a quick immediate update is to restrict h3 versions to 3.x in our pyproject.toml, and long-term, we should update to the latest version or provide an abstraction to support both versions.
note: most h3 functionality occurs in h3_ops.py.
The text was updated successfully, but these errors were encountered: