PHP Classes

GPS Coordinates Distance: Calculate distance between geographic coordinates

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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,276 This week: 1All time: 1,625 This week: 1,238Up
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: 33
All time rank: 1242167 in United States United States
Week rank: 995 Up104 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  
 0%Total:2,276All time:1,625
 This week:1This week:1,238Up
User Ratings User Comments (2)  
 All time