Formulary of basic geodesy functions and approximations.
|
antipode(lat,
lon)
Return the antipode, the point diametrically opposite to a given
point. |
|
|
|
bearing(lat1,
lon1,
lat2,
lon2,
**options)
Compute the initial or final bearing (forward or reverse azimuth)
between a (spherical) start and end point. |
|
|
|
bearing_(a1,
b1,
a2,
b2,
final=False,
wrap=False)
Compute the initial or final bearing (forward or reverse azimuth)
between a (spherical) start and end point. |
|
|
|
compassAngle(lat1,
lon1,
lat2,
lon2,
adjust=True,
wrap=False)
Return the angle from North for the direction vector (lon2 - lon1, lat2 - lat1) between two points. |
|
|
|
|
|
|
|
euclidean(lat1,
lon1,
lat2,
lon2,
radius=6371008.77141,
adjust=True,
wrap=False)
Approximate the Euclidian distance between two
(spherical) points. |
|
|
|
euclidean_(a2,
a1,
b21,
adjust=True)
Approximate the angular Euclidean distance
between two (spherical) points. |
|
|
|
haversine(lat1,
lon1,
lat2,
lon2,
radius=6371008.77141,
wrap=False)
Compute the distance between two (spherical) points using the Haversine formula. |
|
|
|
haversine_(a2,
a1,
b21)
Compute the angular distance between two (spherical) points
using the Haversine formula. |
|
|
|
heightOf(angle,
distance,
radius=6371008.77141)
Determine the height above the (spherical) earth after traveling
along a straight line at a given tilt. |
|
|
|
horizon(height,
radius=6371008.77141,
refraction=False)
Determine the distance to the horizon from a given altitude above the
(spherical) earth. |
|
|
|
isantipode(lat1,
lon1,
lat2,
lon2,
eps=2.22044604925e-16)
Check whether two points are antipodal, on diametrically opposite
sides of the earth. |
|
|
|
points2(points,
closed=True,
base=None,
Error=<type 'exceptions.ValueError'>)
Check a path or polygon represented by points. |
|
|
|
vincentys(lat1,
lon1,
lat2,
lon2,
radius=6371008.77141,
wrap=False)
Compute the distance between two (spherical) points using Vincenty's spherical formula. |
|
|
|
vincentys_(a2,
a1,
b21)
Compute the angular distance between two (spherical) points
using Vincenty's spherical formula. |
|
|