cartopy.io.shapereader.BasicReader#

class cartopy.io.shapereader.BasicReader(filename)[source]#

Provide an interface for accessing the contents of a shapefile.

The primary methods used on a Reader instance are records() and geometries().

__init__(filename)[source]#

Methods

__init__(filename)

close()

geometries()

Return an iterator of shapely geometries from the shapefile.

records()

Return an iterator of Record instances.