Package focused on Earth distance calculation and plotting
Project description
earth_distances package
Description. The package earth_distances is used to:
Distance:
- Calculate and returns distances between two points on the surface of
the Earth, or another sphere, provided its radius, rounded to thte
Map_Plotting:
- Plot the points on a map of our planet, alongside the distance line
in a desired color
Installation
Use the package manager pip to install earth_distances
pip install earth_distances
Usage
from earth_distances.distance_calculation import harvesini
# Calculating the distance between Paris and Beijing
print(harvesini.harvesini_distance(48.856613, 2.352222, 39.904202, 116.407394))
>>>8216984.310
from earth_distances.map_plotting import world_map_plot
# Plotting the map related to Paris and Beijing
world_map_plot.plot_world_map(48.856613, 2.352222, 39.904202, 116.407394)
Author
Gabriel Vinicius Sebastião
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
earth_distances-0.0.7.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for earth_distances-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d761c4477c102f9a5e240434d51a64cc02405a5075fbd05e06f55e2aea417d84 |
|
MD5 | e1fe7634d69ae031b46df11e7dc84e9f |
|
BLAKE2b-256 | b4f5caf64288bca86061f654677e8899fa1f7c6e87d949e7b45017abb19d3981 |