Package-level declarations
Functions
Takes a LineString and returns a position at a specified distance along the line.
Takes a feature collection and calculates a bbox that covers all features in the collection.
Takes a feature and calculates the bbox of the feature's geometry, and returns a bounding box.
Takes a geometry and calculates the bbox of all input features, and returns a bounding box.
Takes a bbox and returns an equivalent Polygon.
Takes a position and calculates the location of a destination position given a distance in degrees, radians, miles, or kilometers; and bearing in degrees. This uses the Haversine formula to account for global curvature.
Calculate great circles routes as LineString. Raises error when start and end are antipodes.
Calculates the length of the given LineString in the given Units.
Calculates the combined length of all LineStrings from the given MultiLineString in the given Units.
Calculates the combined length of perimeter the Polygons in the MultiPolygon in the given Units. Any holes in the polygons will be included in the length.
Takes a Feature or FeatureCollection and returns a Point guaranteed to be on the surface of the feature.
Calculates the distance between a given point and the nearest point on a line. Sometimes referred to as the cross track distance.
Takes two positions and finds the bearing angle between them along a Rhumb line i.e. the angle measured in degrees start the north line (0 degrees)
Calculates the distance along a rhumb line between two points in degrees, radians, miles, or kilometers.
Takes a bounding box and calculates the minimum square bounding box that would contain the input.