Read DescribeLayer data from a string, and return the response. The OGC defines 2 formats which are allowed for output, so we need to parse these 2 types for version 1.1.X
Parameters
data | {String} or {DOMElement} data to read/parse. |
Returns
{Object} Object with a layerDescriptions property, which holds an Array of {<LayerDescription>} objects which have:
- {String} owsType: WFS/WCS
- {String} owsURL: the online resource
- {String} typeName: the name of the typename on the owsType service
- {String} layerName: the name of the WMS layer we did a lookup for