Class CoverageDataRequest


  • public class CoverageDataRequest
    extends Object
    Coverage Data request to retrieve coverage data values for a point or bounding box
    Since:
    2.0.1
    Author:
    osbornb
    • Constructor Detail

      • CoverageDataRequest

        public CoverageDataRequest​(BoundingBox boundingBox)
        Constructor
        Parameters:
        boundingBox - bounding box
      • CoverageDataRequest

        public CoverageDataRequest​(double latitude,
                                   double longitude)
        Constructor
        Parameters:
        latitude - latitude coordinate
        longitude - longitude coordinate
    • Method Detail

      • getBoundingBox

        public BoundingBox getBoundingBox()
        Get the bounding box
        Returns:
        bounding box
      • isPoint

        public boolean isPoint()
        Is the request for a single point
        Returns:
        true if a point request
      • getProjectedBoundingBox

        public BoundingBox getProjectedBoundingBox()
        Get the projected bounding box
        Returns:
        projected bounding box
      • setProjectedBoundingBox

        public void setProjectedBoundingBox​(BoundingBox projectedBoundingBox)
        Set the projected bounding box
        Parameters:
        projectedBoundingBox - projected bounding box
      • overlap

        public BoundingBox overlap​(BoundingBox projectedCoverage)
        Get the bounding box overlap between the projected bounding box and the coverage data bounding box
        Parameters:
        projectedCoverage - projected coverage
        Returns:
        overlap bounding box