__init__ (self,
zone,
hemisphere,
easting,
northing,
band='',
datum=Datum(name='WGS84', ellipsoid=Ellipsoids.WGS84, transform=Tran... ,
falsed=True,
convergence=None,
scale=None,
name='')
(Constructor)
|
|
New Etm
coordinate.
- Arguments:
zone - Longitudinal UTM zone (int , 1..60) or zone with/-out
latitudinal Band letter (str ,
'01C'|..|'60X').
hemisphere - Northern or southern hemisphere (str ,
'N[orth]' or 'S[outh]' ).
easting - Easting, see falsed (meter ).
northing - Northing, see falsed (meter ).
band - Optional, latitudinal band (str , 'C'|..|'X').
datum - Optional, this coordinate's datum (Datum,
Ellipsoid, Ellipsoid2 or a_f2Tuple).
falsed - If True , both easting and
northing are falsed
(bool ).
convergence - Optional meridian convergence, bearing off grid North, clockwise
from true North (degrees ) or None .
scale - Optional grid scale factor (scalar ) or
None .
name - Optional name (str ).
- Raises:
ETMError - Invalid zone , hemishere or
band or near-spherical
datum or ellipsoid .
TypeError - Invalid or near-spherical datum .
- Overrides:
object.__init__
Example:
>>> import pygeodesy
>>> u = pygeodesy.Etm(31, 'N', 448251, 5411932)
|