earthkit.geo.distance

Classes

Functions

haversine_distance(p1, p2[, figure])

Compute haversine distance between two (sets of) points on a spheroid.

nearest_point_haversine(ref_points, points[, figure])

Find the index of the nearest point to all ref_points in a set of

nearest_point_kdtree(ref_points, points[, figure])

Find the index of the nearest point to all ref_points in a set of points using a KDTree.