class_docstr: 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).
  
  Other Parameters
  ----------------
  **kwargs
      Keyword arguments to be used when drawing the feature. Defaults
      are edgecolor='black' and facecolor='none'.
code: def __init__(self, scale="auto", levels=None, **kwargs):
      super().__init__(cartopy.crs.PlateCarree(), **kwargs)
  
      if scale not in (
          "auto",
          "a",
          "coarse",
          "c",
          "low",
          "l",
          "intermediate",
          "i",
          "high",
          "h",
          "full",
          "f",
      ):
          raise ValueError(f"Unknown GSHHS scale {scale!r}.")
      self._scale = scale
  
      if levels is None:
          levels = [1]
      self._levels = set(levels)
      unknown_levels = self._levels.difference([1, 2, 3, 4])
      if unknown_levels:
          raise ValueError(f"Unknown GSHHS levels {unknown_levels!r}.")
  
      # Default kwargs
      self._kwargs.setdefault("edgecolor", "black")
      self._kwargs.setdefault("facecolor", "none")
  
imports: from abc import ABCMeta, abstractmethod
  import numpy
  import shapely.geometry
  import cartopy.crs
  import cartopy.io.shapereader
label_desc: Use image node_id 1 to create a new GSHHSFeature object from inherited base classes: Feature with example: obj = GSHHSFeature(scale, levels)