PHP Distance between Two Coordinates: Get locations distance with longitude and latitude

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 59%Total: 415 All time: 6,350 This week: 357Up
Version License PHP version Categories
distance-calculate 1.0.0GNU General Publi...5.0PHP 5, Geography
Description Author

This class can get the distance between locations with given coordinates.

It can take the latitude and longitude of two locations and calculates the distance between them.

The distance value can be returned in miles, kilometers or nautical miles.

Picture of Vivek moyal
  Performance   Level  
Name: Vivek moyal is available for providing paid consulting. Contact Vivek moyal .
Classes: 7 packages by
Country: India India
Age: ???
All time rank: 48725 in India India
Week rank: 11 Up2 in India India Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Files folder image Files  
File Role Description
Plain text file calculateDistance.php Class For calculating the distance of the given latitude and longitude
Accessible without login Plain text file index.php Example Example code for using the class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,350
This week:357Up
User Ratings User Comments (2)
 All time

For more information send a message to info at phpclasses dot org.