gws.base.layer.ows

Layer OWS binding.

Source code: gws.base.layer.ows

Module Contents

class gws.base.layer.ows.Config(*args, **kwargs)

Bases: gws.Config

OWS service settings for a layer.

allowedServices: list[str] | None

UIDs of OWS services allowed to publish this layer.

deniedServices: list[str] | None

UIDs of OWS services that must not publish this layer.

featureName: str = ''

Feature type name in WFS.

geometryName: str = ''

Name of the geometry element in WFS and GML output.

layerName: str = ''

Layer name in WMS and WMTS services.

models: list[gws.ext.config.model] | None

Data models for OWS output.

xmlns: str | None

XML namespace prefix for the layer’s features.

class gws.base.layer.ows.Object

Bases: gws.LayerOwsBinding

Binding of a layer to OWS services.

configure()

Configuration hook.

Called when the node is initialized. Raising an exception here aborts the creation of the node.