Test if a geometry is valid or not
Generates a bounding box around a GeoJSON feature.
a JavaScript library for performing geospatial operations with GeoJSON
Returns a cloned copy of the passed GeoJSON Object, including possible 'Foreign Members'.
Finds the angle formed by two adjacent segments.
Determines whether the second geometry is completely within the first geometry.
Polygonizes a set of lines that represents edges in a planar graph.
Calculates the geodesic area in square meters of one or more polygons.
A treeshaken subset of JSTS functions for use within
Determines whether the first geometry is completely within the second geometry.
Split a LineString by another GeoJSON Feature.
Takes a bounding box and calculates the minimum square bounding box that would contain the input.
Converts a bounding box to a GeoJSON polygon.
Creates line segments from a GeoJSON feature.
Determine whether each segment of a line is parallel to the correspondent segment of another line.
Takes two points and calculates a point midway between them geodesically.
Measures the straight-line distance between two points, like cities or landmarks.
Takes any number of features and returns a rectangular Polygon that encompasses all vertices.
Checks if the geometry is a valid according to the OGC Simple Feature Specification.
Takes input features and flips all of their coordinates.
Takes a grid of values (GeoJSON format) and a set of threshold ranges. It outputs polygons that group areas within those ranges, effectively creating filled contour isobands.
Group points into clusters based on their spatial proximity or properties.
Combines a FeatureCollection of Point, LineString, or Polygon features into MultiPoint, MultiLineString, or MultiPolygon features.
Takes a feature or set of features and returns all positions as points.