Class CoverageDataResults


  • public class CoverageDataResults
    extends Object
    Tiled Gridded Coverage Data results containing the coverage values from a requested area from a tile matrix zoom level
    Since:
    2.0.1
    Author:
    osbornb
    • Constructor Detail

      • CoverageDataResults

        public CoverageDataResults​(Double[][] values,
                                   TileMatrix tileMatrix)
        Constructor
        Parameters:
        values - coverage data values
        tileMatrix - tile matrix
    • Method Detail

      • getValues

        public Double[][] getValues()
        Get the double array of coverage data values stored as [row][column]
        Returns:
        coverage data values
      • getTileMatrix

        public TileMatrix getTileMatrix()
        Get the tile matrix used to find the coverage data values
        Returns:
        tile matrix
      • getHeight

        public int getHeight()
        Get the results height
        Returns:
        height
      • getWidth

        public int getWidth()
        Get the results width
        Returns:
        width
      • getValue

        public Double getValue​(int row,
                               int column)
        Get the coverage data value at the row and column
        Parameters:
        row - row index
        column - column index
        Returns:
        coverage data value
      • getZoomLevel

        public long getZoomLevel()
        Get the zoom level of the results
        Returns:
        zoom level