Package org.geotools.coverage.io
Class CoverageReadRequest
Object
CoverageRequest
CoverageReadRequest
Request information from a
CoverageSource
.
Note that we are working with the assumption that the queried coverage has separable dimensions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ReferencedEnvelope
The requested area in geographic coordinates, which means the area in destination world space which we want to get data for.protected MathTransform2D
The requestMathTransform2D
which would map the pixel into the requested world area.protected Rectangle
The requested area in the destination raster space. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint[]
getBands()
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
void
setRangeSubset
(RangeType value) Set the range subset we are requesting.void
setTemporalSubset
(SortedSet<DateRange> temporalSubset) void
setVerticalSubset
(Set<NumberRange<Double>> verticalSubset) Methods inherited from class CoverageRequest
getAdditionalParameters, getHandle, getHints, getName, setAdditionalParameters, setHandle, setHints, setName
-
Field Details
-
rasterArea
The requested area in the destination raster space.This field shall basically contain the screen dimension of the requested area in pixels.
- UML property:
- name="rasterArea"
-
geographicArea
The requested area in geographic coordinates, which means the area in destination world space which we want to get data for.- UML property:
- name="geographicArea"
-
gridToWorldTransform
The requestMathTransform2D
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.
- UML property:
- name="gridToWorldTransform"
-
-
Constructor Details
-
CoverageReadRequest
public CoverageReadRequest()
-
-
Method Details
-
getRangeSubset
- See Also:
-
setDomainSubset
public void setDomainSubset(Rectangle rasterArea, MathTransform2D gridToWorldTrasform, CoordinateReferenceSystem crs) throws MismatchedDimensionException, TransformException -
setDomainSubset
- See Also:
-
org.geotools.coverage.io.CoverageReadRequest#setDomainSubset(java.awt.Rectangle, org.geotools.api.geometry.BoundingBox, org.geotools.api.referencing.datum.PixelInCell)
-
setRangeSubset
Set the range subset we are requesting.Note that a null
RangeType
means get everything.- UML property:
- name="rangeSubset"
-
getVerticalSubset
- See Also:
-
setVerticalSubset
- See Also:
-
org.geotools.coverage.io.CoverageReadRequest#setVerticalSubset(java.util.SortedSet)
-
getTemporalSubset
- See Also:
-
setTemporalSubset
- See Also:
-
getAdditionalDomainsSubset
-
setAdditionalDomainsSubset
-
getRasterArea
- See Also:
-
getGeographicArea
- See Also:
-
getGridToWorldTransform
- See Also:
-
setFilter
-
getFilter
-
getBands
public int[] getBands() -
setBands
public void setBands(int[] bands)
-