GeometryCollection<E extends Geometry> constructor

GeometryCollection<E extends Geometry>(
  1. Iterable<E> geometries
)

Creates GeometryCollection from geometries.

Implementation

GeometryCollection(Iterable<E> geometries)
    : geometries = geometries is BoundedSeries<E>
          ? geometries
          : BoundedSeries.view(geometries);