Login   Register  
PHP Classes
elePHPant
Icontem

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,224 This week: 2All time: 1,626 This week: 908Up
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: 1233163 in United States United States
Week rank: 780 Up76 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,224All time:1,626
 This week:2This week:908Up
User Ratings User Comments (2)  
 All time
Utility:100%StarStarStarStarStarStar
Consistency:100%StarStarStarStarStarStar
Documentation:-
Examples:100%StarStarStarStarStarStar
Tests:-
Videos:-
Overall:70%StarStarStarStar
Rank:198