Skip to content

A python package to calculate the distance between two geographical points using their latitude and longitude coordinates.

License

Notifications You must be signed in to change notification settings

HarshPanchal18/pygeodist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

  • pygeodist is a lightweight and efficient library that provides functions to calculate the distance between two geographical points using their latitude and longitude coordinates.
  • It utilizes the Haversine formula to accurately compute distances on the Earth's surface.

License

Installation

You can include the library in your project using one of the following methods:

pip install pygeodist

Usage

from geodistance.point import Point
from geodistance.main import calculate_distance

point1 = Point(41.19,65.85)
point2 = Point(29.19,16.85)
print(calculate_distance(point1,point2))

point1 = Point(3,3)
point2 = Point(6,12)
print(calculate_distance(point1,point2, "m"))

Contributing

  • Contributions are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request. For major changes, it is recommended to first open a discussion to discuss the proposed changes.

License

  • This library is distributed under the MIT License. See the LICENSE file for more information.

Contact

  • For any questions or inquiries, please contact at @HarshPanchal18

  • Feel free to customize and expand this template to provide more details about your library and its functionalities.

About

A python package to calculate the distance between two geographical points using their latitude and longitude coordinates.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages