PHP Classes

Geo Tools: Perform calculations with geographic coordinates

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-09-26 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 973 All time: 3,506 This week: 1,175Up
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
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: 36
All time rank: 2221
Week rank: 1559 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:973All time:3,506
 This week:0This week:1,175Up
 User Comments (1)  
1 year ago (Carlos Alberto)