LoginSignup
1
1

More than 5 years have passed since last update.

Let's display the map using Basemap

Posted at

ENV

Mac
anaconda4.4.0(python3.6)

Library Install

GEOS

geometry engine
https://trac.osgeo.org/geos/

**not english lesson service.http://geos.jp/

brew install geos
3.6.2(2017/08/XX)

Basemap(matplotlib basemap toolkit)

plotting library of maps
https://github.com/matplotlib/basemap/archive/v1.1.0.tar.gz
after decompressing the file
python setup.py install

pyproj

PROJ.4 library
pip install pyproj

trial Map display

from mpl_toolkits.basemap import Basemap
import matplotlib.pyplot as plt

m = Basemap(projection='mill')

m.drawcoastlines()
m.fillcontinents()
m.drawmapboundary()

plt.show()

image

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1