Class Spatial

    • Constructor Detail

      • Spatial

        public Spatial()
        Constructor
    • Method Detail

      • getBbox

        public List<List<Double>> getBbox()
        Get the bounding box collection
        Returns:
        bounding box collection
        Since:
        3.0.0
      • setBbox

        public void setBbox​(List<List<Double>> bbox)
        Set the bounding box collection
        Parameters:
        bbox - bounding box collection
        Since:
        3.0.0
      • bboxCount

        public int bboxCount()
        Get the bounding box collection count
        Returns:
        count
        Since:
        3.0.0
      • firstBbox

        public List<Double> firstBbox()
        Get the first bounding box
        Returns:
        bounding box
        Since:
        3.0.0
      • getBbox

        public List<Double> getBbox​(int index)
        Get the bounding box at the index
        Parameters:
        index - 0 based index
        Returns:
        bounding box
        Since:
        3.0.0
      • addBbox

        public void addBbox​(List<Double> bbox)
        Add a bounding box
        Parameters:
        bbox - single bounding box
        Since:
        3.0.0
      • getCrs

        public String getCrs()
        Get the coordinate reference system
        Returns:
        coordinate reference system
      • setCrs

        public void setCrs​(String crs)
        Set the coordinate reference system
        Parameters:
        crs - coordinate reference system