Class CoverageDataRequest
- java.lang.Object
-
- mil.nga.geopackage.extension.coverage.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 Summary
Constructors Constructor Description CoverageDataRequest(double latitude, double longitude)
ConstructorCoverageDataRequest(BoundingBox boundingBox)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BoundingBox
getBoundingBox()
Get the bounding boxBoundingBox
getProjectedBoundingBox()
Get the projected bounding boxboolean
isPoint()
Is the request for a single pointBoundingBox
overlap(BoundingBox projectedCoverage)
Get the bounding box overlap between the projected bounding box and the coverage data bounding boxvoid
setProjectedBoundingBox(BoundingBox projectedBoundingBox)
Set the projected bounding box
-
-
-
Constructor Detail
-
CoverageDataRequest
public CoverageDataRequest(BoundingBox boundingBox)
Constructor- Parameters:
boundingBox
- bounding box
-
CoverageDataRequest
public CoverageDataRequest(double latitude, double longitude)
Constructor- Parameters:
latitude
- latitude coordinatelongitude
- 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
-
-