PHP Classes

Geo Tools: Perform calculations with 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
StarStarStar 49%Total: 1,029 All time: 3,571 This week: 37Up
Version License PHP version Categories
geo-tools 1.0BSD License5PHP 5, Geography
Description 

Author

This class can perform several types of calculations with geographic coordinates.

It can take the longitude and latitude of two points in the Earth globe and perform calculations like the surface distance between those two points using the Havesine formula, the initial bearing angle.

The class can also mirror a bearing angle over the x or the y axis, or calculate of coordinates of a location that is at the distance of another location with a given bearing angle.

Innovation Award
PHP Programming Innovation award winner
September 2011
Winner
Geographic coordinates are very useful to determine the proximity of a set of different locations.

There are many solutions to determine the distance between two geographic locations from their coordinates.

The class goes further and implements other types of calculations that include for instance the bearing angle of lines that connect different locations.

Manuel Lemos
Picture of Menno Bieringa
Name: Menno Bieringa <contact>
Classes: 1 package by
Country: ???
Age: 45
All time rank: 2332
Week rank: 180 Up
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

  Files folder image Files (1)  
File Role Description
Plain text file class.GeoTools.php Class Main class

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:1,029
This week:0
All time:3,571
This week:37Up
User Ratings User Comments (1)
 All time
Utility:83%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:49%StarStarStar
Rank:2872
 
execent
11 years ago (Carlos Alberto)
57%StarStarStar