I'm trying to add a feature to draw a map but this error: "Incomplete shapefile definition in 'eez v11.shp'" keeps popping. Here is the code I wrote:
fname = 'eez_v11.shp'
shape_feature = ShapelyFeature(Reader(fname).geometries(),
ccrs.PlateCarree(), edgecolor='k',facecolor='gray')
ax.add_feature(shape_feature)
Do you know how I can solve this issue?
.shx
,.dbf
,.prj
)? The third isn't required but ought to be present. Note that "eez v11.shp" is an invalid shapefile name, because it is not 8.3 conformant (most readers won't complain about prefix length, but the space might cause trouble).Unable to open World_EEZ_v11_20191118/eez_v11.dbf or World_EEZ_v11_20191118/eez_v11.shp.
", do you perhaps know why does this error occur ?