reverse (self,
xyz,
y=None,
z=None,
**no_M)
|
|
Convert from geocentric (x, y, z) to geodetic (lat,
lon, height) transcribed from Chris Veness' JavaScript.
Uses B. R. Bowring’s formulation for μm precision in concise form: 'The accuracy of geodetic latitude and height
equations', Survey Review, Vol 28, 218, Oct 1985.
- Arguments:
xyz - Either an Ecef9Tuple, an (x, y, z) 3-tuple or
scalar ECEF x coordinate in
meter .
y - ECEF y coordinate in meter for
scalar xyz and
z .
z - ECEF z coordinate in meter for
scalar xyz and
y .
no_M - Rotation matrix M not available.
- Returns:
- An Ecef9Tuple
(x, y, z, lat, lon, height, C,
M, datum) with geodetic coordinates (lat, lon,
height) for the given geocentric ones (x, y,
z) , case C , EcefMatrix M always
None and datum if available.
- Raises:
- Overrides:
_EcefBase.reverse
|