public class CoverageReadRequest extends CoverageRequest
CoverageSource
.
Note that we are working with the assumption that the queried coverage has separable dimensions.
Modifier and Type | Field and Description |
---|---|
protected ReferencedEnvelope |
geographicArea
The requested area in geographic coordinates, which means the area in destination world space
which we want to get data for.
|
protected MathTransform2D |
gridToWorldTransform
The request
MathTransform2D which would map the pixel into the requested world area. |
protected Rectangle |
rasterArea
The requested area in the destination raster space.
|
Constructor and Description |
---|
CoverageReadRequest() |
Modifier and Type | Method and Description |
---|---|
Map<String,Set<?>> |
getAdditionalDomainsSubset() |
int[] |
getBands() |
Filter |
getFilter() |
BoundingBox |
getGeographicArea() |
MathTransform2D |
getGridToWorldTransform() |
RangeType |
getRangeSubset() |
Rectangle |
getRasterArea() |
SortedSet<DateRange> |
getTemporalSubset() |
Set<NumberRange<Double>> |
getVerticalSubset() |
void |
setAdditionalDomainsSubset(Map<String,Set<?>> additionalDomainsSubset) |
void |
setBands(int[] bands) |
void |
setDomainSubset(Rectangle rasterArea,
MathTransform2D gridToWorldTrasform,
CoordinateReferenceSystem crs) |
void |
setDomainSubset(Rectangle rasterArea,
ReferencedEnvelope worldArea) |
void |
setFilter(Filter filter) |
void |
setRangeSubset(RangeType value)
Set the range subset we are requesting.
|
void |
setTemporalSubset(SortedSet<DateRange> temporalSubset) |
void |
setVerticalSubset(Set<NumberRange<Double>> verticalSubset) |
getAdditionalParameters, getHandle, getHints, getName, setAdditionalParameters, setHandle, setHints, setName
protected Rectangle rasterArea
This field shall basically contain the screen dimension of the requested area in pixels.
protected ReferencedEnvelope geographicArea
protected MathTransform2D gridToWorldTransform
MathTransform2D
which would map the pixel into the requested world area.
Note that having a raster are and a world area is not enough, unless we have a simple scale-and-translate grid-to-workd transform.
public RangeType getRangeSubset()
getRangeSubset()
public void setDomainSubset(Rectangle rasterArea, MathTransform2D gridToWorldTrasform, CoordinateReferenceSystem crs) throws MismatchedDimensionException, TransformException
public void setDomainSubset(Rectangle rasterArea, ReferencedEnvelope worldArea)
org.geotools.coverage.io.CoverageReadRequest#setDomainSubset(java.awt.Rectangle,
org.opengis.geometry.BoundingBox, org.opengis.referencing.datum.PixelInCell)
public void setRangeSubset(RangeType value)
Note that a null RangeType
means get everything.
value
- public Set<NumberRange<Double>> getVerticalSubset()
getVerticalSubset()
public void setVerticalSubset(Set<NumberRange<Double>> verticalSubset)
org.geotools.coverage.io.CoverageReadRequest#setVerticalSubset(java.util.SortedSet)
public SortedSet<DateRange> getTemporalSubset()
getTemporalSubset()
public void setTemporalSubset(SortedSet<DateRange> temporalSubset)
setTemporalSubset(java.util.SortedSet)
public void setAdditionalDomainsSubset(Map<String,Set<?>> additionalDomainsSubset)
public Rectangle getRasterArea()
getRasterArea()
public BoundingBox getGeographicArea()
getGeographicArea()
public MathTransform2D getGridToWorldTransform()
getGridToWorldTransform()
public void setFilter(Filter filter)
public Filter getFilter()
public int[] getBands()
public void setBands(int[] bands)
Copyright © 1996–2019 Geotools. All rights reserved.