|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.coverage.AbstractCoverage
org.deegree.coverage.raster.MultiResolutionRaster
public class MultiResolutionRaster
This class represents a collection of AbstractRaster instances that describe the same spatial region, but
with different resolutions.
| Constructor Summary | |
|---|---|
MultiResolutionRaster()
Create an empty multi resolution raster. |
|
| Method Summary | |
|---|---|
void |
addRaster(AbstractRaster raster)
Adds a raster to the MultiResolution Pyramid |
AbstractRaster |
getAsRaster(Envelope spatialExtent,
SampleResolution resolution,
InterpolationType interpolation)
Get a rasterized extent of this coverage by applying the given sample resolution to the given spatial extent of the coverage and applying the given interpolation if needed. |
Envelope |
getEnvelope()
Returns the (spatial) domain of this coverage. |
AbstractRaster |
getRaster(double res)
Returns the best-fitting raster for a given resolution. |
ResolutionInfo |
getResolutionInfo()
Returns information about the possible sample resolutions of this coverage. |
java.util.List<java.lang.Double> |
getResolutions()
Returns a list with the highest resolution of every level. |
AbstractRaster |
getSubset(Envelope envelope,
double resolution)
Returns a subset of the raster for a given resolution. |
| Methods inherited from class org.deegree.coverage.AbstractCoverage |
|---|
extendEnvelope, getCoordinateSystem, getGeometryFactory, getLabel, getName, getSupplementProperties, setCoordinateSystem, setEnvelope, setLabel, setName, setSupplementProperties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultiResolutionRaster()
| Method Detail |
|---|
public void addRaster(AbstractRaster raster)
raster - raster to be added to the MultiResolutionRasterpublic AbstractRaster getRaster(double res)
res - resolution in world units per pixel
null if no rasters were definedpublic Envelope getEnvelope()
Coverage
getEnvelope in interface CoveragegetEnvelope in class AbstractCoverage
public AbstractRaster getSubset(Envelope envelope,
double resolution)
getRaster(double).
envelope - envelope of the subsetresolution - resolution in world units per pixel
getRaster(double)public java.util.List<java.lang.Double> getResolutions()
public AbstractRaster getAsRaster(Envelope spatialExtent,
SampleResolution resolution,
InterpolationType interpolation)
Coverage
spatialExtent - the area of interest of resulting rasterresolution - the resolution to use for sampling the given extent.interpolation - the interpolation to use, if the resolution does not match the 'native' resolution of the coverage.
public ResolutionInfo getResolutionInfo()
Coverage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||