- class cartopy.feature.WFSFeature(wfs, features, **kwargs)¶
A class capable of drawing a collection of geometries obtained from an OGC Web Feature Service (WFS).
This feature requires additional dependencies. If installed via pip, try
pip install cartopy[ows].
- __init__(wfs, features, **kwargs)¶
wfs (string or
owslib.wfs.WebFeatureServiceinstance) – The WebFeatureService instance, or URL of a WFS service, from which to retrieve the geometries.
features (string or list of strings) – The typename(s) of features available from the web service that will be retrieved. Somewhat analogous to layers in WMS/WMTS.
**kwargs – Keyword arguments to be used when drawing this feature.
__init__(wfs, features, **kwargs)
- param wfs
The WebFeatureService instance, or URL of a WFS service, from which
Return an iterator of (shapely) geometries for this feature.
Return an iterator of shapely geometries that intersect with the given extent.
The cartopy CRS for the geometries in this feature.
The read-only dictionary of keyword arguments that are used when creating the Matplotlib artists for this feature.