On 01/27/2011 09:24 PM, Thomas Lecocq wrote:
Hi,
Adding some extra work in the readshapefile method in your code allows
you to play with the region names etc,...
I've just made a new tutorial script to show this :
On 01/27/2011 01:38 AM, Thomas Lecocq wrote:
Hi,
An easy way is to use the data from http://www.gadm.org/ and to plot
it with m.readshapefile()
Thank you very much. The GDAM database is great.
BTW, would you like to give some suggestions about how to color the
map, i.e., highlight a specific
Hi,
that would do:
data = m.readshapefile(r'borders\ita_adm1','itaborder',linewidth=0.5)
italy = data[4]
print dir(italy)
italy.set_facecolors('red')
italy.set_alpha(0.5)
I think at some point youll meet the limitations of the method, you might need
to use another shapefile-reading module
Hi,
Adding some extra work in the readshapefile method in your code allows you to
play with the region names etc,...
I've just made a new tutorial script to show this :
http://www.geophysique.be/2011/01/27/matplotlib-basemap-tutorial-07-shapefiles-unleached/
Thom
Hi,
An easy way is to use the data from http://www.gadm.org/ and to plot it with
m.readshapefile()
HTH,
Thom
**
Thomas Lecocq
Geologist
Ph.D.Student (Seismology)
Royal Observatory of Belgium
**
Date: Wed, 26 Jan 2011 16:03:27 +0800
From: