We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
import h3
hex1 = '877b9db55ffffff'
hex1_geo = h3.cell_to_latlng(hex1)
hex2 = h3.latlng_to_cell(lat=hex1_geo[1], lng=hex1_geo[0], res=h3.get_resolution(hex1))
assert hex1 == hex2
This is an obvious error right? Converting to geo and then back to cell give different cell IDs
The text was updated successfully, but these errors were encountered:
You've flipped the order of the lat and lng. it should be hex2 = h3.latlng_to_cell(lat=hex1_geo[0], lng=hex1_geo[1], res=h3.get_resolution(hex1))
hex2 = h3.latlng_to_cell(lat=hex1_geo[0], lng=hex1_geo[1], res=h3.get_resolution(hex1))
Sorry, something went wrong.
No branches or pull requests
import h3
hex1 = '877b9db55ffffff'
hex1_geo = h3.cell_to_latlng(hex1)
hex2 = h3.latlng_to_cell(lat=hex1_geo[1], lng=hex1_geo[0], res=h3.get_resolution(hex1))
assert hex1 == hex2
This is an obvious error right? Converting to geo and then back to cell give different cell IDs
The text was updated successfully, but these errors were encountered: