basemap icon indicating copy to clipboard operation
basemap copied to clipboard

basemap drawcountries() old country file

Open martinJazey opened this issue 10 years ago • 4 comments
trafficstars

When you plot a map of Africa. The borders between Sudan and South Sudan are missing. I think basemap is using old shapefiles for the country borders. Would be nice if someone can update this or could say me how to do that.

martinJazey avatar Dec 12 '14 06:12 martinJazey

Do you know where to get update shape files (with an open license)?

tacaswell avatar Dec 12 '14 15:12 tacaswell

I don't recall where, but I do remember that the license files in the basemap project states all of its sources for the files. Most likely, it is the USGS.

On Fri, Dec 12, 2014 at 10:48 AM, Thomas A Caswell <[email protected]

wrote:

Do you know where to get update shape files (with an open license)?

— Reply to this email directly or view it on GitHub https://github.com/matplotlib/basemap/issues/169#issuecomment-66790165.

WeatherGod avatar Dec 12 '14 15:12 WeatherGod

Here are some Sudan maps.

http://www.unitar.org/unosat/sudan

If you want I could try to assemble counties into one polygon (should be possible to do either with qgis or shapely/fiona).

Cheers

2014-12-12 10:58 GMT-05:00 Benjamin Root [email protected]:

I don't recall where, but I do remember that the license files in the basemap project states all of its sources for the files. Most likely, it is the USGS.

On Fri, Dec 12, 2014 at 10:48 AM, Thomas A Caswell < [email protected]

wrote:

Do you know where to get update shape files (with an open license)?

— Reply to this email directly or view it on GitHub https://github.com/matplotlib/basemap/issues/169#issuecomment-66790165.

— Reply to this email directly or view it on GitHub https://github.com/matplotlib/basemap/issues/169#issuecomment-66791669.

Sasha

guziy avatar Dec 12 '14 16:12 guziy

The best replacement is probably from here: The Office of the Geographer’s Large Scale International Boundary Lines and World Vector Shorelines LSIB-WVS. This is from the U.S. Department of State's International Boundaries. Lasted updated March 2013. (This should have South Sudan in it which was formed in 2011.) This is public domain data that comes from the US Government.

Some assembly and simplification required. It would be good to update the country data included in basemap.

Here is a copy that has been slightly simplified and has all the continents. At a glance, it looks ready to use.

micahcochran avatar Dec 08 '15 15:12 micahcochran