Skip to main content

A Cython implementation of android.location.Location.computeDistanceAndBearing()

Project description

# geodestic

This module provides a single function: between()

It takes four floats corresponding to two latitude/longitude sets given in decimal degrees and returns a value that corresponds to the length of the geodesic distance between those two coordinates. The bearing calculation bits of the original source are not a part of this module.

The tests run against geographiclib. It is thought to be the most precise and speedy open source library for GIS calulations. There is an accompanying python implementation (not bindings) written by the author of the C++ library. (_pip install geographiclib_) It is quite a bit slower than the C++ implementation and my cffi-fu is not quite up to wrapping it in way that I would feel confident using it.

Thanks to the Android team the for the clear expression of the inversion forumla. (http://tw.gs/2Xyci3)

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

geodestic-0.2.2.tar.gz (18.1 kB view details)

Uploaded Source

File details

Details for the file geodestic-0.2.2.tar.gz.

File metadata

  • Download URL: geodestic-0.2.2.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for geodestic-0.2.2.tar.gz
Algorithm Hash digest
SHA256 fbe5c9757259c7423d4329aa13c07b4c5930affb932c2689f287084d30daf826
MD5 8898b84759a225e3504c21c22b5211b1
BLAKE2b-256 65d27117060e541b90f167f3a38fcbd7b2c6d1c8f9a292b52050e94406e89241

See more details on using hashes here.

Supported by

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