Class: WcsCoverageDescriptions

WcsCoverageDescriptions(xmlDom)

Represents the common properties of a WCS CoverageDescription document. Common properties are parsed and mapped to a plain javascript object model. Most fields can be accessed as properties named according to their document names converted to camel case. This model supports version 1.0.0 and 2.0.x of the WCS specification. Not all properties are mapped to this representative javascript object model, but the provided XML DOM is maintained in xmlDom property for reference.

Constructor

new WcsCoverageDescriptions(xmlDom)

Constructs a simple javascript object representation of an OGC WCS Describe Coverage XML response.
Parameters:
Name Type Description
xmlDom Object an XML DOM representing the WCS DescribeCoverage document.
Source:
Throws:
If the specified XML DOM is null or undefined.
Type
ArgumentError

Members

xmlDom :Object

The original unmodified XML document. Referenced for use in advanced cases.
Type:
  • Object
Source:

Methods

getResolution(coverageId) → {number}

Calculates the resolution of the provided coverage id in degrees.
Parameters:
Name Type Description
coverageId the coverage id or name
Source:
Returns:
resolution in degrees
Type
number

getSector(coverageId) → {Sector}

Get the bounding Sector for the provided coverage id or name.
Parameters:
Name Type Description
coverageId the coverageId or name
Source:
Returns:
the bounding Sector
Type
Sector

getSupportedCrs(coverageId)

Returns an array of the supported coordinates reference systems for the provided coverage.
Parameters:
Name Type Description
coverageId the coverage id or name
Source: