Skip to content

a fast vectorized version of haversine distance calculation using numpy

License

Notifications You must be signed in to change notification settings

qyliu-hkust/fasthaversine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fast Haversine distance evaluation

This package is a numpy version of haversine. Compared with haversine, our implementation is much more efficient when dealing with list-wise distance calculation.

Usage

from fasthaversine import haversine

haversine(points1, points2, unit='km')

where points1 and points2 are two list of tuples (lat, lon).

About

a fast vectorized version of haversine distance calculation using numpy

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages