class_docstr: Provide an interface for accessing the contents of a shapefile with the
  Python Shapefile Library (PyShp). See the PyShp
  `Readme <https://pypi.org/project/pyshp/>`_ for more information.
  
  The primary methods used on a BasicReader instance are
  :meth:`~cartopy.io.shapereader.BasicReader.records` and
  :meth:`~cartopy.io.shapereader.BasicReader.geometries`.
class_docstr_tok: ["Provide","an","interface","for","accessing","the","contents","of","a","shapefile","with","the","Python","Shapefile","Library","(","PyShp",")",".","See","the","PyShp","`","Readme","<","https",":","\/\/pypi.org\/project\/pyshp\/",">","`","_","for","more","information",".","The","primary","methods","used","on","a","BasicReader","instance","are",":","meth",":","`","~cartopy.io.shapereader.BasicReader.records","`","and",":","meth",":","`","~cartopy.io.shapereader.BasicReader.geometries","`","."]
docstr: Return an iterator of shapely geometries from the shapefile.
  
  This interface is useful for accessing the geometries of the
  shapefile where knowledge of the associated metadata is not necessary.
  In the case where further metadata is needed use the
  :meth:`~cartopy.io.shapereader.BasicReader.records`
  interface instead, extracting the geometry from the record with the
  :meth:`~Record.geometry` method.
code: def geometries(self):
      """
      Return an iterator of shapely geometries from the shapefile.
  
      This interface is useful for accessing the geometries of the
      shapefile where knowledge of the associated metadata is not necessary.
      In the case where further metadata is needed use the
      :meth:`~cartopy.io.shapereader.BasicReader.records`
      interface instead, extracting the geometry from the record with the
      :meth:`~Record.geometry` method.
  
      """
      for shape in self._reader.iterShapes(bbox=self._bbox):
          # Skip the shape that can not be represented as geometry.
          if shape.shapeType != shapefile.NULL:
              yield sgeom.shape(shape)
  
imports: import io
  import itertools
  from pathlib import Path
  from urllib.error import HTTPError
  import shapefile
  import shapely.geometry
  from cartopy import config
  from cartopy.io import Downloader
label_desc: Use image node_id 4 for calling the BasicReader obj's underlying member method code with example usage: obj.geometries() without return types