cartopy.feature.Feature

class cartopy.feature.Feature(crs, **kwargs)[source]

Represents a collection of points, lines and polygons with convenience methods for common drawing and filtering operations.

Parameters
  • crs – The coordinate reference system of this Feature

  • **kwargs – Keyword arguments to be used when drawing this feature.

See also

To add features to the current Matplotlib axes, see GeoAxes.

__init__(crs, **kwargs)[source]

Methods

__init__(crs, **kwargs)

geometries()

Return an iterator of (shapely) geometries for this feature.

intersecting_geometries(extent)

Return an iterator of shapely geometries that intersect with the given extent.

Attributes

crs

The cartopy CRS for the geometries in this feature.

kwargs

The read-only dictionary of keyword arguments that are used when creating the Matplotlib artists for this feature.