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

Uploaded Source

File details

Details for the file fasthaversine-0.1.2.tar.gz.

File metadata

  • Download URL: fasthaversine-0.1.2.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.5

File hashes

Hashes for fasthaversine-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e870e280328baf72a3389fb6f0987414ae2b0916aa6498991b3081b00136114a
MD5 2eaea3781fad0bfaf59dca27fc76d98b
BLAKE2b-256 e4654ddcfe0998dd6eb78078e810cfeb498ff5c5fb1e22eb4ba736aaa89d85d0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page