PHP Classes

GPS Coordinates Distance: Calculate distance between geographic coordinates

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 63%Total: 2,478 All time: 1,562 This week: 129Up
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

Recommendations

  Files folder image Files (2)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,478
This week:0
All time:1,562
This week:129Up
User Ratings User Comments (2)
 All time
Utility:90%StarStarStarStarStar
Consistency:90%StarStarStarStarStar
Documentation:-
Examples:90%StarStarStarStarStar
Tests:-
Videos:-
Overall:63%StarStarStarStar
Rank:870