Login   Register  
PHP Classes

GPS Coordinates Distance: Calculate distance between geographic coordinates

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-06-29 (7 years ago) RSS 2.0 feedStarStarStarStar 70%Total: 2,244 All time: 1,625 This week: 1,325Up
Version License PHP version Categories  
gps_coords_distance 1.0GNU General Public Lice...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: 32
All time rank: 1239164 in United States United States
Week rank: 1790 Down206 in United States United States Down

  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  
 0%Total:2,244All time:1,625
 This week:0This week:1,325Up
User Ratings User Comments (2)  
 All time