:tocdepth: 3 :py:mod:`gws.base.ows.server.layer_caps` ======================================== .. py:module:: gws.base.ows.server.layer_caps .. autoapi-nested-parse:: Utilities to deal with LayerCaps objects. **Source code:** :source:`gws.base.ows.server.layer_caps` Module Contents --------------- .. py:function:: feature_name_matches(lc: gws.base.ows.server.core.LayerCaps, name: str, xmlns_replacements: dict) -> bool Check if the feature name in the caps matches the given name. .. py:function:: for_layer(layer: gws.Layer, user: gws.User, service: Optional[gws.OwsService] = None) -> gws.base.ows.server.core.LayerCaps Create ``LayerCaps`` for a layer. .. py:function:: layer_name_matches(lc: gws.base.ows.server.core.LayerCaps, name: str) -> bool Check if the layer name in the caps matches the given name. .. py:function:: xml_schema(lcs: list[gws.base.ows.server.core.LayerCaps], user: gws.User) -> tuple[gws.XmlElement, gws.XmlOptions] Create an ad-hoc XML Schema for a list of `LayerCaps`.