Computes the distance between two geographic points on the WGS84 ellipsoid and the forward and backward azimuths between these points.
Parameters: |
|
---|---|
Returns: | (Great circle distance in m, azimuth A->B in degrees, azimuth B->A in degrees) |
Note
This function will check if you have installed the Python module geographiclib - a very fast module for converting between geographic, UTM, UPS, MGRS, and geocentric coordinates, for geoid calculations, and for solving geodesic problems. Otherwise the locally implemented Vincenty’s Inverse formulae (obspy.core.util.geodetics.calcVincentyInverse()) is used which has known limitations for two nearly antipodal points and is ca. 4x slower.