PHP Classes
elePHPant
Icontem

jlaso GPS: Calculate the distance between geographic points

Recommend this page to a friend!
  Info   View files Documentation   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2015-03-29 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 368 All time: 6,575 This week: 664Up
Version License PHP version Categories
gps 0.2MIT/X Consortium ...5.3PHP 5, Geography
Description Author

This class can calculate the distance between geographic points.

It takes as parameters the latitude and longitude coordinates of two locations on the planet.

The class calculates the distance in kilometers that would need to be traversed between the two locations on the planet surface. The distance can also be converted into miles.

  Performance   Level  
Name: Joseluis Laso <contact>
Classes: 16 packages by
Country: Spain Spain
Age: 49
All time rank: 104520 in Spain Spain
Week rank: 119 Up7 in Spain Spain Up
Innovation award
Innovation award
Nominee: 6x

Winner: 2x

Details

License Latest Unstable Version Total Downloads Latest Stable Version

jlaso/gps

> gps related tools

I intent in this repo to have togheter all my gps tools that I need for my projects

- distance calculation between two gps points

Required PHP7

Version

1.1

Authors

  • [Joseluis Laso] - <jlaso@joseluislaso.es>

Installation

To use the tools of this repo only has to be required in your composer.json:

{
   "require":{
      "jlaso/gps": "dev-master"
   }
}

Use

Simply use the classes in it.

Tests

You can launch the test with phpunit.

License

MIT

[Joseluis Laso]:http://www.joseluislaso.es/

  Files folder image Files  
File Role Description
Files folder imagesrc (2 files)
Files folder imagetests (1 file, 1 directory)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
  Plain text file Point.php Class Class source
  Plain text file Tools.php Class Class source

  Files folder image Files  /  tests  
File Role Description
Files folder imagedistance (2 files)
  Accessible without login Plain text file bootstrap.php Aux. Unit test script

  Files folder image Files  /  tests  /  distance  
File Role Description
  Accessible without login Plain text file ConversionTest.php Test Unit test script
  Accessible without login Plain text file DistanceTest.php Test Unit test script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:368
This week:0
All time:6,575
This week:664Up