Contents:
libpysal.cg.
fast_knn
Computes k nearest neighbors on a sphere.
pts : list of x,y pairs
k : int
Number of points to query
return_dist : bool
Return distances in the ‘wd’ container object
wn : list
list of neighbors
wd : list
list of neighbor distances (optional)