Closed qemtek closed 3 months ago
import h3
hex1 = '877b9db55ffffff'
hex1_geo = h3.h3_to_geo(hex1)
hex2 = h3.geo_to_h3(lat=hex1_geo[1], lng=hex1_geo[0], resolution=h3.h3_get_resolution(hex1))
assert hex1 == hex2
Hi, in my example, hex1 should equal hex2, but they are different. This is an obvious bug right?
This is python code, so I answered your duplicate issue in the h3-py binding repo. Lat, Lng ordering is flipped in your example code.
import h3
hex1 = '877b9db55ffffff'
hex1_geo = h3.h3_to_geo(hex1)
hex2 = h3.geo_to_h3(lat=hex1_geo[1], lng=hex1_geo[0], resolution=h3.h3_get_resolution(hex1))
assert hex1 == hex2
Hi, in my example, hex1 should equal hex2, but they are different. This is an obvious bug right?