gws.plugin.ows_client.wfs.provider
¶
WFS provider.
Source code: gws.plugin.ows_client.wfs.provider
Module Contents¶
- class gws.plugin.ows_client.wfs.provider.Config(*args, **kwargs)¶
Bases:
gws.base.ows.client.provider.Config
Object configuration.
- extendedBbox: bool | None¶
whether to use extended bbox format (with CRS)
- class gws.plugin.ows_client.wfs.provider.Object¶
Bases:
gws.base.ows.client.provider.Object
OWS services Provider.
- protocol¶
- extendedBbox: bool¶
- DEFAULT_GET_FEATURE_LIMIT = 100¶
- configure()¶
Configuration hook.
- get_features(search, source_layers)¶
Perform the WFS GetFeature operation.
We only do spatial searches here. If no bounds and no shapes are given, return all features. If a shape is given, find features within its bounds first, and filter features on our side. This is more performant than WFS spatial ops (at least for qgis), and also works without spatial ops support on the provider side.