PHP Classes

Geo Tools: Perform calculations with geographic coordinates

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 49%Total: 1,027 This week: 1All time: 3,576 This week: 560Up
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: 2334
Week rank: 416 Up
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,027
This week:1
All time:3,576
This week:560Up
User Ratings User Comments (1)
 All time
Utility:83%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:49%StarStarStar
Rank:2828
 
execent
10 years ago (Carlos Alberto)
57%StarStarStar