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()andgeometries().Methods
__init__(filename)close()geometries()Return an iterator of shapely geometries from the shapefile.
records()Return an iterator of
Recordinstances.