Military Grid Reference System (MGRS/NATO) references, with method to
convert to UTM coordinates.
|
__init__(self,
zone=0,
EN='',
easting=0,
northing=0,
band='',
datum=Datum(name='WGS84', ellipsoid=Ellipsoids.WGS84, transform=Tran... ,
resolution=0,
**name)
New Mgrs
Military grid reference. |
|
|
|
|
|
parse(self,
strMGRS,
**name)
Parse a string to a similar Mgrs instance. |
|
|
|
toLatLon(self,
LatLon=None,
center=True,
**toLatLon_kwds)
Convert this MGRS grid reference to a UTM coordinate. |
|
|
|
toRepr(self,
fmt='[%s]',
sep=', ',
**prec)
Return a string representation of this MGRS grid reference. |
|
|
|
toStr(self,
prec=0,
sep='')
Return this MGRS grid reference as a string. |
|
|
|
toUps(self,
Ups=<class 'pygeodesy.ups.Ups'>,
center=False)
Convert this MGRS grid reference to a UPS coordinate. |
|
|
|
toUtm(self,
Utm=<class 'pygeodesy.utm.Utm'>,
center=False)
Convert this MGRS grid reference to a UTM coordinate. |
|
|
|
toUtmUps(self,
Utm=<class 'pygeodesy.utm.Utm'>,
Ups=<class 'pygeodesy.ups.Ups'>,
center=False)
Convert this MGRS grid reference to a UTM or UPS coordinate. |
|
|
Inherited from named._NamedBase :
__repr__ ,
others
Inherited from named._Named :
__format__ ,
__imatmul__ ,
__matmul__ ,
__rmatmul__ ,
attrs ,
classof ,
copy ,
dup ,
methodname ,
rename ,
renamed ,
toStr2
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|
|
band
Get the latitudinal band 'C'|..|'X' (no
'I'|'O' ) or polar region
'A'|'B'|'Y'|'Z' ) letter (str ).
|
|
bandLatitude
Get the band latitude (degrees90 ).
|
|
datum
Get the datum (Datum).
|
|
digraph
DEPRECATED, use property EN .
|
|
EN
Get the 2-letter grid tile (str ).
|
|
en100k
DEPRECATED, use property EN .
|
|
easting
Get the easting (meter within grid tile).
|
|
eastingnorthing
Get easting and northing (EasNor2Tuple(easting, northing) )
within the MGRS grid tile, both in meter .
|
|
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 the northing of the band bottom (meter ).
|
|
resolution
Get the MGRS resolution (meter , power of 10) or
0 if undefined.
|
|
tilesize
Get the MGRS grid tile size (meter ).
|
|
zone
Get the longitudinal zone (int ), 1..60 or 0 for
polar.
|
|
zoneB
Get the polar region letter or the longitudinal zone
digits plus latitudinal band letter (str ).
|
Inherited from named._Named :
classname ,
classnaming ,
iteration ,
name ,
named ,
named2 ,
named3 ,
named4 ,
sizeof
Inherited from object :
__class__
|