Existing shapefile.py was based on an old version of pyshp.shapefile, but this caused cartopy to use the older version of shapefile, which led to ShapefileExceptions when trying to plot maps.
This bugfix removes the old shapefile.py from the Utilities module and replaces references to that file with the pyshp version.
As pyshp is a dependency of cartopy, it is installed as part of the enviroment.
Existing
shapefile.py
was based on an old version ofpyshp.shapefile
, but this causedcartopy
to use the older version of shapefile, which led toShapefileExceptions
when trying to plot maps.This bugfix removes the old
shapefile.py
from theUtilities
module and replaces references to that file with thepyshp
version.As
pyshp
is a dependency ofcartopy
, it is installed as part of the enviroment.