Logo Search packages:      
Sourcecode: d-rats version File versions  Download package

Public Member Functions | Public Attributes | Static Public Attributes | Private Attributes

d_rats::geopy::distance::VincentyDistance Class Reference

Inheritance diagram for d_rats::geopy::distance::VincentyDistance:
Inheritance graph
[legend]
Collaboration diagram for d_rats::geopy::distance::VincentyDistance:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __add__
def __div__
def __mul__
def __nonzero__
def __sub__
def calculate
def feet
def forward_azimuth
def ft
def kilometers
def km
def mi
def miles
def nautical
def nm

Public Attributes

 a
 b
 final_bearing
 initial_bearing

Static Public Attributes

list ELLIPSOID = ELLIPSOIDS['WGS-84']

Private Attributes

 _kilometers

Detailed Description

Calculate the geodesic distance between two points using the formula
devised by Thaddeus Vincenty, with an accurate ellipsoidal model of the
earth.

The class attribute ``ELLIPSOID`` indicates which ellipsoidal model of the
earth to use. If it is a string, it is looked up in the ELLIPSOIDS
dictionary to obtain the major and minor semiaxes and the flattening.
Otherwise, it should be a tuple with those values. The most globally
accurate model is WGS-84. See the comments above the ELLIPSOIDS dictionary
for more information.

Definition at line 240 of file distance.py.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index