cartopy.feature.GSHHSFeature#
- class cartopy.feature.GSHHSFeature(scale='auto', levels=None, **kwargs)[source]#
 An interface to the GSHHS dataset.
See https://www.ngdc.noaa.gov/mgg/shorelines/gshhs.html
- Parameters:
 scale – The dataset scale. One of ‘auto’, ‘coarse’, ‘low’, ‘intermediate’, ‘high, or ‘full’ (default is ‘auto’).
levels – A list of integers 1-6 corresponding to the desired GSHHS feature levels to draw (default is [1] which corresponds to coastlines).
**kwargs – Keyword arguments to be used when drawing the feature. Defaults are edgecolor=’black’ and facecolor=’none’.
Methods
__init__([scale, levels])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
crsThe cartopy CRS for the geometries in this feature.
kwargsThe read-only dictionary of keyword arguments that are used when creating the Matplotlib artists for this feature.