Thanks for your help.
The shapefile works great, but I cannot see the labels. The
“DESCRIP” attribute in the shapefile has the labels, but I’m not
sure how to apply them to the map.
Aman: The shapefile support in Basemap is quite rudimentary (it's
an area that’s waiting for a motivated volunteer to refactor and
improve). You should have access to all the data in the shapefile,
but there is no special API for plotting them. See the fillstates.py
example for how to access the dictionary of attributes associated
with each “shape”. One you have the names, you’ll have to plot the
text using matplotlib’s text handling functions.
-- Jeffrey S. Whitaker Phone : (303)497-6313
Meteorologist FAX : (303)497-6449
NOAA/OAR/PSD R/PSD1 Email : 325 Broadway Office : Skaggs Research Cntr 1D-113
Boulder, CO, USA 80303-3328 Web :