org.deegree_impl.model.cv
Class CoverageLayer_Impl

java.lang.Object
  extended byorg.deegree_impl.model.cv.Layer_Impl
      extended byorg.deegree_impl.model.cv.CoverageLayer_Impl
All Implemented Interfaces:
CoverageLayer, Layer
Direct Known Subclasses:
GridCoverageLayer_Impl

public class CoverageLayer_Impl
extends Layer_Impl
implements CoverageLayer

In its Capabilities XML response, a Web Coverage Server announces that it can return coverages (that is, values or properties of spatio-temporal locations) culled from various collections of data. Each logical collection from which coverages may be requested is called a coverage layer. The different kinds of coverage layers available all share several common elements, which comprise the CoverageLayer.

-----------------------------------------------------------------------

Version:
$Revision: 1.2 $ $Date: 2004/01/03 13:46:46 $

Author:
Andreas Poth

Field Summary
private  java.net.URL descriptorResource
           
private  DomainSetExtentDescription domainSetExtentDescription
           
private  java.lang.String[] supportedInterpolationList
           
 
Constructor Summary
CoverageLayer_Impl(java.lang.String layerID, java.lang.String title, java.lang.String abstract_, java.lang.String[] keywordList, GM_Envelope latLonBoundingBox, java.lang.String[] queryCRS, java.lang.String[] responseCRS, java.lang.String nativeCRS, java.net.URL[] metadataURLs, Format[] supportedFormatList, java.lang.String[] supportedInterpolationList, DomainSetExtentDescription domainSetExtentDescription)
           
CoverageLayer_Impl(java.lang.String layerID, java.lang.String title, java.lang.String abstract_, java.lang.String[] keywordList, GM_Envelope latLonBoundingBox, java.lang.String[] crs, java.lang.String nativeCRS, java.net.URL[] metadataURLs, Format[] supportedFormatList, java.lang.String[] supportedInterpolationList, DomainSetExtentDescription domainSetExtentDescription, java.net.URL descriptorResource)
           
 
Method Summary
 java.lang.String getAbstract()
          returns a narrative description of the map layer
 java.lang.String[] getCRS()
          For each Coverage Layer, the Capabilities XML description specifies (i) the native Spatial Reference System (SRS) of the data; (ii) the SRSs in which it understands incoming GetCoverage requests; and (iii) the SRSs in which it can produce coverages in response to GetCoverage requests Every CoverageLayer must have either one or more SRS elements, or both a QuerySRS and a ResponseSRS element (which contain one or more SRS elements).
 java.net.URL getDescriptorResource()
          returns the URL where to access the descriptor file for this layer
 DomainSetExtentDescription getDomainSetExtentDescription()
          returns the DomainSetExtentDescription of the CoverageLayer.
 java.lang.String[] getKeywordList()
          returns a list that contains keywords to aid in catalog searches
 GM_Envelope getLatLonBoundingBox()
          The required LatLonBoundingBox element, has attributes indicating the edges of an enclosing rectangle in longitude/latitude decimal degrees.
 java.lang.String getLayerID()
          The required LayerID is a unique identifier (not used for any other coverage layer).
 java.net.URL[] getMetadataURLs()
          The optional MetadataURL element is recommended for access to detailed, standardized metadata about the data underneath a particular layer.
 java.lang.String getNativeCRS()
          The optional NativeSRS element states the native SRS of a Coverage Layer.
 java.lang.String[] getQueryCRS()
          The QuerySRS element states the SRS(s) in which GetCoverage requests may be expressed against that coverage layer.
 java.lang.String[] getResponseCRS()
          The ResponseSRS element states the SRS(s) in which coverage replies to GetCoverage requests may be expressed.
 Format[] getSupportedFormatList()
          The required SupportedFormatList element advertises the output format(s) in which coverages may be requested from this Coverage Layer (e.g., GeoTIFF, HDF-EOS, NITF, DTED, etc.).
 java.lang.String[] getSupportedInterpolationList()
          returns a list of supported interpolations that states whether and how the server will interpolate a CoverageLayer’s values over the spatial domain when a request requires resampling, reprojection, or other generalization.
 java.lang.String getTitle()
          The required Title element contains a human-readable string for p resentation in a menu.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.deegree.model.coverage.Layer
getAbstract, getCRS, getKeywordList, getLatLonBoundingBox, getLayerID, getMetadataURLs, getNativeCRS, getQueryCRS, getResponseCRS, getSupportedFormatList, getTitle
 

Field Detail

supportedInterpolationList

private java.lang.String[] supportedInterpolationList

domainSetExtentDescription

private DomainSetExtentDescription domainSetExtentDescription

descriptorResource

private java.net.URL descriptorResource
Constructor Detail

CoverageLayer_Impl

public CoverageLayer_Impl(java.lang.String layerID,
                          java.lang.String title,
                          java.lang.String abstract_,
                          java.lang.String[] keywordList,
                          GM_Envelope latLonBoundingBox,
                          java.lang.String[] crs,
                          java.lang.String nativeCRS,
                          java.net.URL[] metadataURLs,
                          Format[] supportedFormatList,
                          java.lang.String[] supportedInterpolationList,
                          DomainSetExtentDescription domainSetExtentDescription,
                          java.net.URL descriptorResource)

CoverageLayer_Impl

public CoverageLayer_Impl(java.lang.String layerID,
                          java.lang.String title,
                          java.lang.String abstract_,
                          java.lang.String[] keywordList,
                          GM_Envelope latLonBoundingBox,
                          java.lang.String[] queryCRS,
                          java.lang.String[] responseCRS,
                          java.lang.String nativeCRS,
                          java.net.URL[] metadataURLs,
                          Format[] supportedFormatList,
                          java.lang.String[] supportedInterpolationList,
                          DomainSetExtentDescription domainSetExtentDescription)
Method Detail

getSupportedInterpolationList

public java.lang.String[] getSupportedInterpolationList()
returns a list of supported interpolations that states whether and how the server will interpolate a CoverageLayer’s values over the spatial domain when a request requires resampling, reprojection, or other generalization. The optional, repeatable InterpolationMethod sub-element may have one of 8 different values: “nearest neighbor”, “linear”, “bilinear”, “bicubic”, “lost area”, “barycentric”, “piecewise constant”, and “none”.

Specified by:
getSupportedInterpolationList in interface CoverageLayer

getDomainSetExtentDescription

public DomainSetExtentDescription getDomainSetExtentDescription()
returns the DomainSetExtentDescription of the CoverageLayer. The DomainSetExtentDescription is contrected by for each coverage type.

Specified by:
getDomainSetExtentDescription in interface CoverageLayer

getDescriptorResource

public java.net.URL getDescriptorResource()
returns the URL where to access the descriptor file for this layer

Specified by:
getDescriptorResource in interface CoverageLayer

getAbstract

public java.lang.String getAbstract()
returns a narrative description of the map layer

Specified by:
getAbstract in interface Layer

getCRS

public java.lang.String[] getCRS()
For each Coverage Layer, the Capabilities XML description specifies (i) the native Spatial Reference System (SRS) of the data; (ii) the SRSs in which it understands incoming GetCoverage requests; and (iii) the SRSs in which it can produce coverages in response to GetCoverage requests

Every CoverageLayer must have either one or more SRS elements, or both a QuerySRS and a ResponseSRS element (which contain one or more SRS elements). A server may choose to detail query and response SRSs separately, or just advertise SRSs in which it can both accept requests and deliver coverage responses

The content of the SRS element may be any of the EPSG: or AUTO: coordinate systems defined in the Web Map Service Implementation Specification; it may be undefined (“OGC:none”); or it may be an embedded “swath” referencing system (“OGC:swath”) that lets the client reconstruct ground coordinates from tie-points or sensor metadata

Specified by:
getCRS in interface Layer

getKeywordList

public java.lang.String[] getKeywordList()
returns a list that contains keywords to aid in catalog searches

Specified by:
getKeywordList in interface Layer

getLatLonBoundingBox

public GM_Envelope getLatLonBoundingBox()
The required LatLonBoundingBox element, has attributes indicating the edges of an enclosing rectangle in longitude/latitude decimal degrees. LatLonBoundingBox must be supplied regardless of what SRS the map server may support for coverage requests and responses. However, it may be approximate if EPSG:4326 (WGS84 geographic) is not a supported request SRS. Its chief purpose is to populate registries for geographic search

Specified by:
getLatLonBoundingBox in interface Layer

getLayerID

public java.lang.String getLayerID()
The required LayerID is a unique identifier (not used for any other coverage layer). Using the GetCoverage or DescribeCoverage operation, clients request coverages from that Coverage Layer (or a description of the Coverage Layer) by using this LayerID value in the LAYERS parameter (for requests expressed as key-value pairs) or in the LayerID element (for XML requests).

Specified by:
getLayerID in interface Layer

getMetadataURLs

public java.net.URL[] getMetadataURLs()
The optional MetadataURL element is recommended for access to detailed, standardized metadata about the data underneath a particular layer. The type attribute indicates the standard to which the metadata complies. Two types are defined at present: 'TC211' = ISO TC211 19115; 'FGDC' = FGDC Content Standard for Digital Geospatial Metadata

Specified by:
getMetadataURLs in interface Layer

getNativeCRS

public java.lang.String getNativeCRS()
The optional NativeSRS element states the native SRS of a Coverage Layer. (This, along with the native resolution stated in the BoundingBox, facilitates client access to unretouched coverage values.

Specified by:
getNativeCRS in interface Layer

getQueryCRS

public java.lang.String[] getQueryCRS()
The QuerySRS element states the SRS(s) in which GetCoverage requests may be expressed against that coverage layer. One of these should be the coverage layer’s native SRS.

Requests expressed in the special SRS codes “OGC:none” or “OGC:swath” refer to subsets defined according the layer’s pixel row/column coordinate system (for imagery) or its internal / local coordinate system (for non-gridded data).

Specified by:
getQueryCRS in interface Layer

getResponseCRS

public java.lang.String[] getResponseCRS()
The ResponseSRS element states the SRS(s) in which coverage replies to GetCoverage requests may be expressed. One of these should be the Layer’s native SRS. Coverages served in the special SRS codes “OGC:none” or “OGC:swath” are expressed in pixel row/column coordinate system (for imagery) or an internal / local coordinate system (for non-gridded data). Coverage replies with the SRS “OGC:swath” may embed sensor-model or tie-point information to let a thick client georeference the returned coverage

Specified by:
getResponseCRS in interface Layer

getSupportedFormatList

public Format[] getSupportedFormatList()
The required SupportedFormatList element advertises the output format(s) in which coverages may be requested from this Coverage Layer (e.g., GeoTIFF, HDF-EOS, NITF, DTED, etc.). Both a format name and a MIME type identify these formats. Several OGC-specific types have been defined to distinguish various types of XML documents; these are listed in WMS 1.1.

Specified by:
getSupportedFormatList in interface Layer

getTitle

public java.lang.String getTitle()
The required Title element contains a human-readable string for p resentation in a menu.

Specified by:
getTitle in interface Layer