Class GeometryCollection


  • public final class GeometryCollection
    extends Geometry
    A representation of a GeoJSON GeometryCollection.
    Since:
    3.1
    • Constructor Detail

      • GeometryCollection

        public GeometryCollection​(List<? extends Geometry> geometries)
        Construct an instance with the given list of Geometry objects
        Parameters:
        geometries - the list of Geometry objects
      • GeometryCollection

        public GeometryCollection​(@Nullable
                                  CoordinateReferenceSystem coordinateReferenceSystem,
                                  List<? extends Geometry> geometries)
        Construct an instance with the given list of Geometry objects
        Parameters:
        coordinateReferenceSystem - the coordinate reference system
        geometries - the list of Geometry objects