module documentation

WMS Capabilities parser.

Function parse Read WMS capabilities from the GetCapabilities XML.
Function _layer Undocumented
def parse(xml: str, bottom_first: bool = False) -> gws.OwsCapabilities: (source)

Read WMS capabilities from the GetCapabilities XML.

Parameters
xml:strGetCapabilities XML
bottom_first:boolTrue if layers are listed bottom-first
Returns
gws.OwsCapabilitiesThe Capabilities object.
def _layer(layer_el: gws.IXmlElement, parent: t.Optional[gws.SourceLayer] = None) -> gws.SourceLayer: (source)

Undocumented