| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
named._Named --+
|
named._NamedBase --+
|
Mgrs
Military Grid Reference System (MGRS/NATO) references, with method to convert to UTM coordinates.
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
| Properties | |
|
band Get the latitudinal band ( str, 'A'|'B'..'Y'|'Z').
|
|
|
bandLatitude Get the band latitude ( degrees90 or None).
|
|
|
datum Get the datum (Datum). |
|
|
en100k Get the 2-character grid EN digraph ( str).
|
|
|
digraph Get the 2-character grid EN digraph ( str).
|
|
|
easting Gets the easting ( meter).
|
|
|
eastingnorthing Get easting and northing (EasNor2Tuple (easting, northing)).
|
|
|
northing Get the northing ( meter).
|
|
|
resolution Get the resolution ( meter).
|
|
|
zone Get the longitudal zone ( int, 1..60).
|
|
|
Inherited from Inherited from |
|
| Method Details |
New Mgrs Military grid reference.
Example: >>> from pygeodesy import Mgrs >>> m = Mgrs('31U', 'DQ', 48251, 11932) # 31U DQ 48251 11932 |
Parse a string to a similar Mgrs instance. |
Convert this MGRS grid reference to a UTM coordinate.
See Also: Methods Mgrs.toUtm and Utm.toLatLon. |
Return a string representation of this MGRS grid reference.
|
Return a string representation of this MGRS grid reference. Note that MGRS grid references are truncated, not rounded (unlike UTM coordinates).
Example: >>> m = Mgrs(31, 'DQ', 48251, 11932, band='U') >>> m.toStr() # '31U DQ 48251 11932' |
Convert this MGRS grid reference to a UTM coordinate.
|
| Property Details |
bandGet the latitudinal band (
|
bandLatitudeGet the band latitude (
|
datumGet the datum (Datum).
|
en100kGet the 2-character grid EN digraph (
|
digraphGet the 2-character grid EN digraph (
|
eastingGets the easting (
|
eastingnorthingGet easting and northing (EasNor2Tuple
|
northingGet the northing (
|
resolutionGet the resolution (
|
zoneGet the longitudal zone (
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Aug 2 15:17:43 2021 | http://epydoc.sourceforge.net |