osgb 0.2

Inter-conversion of OSGB references and lon-lats
Many geospatial locations within the UK (United Kingdom) are given with the (accurate but peculiar to the UK) Ordnance Survey system. This module presents functions for converting between these and the most widely spread longitude-latitude system.

Usage:


osgb provides two primary functions, osgb_to_lonlat and lonlat_to_osgb, which are imported into the top of this package. Some of the intermediate conversions are provided for those who may find them useful (e.g. for working in eastings-northings).

Caveats and bugs:

By convention, longitude and latitude are referred and used in that order.

Note that the lon-lats are returned are OSGB36 (not the more modern WGS84), as that is the system OSGB is based upon. The difference should be minimal (i.e. less than 100 metres). For example, the OS grid reference TM114 525 (just outside Ipswich) should convert to the lon-lat 1.088975 52.129892 in OSGB36, which is 1.087203 52.130350 in WGS84.

last updated on:
February 11th, 2009, 4:59 GMT
price:
FREE!
developed by:
Paul-Michael Agapow
license type:
BSD License 
category:
ROOT \ Science

FREE!

In a hurry? Add it to your Download Basket!

user rating 1

UNRATED
1.0/5
 

0/5

Add your review!

SUBMIT