|
||||||||||
| 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.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()
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(CRS 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. |
java.lang.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 |
|---|
extendEnvelope, getGeometryFactory, getLabel, getName, getSupplementProperties, 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 tiles| Method Detail |
|---|
public ResolutionInfo getResolutionInfo()
getResolutionInfo in interface CoveragegetResolutionInfo in class AbstractRasterpublic TileContainer getTileContainer()
public Envelope getEnvelope()
Coverage
getEnvelope in interface CoveragegetEnvelope in class AbstractCoveragepublic RasterGeoReference getRasterReference()
getRasterReference in class AbstractRasterpublic void setCoordinateSystem(CRS crs)
setCoordinateSystem in class AbstractCoveragepublic CRS getCoordinateSystem()
Coverage
getCoordinateSystem in interface CoveragegetCoordinateSystem in class AbstractCoveragepublic TiledRaster copy()
AbstractRaster
copy in class AbstractRasterpublic TiledRaster getSubRaster(Envelope env)
AbstractRaster
getSubRaster in class AbstractRasterenv - envelope of the sub raster, may not be null
public TiledRaster getSubRaster(Envelope env,
BandType[] bands)
AbstractRaster
getSubRaster in class AbstractRasterenv - envelope of the sub raster, may not be nullbands - 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 AbstractRasterenv - 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 AbstractRasterenvelope - Envelope with the destination areasource - data to copy
public void setSubRaster(double x,
double y,
AbstractRaster source)
AbstractRaster
setSubRaster in class AbstractRasterx - left boundaryy - upper boundarysource - data to copy
public void setSubRaster(double x,
double y,
int dstBand,
AbstractRaster source)
AbstractRaster
setSubRaster in class AbstractRasterx - left boundaryy - upper boundarydstBand - selected destination bandsource - data to copy
public void setSubRaster(Envelope env,
int dstBand,
AbstractRaster source)
AbstractRaster
setSubRaster in class AbstractRasterenv - destination areadstBand - selected destination bandsource - data to copypublic SimpleRaster getAsSimpleRaster()
AbstractRaster
getAsSimpleRaster in class AbstractRasterpublic java.lang.String toString()
toString in class AbstractRasterpublic RasterDataInfo getRasterDataInfo()
AbstractRaster
getRasterDataInfo in class AbstractRaster
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||