GPS distance between 2D and 3D
pip install gpsdistance
Two-dimensional Distance (kilometer based)
dist = gpsdistance() print(dist.get_2distance(lat1, lon1, lat2, lon2))
three-dimensional Distance (kilometer based)
dist = gpsdistance() print(dist.get_3distance(lat1, lon1, alt1, lat2, lon2, alt2))
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for gpsdistance-0.0.2-py3-none-any.whl