I am trying to plot district boundaries on a map of Nepal. For that I downloaded a shapefile of districts in Nepal from this site:
The folder name was NP_75DWGS84 and all the files within the folder had the files containing the same name. Then I used the following code:
from mpl_toolkits.basemap import Basemap import matplotlib.pyplot as plt map = Basemap() map.drawmapboundary() map.drawcoastlines() map.readshapefile('/home/mala/NP_75DWGS84/NP_75DWGS84','NP_75DWGS84',linewidth=1.0,drawbounds = False) plt.show()
It gives me total plot of world, but, it is not plotting shapefiles in the graph. There is also no error. What is wrong here?