Skip to main content

A fast vectorized version of haversine distance calculation.

Project description

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).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fasthaversine-0.1.2.tar.gz (2.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page