Pure Python implementation of geodetic (lat-/longitude) methods using
spherical trigonometry, transcribed from JavaScript originals by (C)
Chris Veness 2011-2016 published under the same MIT Licence**, see Latitude/Longitude.
|
areaOf(points,
radius=6371008.77141,
wrap=True)
Calculate the area of a spherical polygon where the sides of the
polygon are great circle arcs joining the points. |
|
|
|
intersection(start1,
bearing1,
start2,
bearing2,
height=None,
wrap=False,
LatLon=<class 'pygeodesy.sphericalTrigonometry.LatLon'>)
Compute the intersection point of two paths each defined by a start
point and an initial bearing. |
|
|
|
isPoleEnclosedBy(points,
wrap=False)
Test whether a pole is enclosed by a polygon defined by a list,
sequence, set or tuple of points. |
|
|
|
meanOf(points,
height=None,
LatLon=<class 'pygeodesy.sphericalTrigonometry.LatLon'>)
Compute the geographic mean of the supplied points. |
|
|
|
nearestOn2(point,
points,
radius=6371008.77141,
**options)
Locate the closest point on any segment between two consecutive
points of a path. |
|
|
|
perimeterOf(points,
closed=False,
radius=6371008.77141,
wrap=True)
Compute the perimeter of a polygon/-line defined by an array, list,
sequence, set or tuple of points. |
|
|