Position and coordinate computations#
Implementations for computations on coordinates.
This module holds all the implementations and wrappers to handle coordinate computations in this package.
A few of the most useful classes are lifted to the main package namespace. They should be accessed from there when used externally, but from here when used internally.
|
Class for single positions. |
|
A class representing a GPS track, which is a sequence of coordinates over time. |
|
Collect sensor information. |
Other coordinate wrappers#
|
Container for latitude and longitude. |
|
Container for arrays of coordinates. |
|
A simple line of coordinates. |
|
Representation of a bounding box. |
|
Container for sensor information. |
|
Container for sensor information, including position. |
|
Container for sensor information. |
|
Container for sensor information, with a single position for all. |
|
Container for sensor information, including positions. |
Unit conversions#
|
Convert nautical miles to meters. |
|
Convert meters to nautical miles. |
|
Convert meters per second to knots. |
|
Convert knots to kilometers per hour. |
|
Convert kilometers per hour to knots. |
|
Wrap an angle to (-180, 180]. |
|
Convert WGS84 latitude and longitude to UTM coordinates. |
|
Convert UTM coordinates to WGS84 coordinates. |
|
Convert WGS84 coordinates into a local transverse mercator projection. |
|
Convert local transverse mercator coordinates into WGS84. |
|
Convert WGS84 coordinates to Sweref99. |
|
Convert Sweref99 coordinates to WGS84. |
Geodesic computations#
|
Calculate the distance between two coordinates. |
|
Calculate the heading from one coordinate to another. |
|
Shifts a position given by latitude and longitude by a certain distance and bearing. |
|
Calculate the average angle and optionally round it to a specified resolution. |
|
Calculate the angle between two coordinates, as seen from a center vertex. |