Class GeoJsonGeometryCollection

  • All Implemented Interfaces:
    Geometry

    public class GeoJsonGeometryCollection
    extends MultiGeometry
    A GeoJsonGeometryCollection geometry contains a number of GeoJson Geometry objects.
    • Constructor Detail

      • GeoJsonGeometryCollection

        public GeoJsonGeometryCollection​(java.util.List<Geometry> geometries)
        Creates a new GeoJsonGeometryCollection object
        Parameters:
        geometries - array of Geometry objects to add to the GeoJsonGeometryCollection
    • Method Detail

      • getType

        public java.lang.String getType()
        Gets the type of geometry. The type of geometry conforms to the GeoJSON 'type' specification.
        Returns:
        type of geometry
      • getGeometries

        public java.util.List<Geometry> getGeometries()
        Gets the stored Geometry objects
        Returns:
        stored Geometry objects