Package org.geotools.gce.imagemosaic
Class SpatialRequestHelper
Object
SpatialRequestHelper
Helper class which takes coverage's spatial information input (CRS, bbox, resolution,...) and a set of request's
 parameters (requestedCRS, requestedBBox, requested resolution, ...) and takes care of computing all auxiliary spatial
 variables for future computations.
- Author:
- Daniele Romagnoli, GeoSolutions SAS
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructorsConstructorDescriptionSpatialRequestHelper(SpatialRequestHelper.CoverageProperties coverageProperties) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidcompute()Compute this specific request settings all the parameters needed by a visitingRasterLayerResponseobject.getComputedBBox(boolean useAlternativeIfAvailable) double[]getReferenceCRS(boolean useAlternativeIfAvailable) booleanbooleanisEmpty()booleanbooleanisNeedsReprojection(boolean useAlternativeIfAvailable) booleanvoidsetAccurateResolution(boolean accurateResolution) voidsetAlternativeProperties(SpatialRequestHelper.CoverageProperties alternativeProperties) Set an alternative coverageProperties object when supporting output to alternative CRS.voidsetRequestedGridGeometry(GridGeometry2D gridGeometry) voidsetSupportingAlternativeCRSOutput(boolean isSupportingAlternativeCRS) toString()
- 
Constructor Details- 
SpatialRequestHelper
 
- 
- 
Method Details- 
setAlternativePropertiesSet an alternative coverageProperties object when supporting output to alternative CRS.- Parameters:
- alternativeProperties-
 
- 
setRequestedGridGeometry
- 
computeCompute this specific request settings all the parameters needed by a visitingRasterLayerResponseobject.- Throws:
- DataSourceException
 
- 
isEmptypublic boolean isEmpty()
- 
isNeedsReprojectionpublic boolean isNeedsReprojection()
- 
isNeedsReprojectionpublic boolean isNeedsReprojection(boolean useAlternativeIfAvailable) 
- 
isAccurateResolutionpublic boolean isAccurateResolution()
- 
setAccurateResolutionpublic void setAccurateResolution(boolean accurateResolution) 
- 
getComputedResolutionpublic double[] getComputedResolution()
- 
getComputedRasterArea
- 
getComputedBBox
- 
getComputedBBox
- 
getCoverageBBox
- 
getReferenceCRS
- 
isSupportingAlternativeCRSOutputpublic boolean isSupportingAlternativeCRSOutput()
- 
setSupportingAlternativeCRSOutputpublic void setSupportingAlternativeCRSOutput(boolean isSupportingAlternativeCRS) 
- 
toString
- 
getComputedGridToWorld
 
-