PHP Classes

GPS Coordinates Distance: Calculate distance between geographic coordinates

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 70%Total: 2,470 All time: 1,564 This week: 339Up
Version License PHP version Categories
gps_coords_distance 1.0GNU General Publi...3.0Geography, Math
Description Author

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.

Picture of MM Developer
Name: MM Developer <contact>
Classes: 1 package by
Country: United States United States
Age: 40
All time rank: 1256177 in United States United States
Week rank: 544 Up67 in United States United States Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example usage of class.
Plain text file gps_class.php Class Math class object and example

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,564
This week:339Up
User Ratings User Comments (2)
 All time
For more information send a message to info at phpclasses dot org.