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 'C'|..|'W'|'X' or
polar 'A'|'B'|'Y'|'Z' ) band letter
(str ).
|
|
bandLatitude Get the band latitude ( degrees90 ).
|
|
datum Get the datum (Datum). |
|
EN Get the 2-character grid EN digraph ( str ).
|
|
digraph Get the 2-character grid EN digraph ( str ).
|
|
en100k DEPRECATED, use property EN .
|
|
easting Gets the easting ( meter within grid tile).
|
|
eastingnorthing Get easting and northing (EasNor2Tuple (easting, northing) ).
|
|
isUPS Is this MGRS in a (polar) UPS zone ( bool ).
|
|
isUTM Is this MGRS in a (non-polar) UTM zone ( bool ).
|
|
northing Get the northing ( meter within grid tile).
|
|
northingBottom Get northing of the band bottom ( meter ), extended to
include entirety of bottom-most 100 km tile.
|
|
resolution Get the resolution ( meter ).
|
|
tile Get the MGRS grid tile size ( meter ).
|
|
zone Get the longitudinal zone ( int , 1..60 or 0 for
polar).
|
|
zoneB Get the longitudinal zone digits and latitudinal band letter ( str ).
|
|
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 UPS coordinate.
|
Convert this MGRS grid reference to a UTM coordinate.
|
Convert this MGRS grid reference to a UTM or UPS coordinate.
|
Property Details |
bandGet the latitudinal
|
bandLatitudeGet the band latitude (
|
datumGet the datum (Datum).
|
ENGet the 2-character grid EN digraph (
|
digraphGet the 2-character grid EN digraph (
|
en100kDEPRECATED, use property
|
eastingGets the easting (
|
eastingnorthingGet easting and northing (EasNor2Tuple
|
isUPSIs this MGRS in a (polar) UPS zone (
|
isUTMIs this MGRS in a (non-polar) UTM zone (
|
northingGet the northing (
|
northingBottomGet northing of the band bottom (
|
resolutionGet the resolution (
|
tileGet the MGRS grid tile size (
|
zoneGet the longitudinal zone (
|
zoneBGet the longitudinal zone digits and latitudinal band
letter (
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Jul 24 11:09:52 2022 | http://epydoc.sourceforge.net |