|
||||||||||
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. |
ICRS |
getCoordinateSystem()
Returns the native coordinate system this coverage is defined in. |
Envelope |
getEnvelope()
Returns the (spatial) domain of this coverage. |
RasterDataInfo |
getRasterDataInfo()
Returns available information on the raster data. |
RasterGeoReference |
getRasterReference()
|
ResolutionInfo |
getResolutionInfo()
Returns information about the possible sample resolutions of this coverage. |
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 |
setCoordinateSystem(ICRS crs)
|
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, getAsRaster, getColumns, getRows, getSubRaster, isSimpleRaster |
Methods inherited from class org.deegree.coverage.AbstractCoverage |
---|
destroy, extendEnvelope, getGeometryFactory, getLabel, getName, getSupplementProperties, init, 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 ResolutionInfo getResolutionInfo()
getResolutionInfo
in interface Coverage
getResolutionInfo
in class AbstractRaster
public TileContainer getTileContainer()
public Envelope getEnvelope()
Coverage
getEnvelope
in interface Coverage
getEnvelope
in class AbstractCoverage
public RasterGeoReference getRasterReference()
getRasterReference
in class AbstractRaster
public void setCoordinateSystem(ICRS crs)
setCoordinateSystem
in class AbstractCoverage
public ICRS getCoordinateSystem()
Coverage
getCoordinateSystem
in interface Coverage
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 sub raster, may not be null
public TiledRaster getSubRaster(Envelope env, BandType[] bands)
AbstractRaster
getSubRaster
in class AbstractRaster
env
- envelope of the sub raster, may not be null
bands
- to use for the given sub raster, if null
the bands of the instance shall be used.
public TiledRaster getSubRaster(Envelope env, BandType[] bands, RasterGeoReference.OriginLocation targetLocation)
getSubRaster
in class AbstractRaster
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |