Question

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

Was it helpful?

Solution

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!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top