Home | Trees | Indices | Help |
|
---|
|
Ordnance Survey Grid References (OSGR) references on the UK National Grid.
Classes Osgr and OSGRError and functions parseOSGR and toOsgr.
A pure Python implementation, transcoded from Chris Veness' JavaScript originals OS National Grid and Module osgridref and Charles Karney's C++ class OSGB.
OSGR provides geocoordinate references for UK mapping purposes,
converted in 2015 to work with the WGS84
or the original
OSGB36
datum. In addition, this implementation includes
both the OS recommended and the Krüger-based method to convert between
OSGR and geodetic coordinates (with keyword argument kTM
of
function toOsgr, method Osgr.toLatLon and method toOsgr
of any
ellipsoidal LatLon
class).
See Transverse Mercator: Redfearn series, Karney's "Transverse Mercator with an accuracy of a few nanometers", 2011 (building on "Konforme Abbildung des Erdellipsoids in der Ebene", 1912, "Die Mathematik der Gauß-Krueger-Abbildung", 2006, A Guide and Ordnance Survey National Grid.
Version: 24.08.13
Classes | |
OSGRError Error raised for a parseOSGR, Osgr or other OSGR issue. |
|
Osgr Ordnance Survey Grid References (OSGR) coordinates on the National Grid. |
Functions | |||
|
|||
|
Variables | |
__all__ = _ALL_LAZY.osgr
|
Function Details |
Parse a string representing an OS Grid Reference, consisting of
Accepts standard OS Grid References like "SU 387 148", with or without whitespace separators, from 2- up to 22-digit references, or all-numeric, comma-separated references in meters, for example "438700,114800".
|
Convert a lat-/longitude point to an OSGR coordinate.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Oct 22 17:06:19 2024 | http://epydoc.sourceforge.net |