Skip to content

gladiatr72/geodestic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

The android geodesic formula reimagined in Cython

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages