No Images Added Yet


Rated2.7/5 (27 ratings)
Add to Favorites
Perform distance calculations and conversions between Eastings, Northings and National Grid References.
Product Details

MyOSGB PHP Class is a simple lightweight PHP class written for PHP5. Its purpose is to simplify distance calculations between Eastings and Northings, National Grid References or a combination of all three. It can convert Eastings and Northings to National Grid References and vice-versa. All distance calculations are performed in miles, but there is an optional switch to change this to kilometers. It works exclusively on six digit (100 metre refrencing). Less than 6 will be padded with zeros, in order to force backwards compatibility between the different levels of refrencing. Grid refrences are genearted based on these different levels, but you can override this, if you wish to provide longer or shorter, albeit less accurate points of refrence, with or without spaces. This class is designed to work with the Ordnance Survey's National Grid referencing system only.

Report this Listing
Licence Type
Submitted on
2nd December 2011
Last Updated
3rd December 2011
Licence Type
License Price
Additional Info
GNU General Public License - Version 3

You May Also Like

User Reviews

Please rate the listing and tell the world know what do you think about the listing.
(27 ratings)
Average User Rating: 2.7/5
No reviews found.
Not yet reviewed by any member. You can be the first one to write a review for this listing.Click hereto submit your review.