Home | Trees | Indices | Help |
|
---|
|
object --+ | bases.Base --+ | bases.LatLonHeightBase --+ | LatLonEllipsoidalBase
(INTERNAL) Base class for ellipsoidal LatLons.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
Properties | |
convergence Get this point's UTM meridian convergence (degrees) or None if not converted from Utm. |
|
datum Get this point's datum (Datum). |
|
isEllipsoidal Check whether this LatLon point is ellipsoidal (bool). |
|
isSpherical Check whether this LatLon point is spherical (bool). |
|
scale Get this point's UTM grid scale factor (float) or None if not converted from Utm. |
|
Inherited from Inherited from |
Method Details |
Create an (ellipsoidal) LatLon point frome the given lat-, longitude and height (elevation, altitude) on the given datum.
Example: >>> p = LatLon(51.4778, -0.0016) # height=0, datum=Datums.WGS84 |
Return the antipode, the point diametrically opposite to this point.
|
Convert this LatLon point to a new coordinate system.
Example: >>> pWGS84 = LatLon(51.4778, -0.0016) # default Datums.WGS84 >>> pOSGB = pWGS84.convertDatum(Datums.OSGB36) # 51.477284°N, 000.00002°E |
Copy this LatLon point.
|
Approximate the distance and bearing between this and an other (ellipsoidal) point based on the radii of curvature. Suitable only for short distances up to a few hundred Km or Miles and only between non-near-polar points.
See Also: Method Ellipsoid.distance2 and Local, Flat Earth. |
Return the ellipsoid of this point's datum or the given datum. |
Check the type and ellipsoid of this and an other point's datum.
|
Parse a string representing this LatLon point. The lat- and longitude must be separated by a sep[arator] character. If height is present it must follow and be separated by another sep[arator]. Lat- and longitude may be swapped, provided at least one ends with the proper compass direction. For more details, see functions parse3llh and parseDMS in sub-module dms.
|
Convert this (ellipsoidal) geodetic LatLon point to (geocentric) cartesian x/y/z components.
|
Convert this LatLon point to an OSGR coordinate. See function toOsgr in module osgr for details.
|
Convert this LatLon point to a UTM coordinate. See function toUtm in module utm for details.
|
Convert this LatLon point to a WM coordinate. See function toWm in module webmercator for details.
|
Property Details |
convergenceGet this point's UTM meridian convergence (degrees) or None if not converted from Utm.
|
datumGet this point's datum (Datum).
|
isEllipsoidalCheck whether this LatLon point is ellipsoidal (bool).
|
isSphericalCheck whether this LatLon point is spherical (bool).
|
scaleGet this point's UTM grid scale factor (float) or None if not converted from Utm.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jun 15 14:51:50 2018 | http://epydoc.sourceforge.net |