Calculating Distances between Latitude and Longitude with AutoHotkey
Channel: AUTOHOTKEY Gurus
Date: 2021-09-18

In this video I show how to Calculate Distances between Latitude and Longitude with AutoHotkey  You can get the function I use here: https://www.the-automator.com/Distances
TLDR: The video discusses a new method to calculate the distance between two locations on Earth, accounting for the curvature of the planet, and demonstrates how to use this method in Python.

1. 00:00 🌍 Scientists have developed a new method to calculate the distance between two locations on Earth, accounting for the curvature of the planet.
 1.1 The script calculates the distance between two latitude/longitude locations, taking into account the curvature of the earth.

2. 00:35 🌍 The "distances" function calculates the distance between two points on Earth using latitude and longitude coordinates.
 2.1 The function "distances" takes four parameters: lat1, lon1, lat2, and lon2, and uses a static value of one degree and a radian in a formula.

4. 01:05 📊 The speaker converted distances from kilometers to meters and miles.
 4.1 The speaker calculated distances between things in kilometers and converted them to meters and miles based on that metric.

5. 01:44 📐 💻 Convert kilometers to miles using a formula and accessing the appropriate object.
 5.1 The speaker demonstrates how to convert distance measurements from kilometers to miles using a formula and accessing the appropriate object.

6. 02:26 🌎 Two cities, LA and Orlando, were measured with latitudes and longitudes of 2180 and 2197.5.
 6.1 The speaker took latitudes and longitudes from LA to Orlando, with the values being 2180 and 2197.5.

7. 02:49 📍 Use the mastery function m to calculate the distance between two latitude and longitude points.
 7.1 The speaker recommends using the masteries function m to easily calculate the distance between two latitude and longitude points.