Andy Stow Away
Andy Stow Away

Reputation: 647

Changing borders in matplotlib basemap

I would like to change the political borders of countries in Basemap permanently. How do I go about doing it ?

Upvotes: 0

Views: 616

Answers (1)

pelson
pelson

Reputation: 21839

There is no smart way to do this. You can modify the data in the mpl_toolkits/basemap/data folder. The coastlines come from the GSHHS dataset so replace the gshhs* files with other gshhs formatted data. If your data is not in gshhs format then it will be a tough task, but you could monkey patch the drawcoastlines method on a basemap.

Good luck!

Upvotes: 1

Related Questions