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. |
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
Methods
getResolution(coverageId) → {number}
Calculates the resolution of the provided coverage id in degrees.
Parameters:
Name | Type | Description |
---|---|---|
coverageId |
the coverage id or name |
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 |
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 |