gws.plugin.ows_client.wms.caps

WMS Capabilities parser.

Source code: gws.plugin.ows_client.wms.caps

Module Contents

gws.plugin.ows_client.wms.caps.parse(xml: str, bottom_first: bool = False) gws.OwsCapabilities

Read WMS capabilities from the GetCapabilities XML.

Parameters:
  • xml – GetCapabilities XML

  • bottom_first – True if layers are listed bottom-first

Returns:

The Capabilities object.