Package-level declarations
Types
Result values from nearestPointOnLine.
Properties
Functions
Takes a LineString and returns a position at a specified distance along the line.
Takes a feature and calculates the bbox of the feature's geometry, and returns a bounding box.
Takes a feature collection and calculates a bbox that covers all features in the collection.
Takes a geometry and calculates the bbox of all input features, and returns a bounding box.
Takes a bbox and returns an equivalent Polygon.
Converts any bearing angle from the north line direction (positive clockwise) and returns an angle between 0-360 degrees (positive clockwise), 0 being the north line
Takes a Point and a MultiPolygon and determines if the point resides inside the polygon. The polygon can be convex or concave. The function accounts for holes.
Converts an area to the requested unit. Valid units: Acres, Miles, Inches, Yards, Meters, Kilometers, Centimeters, Feet
Converts a length to the requested unit
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.
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.
Convert a distance measurement (assuming a spherical Earth) from a real-world unit into degrees.
Convert a distance measurement (assuming a spherical Earth) from a real-world unit into radians.
Returns intersecting points between two LineStrings.
Takes a LineString, a start and a stop Position and returns a subsection of the line between those points. The start and stop points do not need to fall exactly on the line.
Finds the closest Position along a LineString to a given position
Finds the closest Position along a MultiLineString to a given position
Convert a distance measurement (assuming a spherical Earth) from radians to a more friendly unit.
Creates a square grid within a BoundingBox.