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 An immutable property ( Read Only ).
|
|
bandLatitude An immutable property ( Read Only ).
|
|
datum An immutable property ( Read Only ).
|
|
en100k An immutable property ( Read Only ).
|
|
digraph An immutable property ( Read Only ).
|
|
easting An immutable property ( Read Only ).
|
|
northing An immutable property ( Read Only ).
|
|
zone An immutable property ( Read Only ).
|
|
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 |
bandAn immutable property (
|
bandLatitudeAn immutable property (
|
datumAn immutable property (
|
en100kAn immutable property (
|
digraphAn immutable property (
|
eastingAn immutable property (
|
northingAn immutable property (
|
zoneAn immutable property (
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Mar 16 12:12:52 2020 | http://epydoc.sourceforge.net |