Class GeometryCollection

    • Constructor Detail

      • GeometryCollection

        public GeometryCollection()
        Constructor
      • GeometryCollection

        public GeometryCollection​(List<Geometry> geometries)
        Constructor
        Parameters:
        geometries - list of geometries
      • GeometryCollection

        public GeometryCollection​(GeometryCollection<Geometry> geometryCollection)
        Constructor
        Parameters:
        geometryCollection - simple geometry collection
    • Method Detail

      • getGeometry

        public Geometry getGeometry()
        Get the simple geometry
        Specified by:
        getGeometry in class Geometry
        Returns:
        simple geometry
      • getGeometries

        public List<Geometry> getGeometries()
        Returns geometries as a GeoJSON Geometry list
        Returns:
        the geometries
      • setGeometries

        public void setGeometries​(List<Geometry> geometries)
        Sets the geometries from a GeoJSON Geometry list
        Parameters:
        geometries - list of geometries
        Since:
        3.0.0
      • getGeometryCollection

        public GeometryCollection<Geometry> getGeometryCollection()
        Get the simple features geometry collection
        Returns:
        geometry collection
        Since:
        3.0.0
      • setGeometryCollection

        public void setGeometryCollection​(GeometryCollection<Geometry> geometryCollection)
        Set the simple features geometry collection
        Parameters:
        geometryCollection - geometry collection
        Since:
        3.0.0