gws.plugin.ows_client.wfs.provider
¶
WFS provider.
References:
wfs 1.0.0: http://portal.opengeospatial.org/files/?artifact_id=7176 Sec 13.7.3
wfs 1.1.0: http://portal.opengeospatial.org/files/?artifact_id=8339 Sec 14.7.3
wfs 2.0.0: http://docs.opengeospatial.org/is/09-025r2/09-025r2.html Sec 11.1.3
See also:
Source code: gws.plugin.ows_client.wfs.provider
Module Contents¶
- class gws.plugin.ows_client.wfs.provider.Config¶
Bases:
gws.base.ows.client.provider.Config
- withBboxCrs: bool | None¶
Add CRS to bbox request parameters. (added in 8.1)
- class gws.plugin.ows_client.wfs.provider.Object¶
Bases:
gws.base.ows.client.provider.Object
- DEFAULT_GET_FEATURE_LIMIT = 100¶
- isWfs2: bool¶
- protocol¶
- withBboxCrs: bool¶
- configure()¶
- 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.