Home | Trees | Indices | Help |
|
---|
|
object --+ | named._Named --+ | named._NamedBase --+ | Osgr
Ordinance Survey Grid References (OSGR) coordinate.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
Properties | |
datum | |
easting | |
northing | |
Inherited from Inherited from |
Method Details |
New Osgr National Grid Reference.
Example: >>> from pygeodesy import Osgr >>> r = Osgr(651409, 313177) |
Parse a string to an Osgr instance. For more details, see function parseOSGR in this module osgr. |
Convert this OSGR coordinate to an (ellipsoidal) geodetic point. Note formulation implemented here due to Thomas, Redfearn, etc. is as published by OS, but is inferior to Krüger as used by e.g. Karney 2011.
Example: >>> from pygeodesy import ellipsoidalVincenty as eV >>> g = Osgr(651409.903, 313177.270) >>> p = g.toLatLon(eV.LatLon) # 52°39′28.723″N, 001°42′57.787″E >>> # to obtain (historical) OSGB36 lat-/longitude point >>> p = g.toLatLon(eV.LatLon, datum=Datums.OSGB36) # 52°39′27.253″N, 001°43′04.518″E |
Return a string representation of this OSGR coordinate. Note that OSGR coordinates are truncated, not rounded (unlike UTM grid references).
Example: >>> r = Osgr(651409, 313177) >>> str(r) # TG 5140 1317 >>> r.toStr(prec=0) # 651409,313177 |
Return a string representation of this OSGR coordinate.
|
Property Details |
datum
|
easting
|
northing
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Mar 23 15:10:42 2020 | http://epydoc.sourceforge.net |