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 ).
|
|
northing Get the northing ( 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 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' |
Return a string representation of this MGRS grid reference.
|
Convert this MGRS grid reference to a UTM coordinate.
Example: >>> m = Mgrs('31U', 'DQ', 448251, 11932) >>> u = m.toUtm() # 31 N 448251 5411932 |
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 (
|
northingGet the northing (
|
zoneGet the longitudal zone (
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Jan 23 18:51:20 2020 | http://epydoc.sourceforge.net |