This month, I’ve been programming in PHP and MySQL for GIS. While researching the topic, I had difficulty finding geographic calculations to find the distance between two locations, so I wanted to share them here. The simple way of calculating a distance between two points is using the Pythagorean formula to calculate the hypotenuse of a triangle (A² + B² = C²). This is known as the Euclidean dist