|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.coverage.AbstractCoverage org.deegree.coverage.raster.AbstractRaster org.deegree.coverage.raster.TiledRaster
public class TiledRaster
This class represents a tiled AbstractRaster. A TiledRaster contains multiple non-overlapping (TODO verify this) AbstractRasters
Constructor Summary | |
---|---|
TiledRaster(TileContainer tileContainer)
Creates a new TiledRaster with tiles from the given TileContainer |
Method Summary | |
---|---|
TiledRaster |
copy()
Creates a copy of the raster with all the data. |
SimpleRaster |
getAsSimpleRaster()
Returns the AbstractRaster as a SimpleRaster. |
CRS |
getCoordinateSystem()
|
Envelope |
getEnvelope()
|
RasterDataInfo |
getRasterDataInfo()
Returns available information on the raster data. |
RasterGeoReference |
getRasterReference()
|
TiledRaster |
getSubRaster(Envelope env)
Returns a subset of the raster, note this is a view on the given raster. |
TiledRaster |
getSubRaster(Envelope env,
BandType[] bands)
Returns a subset of the raster, note this is a view on the given raster. |
TiledRaster |
getSubRaster(Envelope env,
BandType[] bands,
RasterGeoReference.OriginLocation targetLocation)
Get a subraster which has it's origin location at the given location. |
TileContainer |
getTileContainer()
Returns the wrapper for all tiles. |
void |
setSubRaster(double x,
double y,
AbstractRaster source)
Sets the raster with data from source. |
void |
setSubRaster(double x,
double y,
int dstBand,
AbstractRaster source)
Sets a single band with data from source. |
void |
setSubRaster(Envelope envelope,
AbstractRaster source)
Sets the raster with data from source. |
void |
setSubRaster(Envelope env,
int dstBand,
AbstractRaster source)
Sets a single band with data from source. |
String |
toString()
|
Methods inherited from class org.deegree.coverage.raster.AbstractRaster |
---|
checkBounds, envelopeString, extendRasterReference, getColumns, getRows, getSubRaster, isSimpleRaster |
Methods inherited from class org.deegree.coverage.AbstractCoverage |
---|
extendEnvelope, getGeometryFactory, getLabel, getName, getSupplementProperties, setCoordinateSystem, setEnvelope, setLabel, setName, setSupplementProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TiledRaster(TileContainer tileContainer)
tileContainer
- wraps all tilesMethod Detail |
---|
public TileContainer getTileContainer()
public Envelope getEnvelope()
getEnvelope
in class AbstractCoverage
public RasterGeoReference getRasterReference()
getRasterReference
in class AbstractRaster
public CRS getCoordinateSystem()
getCoordinateSystem
in class AbstractCoverage
public TiledRaster copy()
AbstractRaster
copy
in class AbstractRaster
public TiledRaster getSubRaster(Envelope env)
AbstractRaster
getSubRaster
in class AbstractRaster
env
- envelope of the subset
public TiledRaster getSubRaster(Envelope env, BandType[] bands)
AbstractRaster
getSubRaster
in class AbstractRaster
env
- envelope of the subsetbands
- to use for the given subset.
public TiledRaster getSubRaster(Envelope env, BandType[] bands, RasterGeoReference.OriginLocation targetLocation)
env
- of the subrasterbands
- defining the bands of the sub rastertargetLocation
- the new origin's location definition.
public void setSubRaster(Envelope envelope, AbstractRaster source)
AbstractRaster
setSubRaster
in class AbstractRaster
envelope
- Envelope with the destination areasource
- data to copypublic void setSubRaster(double x, double y, AbstractRaster source)
AbstractRaster
setSubRaster
in class AbstractRaster
x
- left boundaryy
- upper boundarysource
- data to copypublic void setSubRaster(double x, double y, int dstBand, AbstractRaster source)
AbstractRaster
setSubRaster
in class AbstractRaster
x
- left boundaryy
- upper boundarydstBand
- selected destination bandsource
- data to copypublic void setSubRaster(Envelope env, int dstBand, AbstractRaster source)
AbstractRaster
setSubRaster
in class AbstractRaster
env
- destination areadstBand
- selected destination bandsource
- data to copypublic SimpleRaster getAsSimpleRaster()
AbstractRaster
getAsSimpleRaster
in class AbstractRaster
public String toString()
toString
in class AbstractRaster
public RasterDataInfo getRasterDataInfo()
AbstractRaster
getRasterDataInfo
in class AbstractRaster
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |