org.deegree.coverage
Class AbstractCoverage

java.lang.Object
  extended by org.deegree.coverage.AbstractCoverage
All Implemented Interfaces:
Coverage
Direct Known Subclasses:
AbstractRaster, MultiResolutionRaster

public abstract class AbstractCoverage
extends java.lang.Object
implements Coverage

This class represents an abstract coverage.

Version:
$Revision: 24626 $, $Date: 2010-05-27 17:58:36 +0200 (Do, 27. Mai 2010) $
Author:
Oliver Tonnhofer, last edited by: $Author: rbezema $

Constructor Summary
AbstractCoverage()
          Instantiate an AbstractCoverage with no envelope and no rangeset.
AbstractCoverage(Envelope envelope)
          Instantiate an AbstractCoverage with given envelope.
AbstractCoverage(Envelope envelope, SupplementProperties supplementProperties)
          Instantiate an AbstractCoverage with given envelope, rangeset and SupplementProperties.
 
Method Summary
protected  void extendEnvelope(Envelope envelope)
          Extend the envelope of the coverage.
 CRS getCoordinateSystem()
          Returns the native coordinate system this coverage is defined in.
 Envelope getEnvelope()
          Returns the (spatial) domain of this coverage.
protected  GeometryFactory getGeometryFactory()
           
 java.lang.String getLabel()
           
 java.lang.String getName()
           
 SupplementProperties getSupplementProperties()
           
 void setCoordinateSystem(CRS crs)
           
protected  void setEnvelope(Envelope envelope)
           
 void setLabel(java.lang.String label)
           
 void setName(java.lang.String name)
           
 void setSupplementProperties(SupplementProperties supplementProperties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.deegree.coverage.Coverage
getAsRaster, getResolutionInfo
 

Constructor Detail

AbstractCoverage

public AbstractCoverage()
Instantiate an AbstractCoverage with no envelope and no rangeset.


AbstractCoverage

public AbstractCoverage(Envelope envelope)
Instantiate an AbstractCoverage with given envelope.

Parameters:
envelope - The envelope of the coverage.

AbstractCoverage

public AbstractCoverage(Envelope envelope,
                        SupplementProperties supplementProperties)
Instantiate an AbstractCoverage with given envelope, rangeset and SupplementProperties.

Parameters:
envelope - The envelope of the coverage.
supplementProperties - allows the possibility to add general objects to this Coverage.
Method Detail

getGeometryFactory

protected GeometryFactory getGeometryFactory()
Returns:
GeometryFactory for creation of envelopes, etc.

getEnvelope

public Envelope getEnvelope()
Description copied from interface: Coverage
Returns the (spatial) domain of this coverage.

Specified by:
getEnvelope in interface Coverage
Returns:
The envelope of the coverage.

setEnvelope

protected void setEnvelope(Envelope envelope)
Parameters:
envelope - New envelope for the coverage.

extendEnvelope

protected void extendEnvelope(Envelope envelope)
Extend the envelope of the coverage. The new envelope of the coverage will contain the old and the given envelope.

Parameters:
envelope - Envelope to add.

getCoordinateSystem

public CRS getCoordinateSystem()
Description copied from interface: Coverage
Returns the native coordinate system this coverage is defined in.

Specified by:
getCoordinateSystem in interface Coverage
Returns:
the coordinate system of the raster

setCoordinateSystem

public void setCoordinateSystem(CRS crs)
Parameters:
crs -

getName

public java.lang.String getName()
Returns:
the name

setName

public void setName(java.lang.String name)
Parameters:
name - the name to set

getLabel

public java.lang.String getLabel()
Returns:
the label

setLabel

public void setLabel(java.lang.String label)
Parameters:
label - the label to set

getSupplementProperties

public final SupplementProperties getSupplementProperties()
Returns:
the supplementProperties

setSupplementProperties

public final void setSupplementProperties(SupplementProperties supplementProperties)
Parameters:
supplementProperties - the supplementProperties to set


Copyright © 2011. All Rights Reserved.