Package-level declarations
GeoJSON feature conversion utilities including combine, explode, and geometry/property mapping.
Functions
Combines a GeometryCollection of Point, LineString, or Polygon features into MultiPoint, MultiLineString, or MultiPolygon features.
Returns a FeatureCollection by applying mapGeometry to each feature in this collection.
Transforms the properties of all features in a FeatureCollection using the provided transform function.
Transforms the properties of a Feature using the provided transform function.
Converts a GeometryCollection to a FeatureCollection by wrapping each geometry in a feature.
Converts a FeatureCollection to a GeometryCollection by extracting all geometries from the features.
Converts a LineString to a MultiLineString containing the single line string.
Converts a Polygon to a MultiLineString by extracting its rings as line strings.
Converts a MultiPolygon to a GeometryCollection of MultiLineStrings by extracting each polygon's rings as MultiLineStrings.
Converts a Point to a MultiPoint containing the single point.
Converts a Polygon to a MultiPolygon containing the single polygon.
Converts a GeometryCollection of LineStringGeometry to a MultiPolygon by converting each contained geometry using toPolygon.
Converts a LineStringGeometry to a Polygon. The largest (or first, if autoOrder is false) LineString becomes the outer shell of the polygon, and subsequent line strings (if the receiver is MultiLineString become holes in the polygon.