Home | Trees | Indices | Help |
|
---|
|
object --+ | named._Named --+ | named._NamedBase --+ | KTransverseMercator
Karney's C++ class TransverseMercator transcoded to pure Python, following is a partial copy of Karney's documentation.
Transverse Mercator projection based on Krüger's method which evaluates the projection and its inverse in terms of a series.
There's a singularity in the projection at phi = 0, lam - lam0 = +/- (1 - e) 90, about +/- 82.6 degrees for WGS84, where e is the eccentricity. Beyond this point, the series ceases to converge and the results from this method will be garbage. To be on the safe side, don't use this method if the angular distance from the central meridian exceeds (1 - 2e) x 90, about 75 degrees for the WGS84 ellipsoid.
Class ExactTransverseMercator is an alternative implementation of the projection using exact formulas which yield accurate (to 8 nm) results over the entire ellipsoid.
The ellipsoid parameters and the central scale are set in the
constructor. The central meridian (which is a trivial shift of the
longitude) is specified as the lon0
keyword argument of the
KTransverseMercator.forward and KTransverseMercator.reverse methods. The latitude of
origin is taken to be the equator. There is no provision in this class
for specifying a false easting or false northing or a different latitude
of origin. However these are can be simply included by the calling
function.
The KTransverseMercator.forward and KTransverseMercator.reverse methods also return the
meridian convergence gamma
and scale k
. The
meridian convergence is the bearing of grid North, the y
axis
, measured clockwise from true North.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
Properties | |
datum Get this rhumb's datum (Datum). |
|
ellipsoid | |
equatoradius | |
a | |
flattening | |
f | |
k0 Class property with a .name attribute.
|
|
lon0 Class property with a .name attribute.
|
|
raiser Class property with a .name attribute.
|
|
TMorder | |
Inherited from Inherited from |
Method Details |
New KTransverseMercator.
|
Forward projection, from geographic to transverse Mercator.
|
Set the central parallel and meridian.
|
Reverse projection, from transverse Mercator to geographic.
|
Return a
|
Property Details |
datumGet this rhumb's datum (Datum). |
ellipsoid
|
equatoradius
|
a
|
flattening
|
f
|
k0Class
|
lon0Class
|
raiserClass
|
TMorder
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Oct 22 17:06:21 2024 | http://epydoc.sourceforge.net |