gws.plugin.ows_client.wfs.flatlayer¶
WFS flat layer.
Source code: gws.plugin.ows_client.wfs.flatlayer
Module Contents¶
- class gws.plugin.ows_client.wfs.flatlayer.Config¶
Bases:
gws.base.layer.ConfigVector layer that shows the features of one WFS feature type.
- provider: Config.provider | None¶
WFS service the layer is loaded from.
- sourceLayers: gws.gis.source.LayerFilter | None¶
Feature type to show.
- class gws.plugin.ows_client.wfs.flatlayer.Object¶
Bases:
gws.base.layer.vector.ObjectVector layer that shows the features of a single WFS feature type.
The features are loaded from the WFS service through a
wfsmodel and can be searched with awfsfinder.- provider: Object.provider¶
WFS service provider.
- sourceLayers: list[gws.SourceLayer]¶
Feature type shown by the layer, always a single source layer.
- configure()¶
- configure_extent()¶
- configure_metadata()¶
- configure_models()¶
- configure_provider()¶
- configure_search()¶
- configure_source_layers()¶
Select the source layers from the feature types of the provider.
- Returns:
Always
True.
- configure_sources()¶
- create_finder(cfg)¶
Create a
wfsfinder bound to the provider and the source layers of the layer.- Parameters:
cfg – Finder configuration, or
Nonefor the default finder.- Returns:
The finder object.
- create_model(cfg)¶
Create a
wfsmodel bound to the provider and the source layers of the layer.- Parameters:
cfg – Model configuration, or
Nonefor the default model.- Returns:
The model object.