We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4eba45f commit b31632bCopy full SHA for b31632b
tobler/util/util.py
@@ -35,7 +35,7 @@ def circumradius(resolution):
35
"You can install it with `conda install h3-py` or "
36
"`pip install h3`"
37
)
38
- h3ver = h3.__version__
+ h3ver = int(h3.__version__[0])
39
if h3ver < 4:
40
return h3.edge_length(resolution, "m")
41
return h3.average_edge_length(resolution, "m")
0 commit comments