copy of https://github.com/matplotlib/basemap without commit history