org.deegree.protocol.wms.raster
Class WMSRaster

java.lang.Object
  extended by org.deegree.coverage.AbstractCoverage
      extended by org.deegree.coverage.raster.AbstractRaster
          extended by org.deegree.coverage.raster.SimpleRaster
              extended by org.deegree.protocol.wms.raster.WMSRaster
All Implemented Interfaces:
Resource, Coverage

public class WMSRaster
extends SimpleRaster

TODO add class documentation here

Version:
$Revision: 29300 $, $Date: 2011-01-14 10:29:35 +0100 (Fri, 14 Jan 2011) $
Author:
Rutger Bezema, last edited by: $Author: aschmitz $

Constructor Summary
WMSRaster(RasterData raster, Envelope envelope, RasterGeoReference rasterReference)
           
WMSRaster(SimpleRaster createdRaster)
           
 
Method Summary
 SimpleRaster copy()
          Creates a copy of the raster with all the data.
 SimpleRaster createCompatibleSimpleRaster()
          Creates a new empty writable SimpleRaster with same size, DataType and InterleaveType.
 SimpleRaster createCompatibleSimpleRaster(BandType[] bands)
          Creates a SimpleRaster with same size, DataType and InterleaveType
 SimpleRaster createCompatibleSimpleRaster(RasterGeoReference rEnv, Envelope env)
          Creates a new empty SimpleRaster with same DataType and InterleaveType.
 FeatureType getFeatureType()
           
 
Methods inherited from class org.deegree.coverage.raster.SimpleRaster
dispose, getAsSimpleRaster, getBand, getBands, getBandTypes, getColumns, getRasterData, getRasterDataInfo, getReadOnlyRasterData, getRows, getSubRaster, getSubRaster, getSubRaster, getSubRaster, isSimpleRaster, setSubRaster, setSubRaster, setSubRaster, setSubRaster, toString
 
Methods inherited from class org.deegree.coverage.raster.AbstractRaster
checkBounds, envelopeString, extendRasterReference, getAsRaster, getRasterReference, getResolutionInfo
 
Methods inherited from class org.deegree.coverage.AbstractCoverage
destroy, extendEnvelope, getCoordinateSystem, getEnvelope, getGeometryFactory, getLabel, getName, getSupplementProperties, init, setCoordinateSystem, setEnvelope, setLabel, setName, setSupplementProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WMSRaster

public WMSRaster(RasterData raster,
                 Envelope envelope,
                 RasterGeoReference rasterReference)
Parameters:
raster -
envelope -
rasterReference -

WMSRaster

public WMSRaster(SimpleRaster createdRaster)
Parameters:
createdRaster - to get the values from.
Method Detail

createCompatibleSimpleRaster

public SimpleRaster createCompatibleSimpleRaster(BandType[] bands)
Creates a SimpleRaster with same size, DataType and InterleaveType

Overrides:
createCompatibleSimpleRaster in class SimpleRaster
Parameters:
bands - number of bands
Returns:
new empty SimpleRaster

createCompatibleSimpleRaster

public SimpleRaster createCompatibleSimpleRaster()
Creates a new empty writable SimpleRaster with same size, DataType and InterleaveType.

Overrides:
createCompatibleSimpleRaster in class SimpleRaster
Returns:
new empty SimpleRaster

createCompatibleSimpleRaster

public SimpleRaster createCompatibleSimpleRaster(RasterGeoReference rEnv,
                                                 Envelope env)
Creates a new empty SimpleRaster with same DataType and InterleaveType. Size is determined by the given envelope.

Overrides:
createCompatibleSimpleRaster in class SimpleRaster
Parameters:
rEnv - The raster envelope of the new SimpleRaster.
env - The boundary of the new SimpleRaster.
Returns:
A new empty SimpleRaster.

copy

public SimpleRaster copy()
Description copied from class: AbstractRaster
Creates a copy of the raster with all the data.

Overrides:
copy in class SimpleRaster
Returns:
A copy of the raster.

getFeatureType

public FeatureType getFeatureType()
Returns:
null


Copyright © 2011. All Rights Reserved.