PHP Classes / GPS Coordinates Distance

Calculate distance between geographic coordinates

GPS Coordinates Distance PHP Class

This is a very simple class that can be used to calculate the distance between two points on the terrestrial globe. It takes the latitude and longitude coordinates of two points represented in decimal format and calculates the length of a straight line between them. The distance between the points is returned in miles.

Search in PHP Classes

Filter by tags