org.deegree.coverage
Interface Coverage

All Superinterfaces:
Resource
All Known Implementing Classes:
AbstractCoverage, AbstractRaster, MultiRangedRaster, MultiResolutionRaster, SimpleRaster, TiledRaster, WMSRaster

public interface Coverage
extends Resource

A Coverage, as defined by the OGC and ISO/TC 211, is a function describing the distribution of some set of properties over a spatial-temporal region. It is a mathematical function from a spatial-temporal set (called the domain of a function) to some value set (called the range of the function).

Coverage are not always gridded data. Although a Coverage might be based on a grid (e.g. a Raster) or a rectified grid, it might also be based on a collection of curves, triangles or other geometries. Common examples of coverages include remotely sensed images and aerial photographs, as well as soil, rock type, temperature and elevation distributions. From GML-Geography Mark-Up Language, by Ron Lake et. all (Wiley & sons Ltd., published 2004) page 234/235.

The above idea is captured by this Interface, to get a sampled part of the coverage the getAsRaster method can be used.

Version:
$Revision: 31644 $, $Date: 2011-08-24 22:27:43 +0200 (Wed, 24 Aug 2011) $
Author:
Rutger Bezema, last edited by: $Author: mschneider $

Method Summary
 AbstractRaster getAsRaster(Envelope spatialExtent, SampleResolution resolution, InterpolationType interpolation)
          Get a rasterized extent of this coverage by applying the given sample resolution to the given spatial extent of the coverage and applying the given interpolation if needed.
 ICRS getCoordinateSystem()
          Returns the native coordinate system this coverage is defined in.
 Envelope getEnvelope()
          Returns the (spatial) domain of this coverage.
 ResolutionInfo getResolutionInfo()
          Returns information about the possible sample resolutions of this coverage.
 
Methods inherited from interface org.deegree.commons.config.Resource
destroy, init
 

Method Detail

getEnvelope

Envelope getEnvelope()
Returns the (spatial) domain of this coverage.

Returns:
The envelope of the coverage.

getCoordinateSystem

ICRS getCoordinateSystem()
Returns the native coordinate system this coverage is defined in.

Returns:
the coordinate system of the coverage

getResolutionInfo

ResolutionInfo getResolutionInfo()
Returns information about the possible sample resolutions of this coverage.

Returns:
information about the possible sample resolutions.

getAsRaster

AbstractRaster getAsRaster(Envelope spatialExtent,
                           SampleResolution resolution,
                           InterpolationType interpolation)
Get a rasterized extent of this coverage by applying the given sample resolution to the given spatial extent of the coverage and applying the given interpolation if needed. Note this method also should support srs transformations.

Parameters:
spatialExtent - the area of interest of resulting raster
resolution - the resolution to use for sampling the given extent.
interpolation - the interpolation to use, if the resolution does not match the 'native' resolution of the coverage.
Returns:
a rasterized extent of this coverage.


Copyright © 2011. All Rights Reserved.