Skip to content

Find nearest location between a coordinate and a list of location coordinates using Haversine formula

License

Notifications You must be signed in to change notification settings

cupskeee/python-near-location

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

contributors forks stargazers issues


Nearest Location Distance with Python

A simple great-circle distance calculation using only Python! (No Packages)

Calculate rough distance between points/location such as Store Branch and Map Points given their longitudes and latitudes

More about Haversine formula »
Request Feature / Report Bugs

About the Project

Built With

This app is created using Python 3 only.

Reference is from Wikipedia on Haversine Formula

Getting Started

This script is to calculate the great-circle distance between inputted coordinates e.g your coordinate with customizable location data.

Prerequisites

  • Python 3 (preferably Python 3.6.9)

that's it actually :)

Setup

  1. Clone the repository git clone https://github.com/cupskeee/python-near-location.git
  2. Modify your location data on the provided data source data.py or data.csv

You can modify the location data on data.py or data.csv by following the default format.

Guide

About

Find nearest location between a coordinate and a list of location coordinates using Haversine formula

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages