python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
calculate distance between latitude longitude columns for pandas data frame
I am trying to apply this code:
import h3
coords_1 = (52.2296756, 21.0122287)
coords_2 = (52.406374, 16.9251681)
distance = h3.point_dist(coords_1, coords_2, unit='km')
distance
to a pandas datafram...
cs0815
Votes: 0
Answers: 2
h3Line function throws LineUndefinedException
I want to calculate index of the h3 cells between (-39.08, -57.01) and (-38.05, -58.16) but it throws LineUndefinedException.
In the documentation it says
This function may fail to find the line betw...

Ali Atıl
Votes: 0
Answers: 1
How to polyfill a Multi-polygon in H3?
I have a set of multipolygons in GeoJSON format, for example:
{
"type": "MultiPolygon",
"coordinates": [
[[[102.0, 2.0], [103.0, 2.0], [103.0, 3.0], [102.0, 3.0]...
Dakshin
Votes: 0
Answers: 4