1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
Introduction
============
The matplotlib basemap toolkit is a library for plotting 2D data on maps
in `Python <http://www.python.org>`_. It is similar in functionality to
the `matlab mapping toolbox <http://www.mathworks.com/access/helpdesk/help/toolbox/map/map.shtml>`_,
the `IDL mapping facilities <http://www.msi.umn.edu/software/idl/tutorial/idl-mapping.html>`_,
`GrADS <http://www.iges.org/grads/downloads.html>`_, or the
`Generic Mapping Tools <http://gmt.soest.hawaii.edu/>`_.
`PyNGL <http://www.pyngl.ucar.edu/>`_ and
`CDAT <http://www-pcmdi.llnl.gov/software/cdat/support/vcs/vcs.html>`_
are other libraries that provide similar capabilities in Python.
Basemap does not do any plotting on it's own, but provides the facilities to transform coordinates to one of 25 different map projections (using the
`PROJ.4 <http://trac.osgeo.org/proj/>`_ C library). `Matplotlib
<http://matplotlib.sourceforge.net>`_ is then
used to plot contours, images, vectors, lines or points
in the transformed coordinates.
Shoreline, river and political boundary
datasets (from `Generic Mapping Tools <http://gmt.soest.hawaii.edu/>`_)
are provided, along with methods for plotting them. The `GEOS library
<http://geos.refractions.net>`_ is used internally to clip the coastline and polticial boundary features to the desired map projection region.
Basemap provides facilities for reading `shapefiles
<http://en.wikipedia.org/wiki/Shapefile>`_.
Basemap is geared toward the needs of earth scientists, particular
oceanographers and meteorologists. I originally wrote Basemap to help in my
research (climate and weather forecasting), since at the time
`CDAT <http://www-pcmdi.llnl.gov/software/cdat/support/vcs/vcs.html>`_ was
the only other tool in python for plotting data on map projections. Over
the years, the capabilities of Basemap have evolved as scientists in other
disciplines (such as biology, geology and geophysics) requested and
contributed new features.
|