deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.model.coverage.grid
Interface GridCoverage

All Superinterfaces:
Coverage
All Known Implementing Classes:
AbstractGridCoverage, ByteGridCoverage, FloatGridCoverage, ImageGridCoverage, ShortGridCoverage

public interface GridCoverage
extends Coverage

Represent the basic implementation which provides access to grid coverage data. A GridCoverage implementation may provide the ability to update grid values.

Version:
Grid Coverage specification 1.0, $Revision: 20326 $, $Date: 2009-10-22 18:41:56 +0200 (Do, 22 Okt 2009) $
Author:
OpenGIS® consortium, last edited by: $Author: mschneider $
See Also:
RenderedImage, PixelAccessor

Method Summary
 GridGeometry getGridGeometry()
          Information for the grid coverage geometry.
 Coverage getSource(int sourceDataIndex)
          Returns the source data for a grid coverage.
 boolean isDataEditable()
          Returns true if grid data can be edited.
 
Methods inherited from interface org.deegree.model.coverage.Coverage
getCoordinateReferenceSystem, getDimensionNames, getEnvelope, getMetadataNames, getMetadataValue, getNumSampleDimensions, getNumSources, getRenderableImage, getSampleDimension
 

Method Detail

isDataEditable

boolean isDataEditable()
Returns true if grid data can be edited.

Returns:
true if grid data can be edited.

getGridGeometry

GridGeometry getGridGeometry()
Information for the grid coverage geometry. Grid geometry includes the valid range of grid coordinates and the georeferencing.

Returns:
The information for the grid coverage geometry.

getSource

Coverage getSource(int sourceDataIndex)
                   throws java.lang.IndexOutOfBoundsException
Returns the source data for a grid coverage. If the GridCoverage was produced from an underlying dataset (by read(...) for instance) the getNumSources() method should returns zero, and this method should not be called. If the GridCoverage was produced using {link org.opengis.coverage.processing.GridCoverageProcessor} then it should return the source grid coverage of the one used as input to GridCoverageProcessor. In general the getSource(i) method is intended to return the original GridCoverage on which it depends. This is intended to allow applications to establish what GridCoverages will be affected when others are updated, as well as to trace back to the "raw data".

Specified by:
getSource in interface Coverage
Parameters:
sourceDataIndex - Source grid coverage index. Indexes start at 0.
Returns:
The source data for a grid coverage.
Throws:
java.lang.IndexOutOfBoundsException - if sourceDataIndex is out of bounds.
See Also:
Coverage.getNumSources(), "org.opengis.coverage.grid.GridCoverage#getSource"

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org