Menu

Tree [r4189] / trunk / toolkits / basemap-testing /
 History

HTTPS access


File Date Author Commit
 examples 2007-11-07 jswhit [r4149] use nice colors for ocean and land
 lib 2007-11-08 jswhit [r4166] make data files float32 binary, not float64 (sa...
 pyshapelib 2006-04-16 astraw [r2294] moved pyshapelib/lib/* to lib/ so setuptools' d...
 src 2007-11-01 jswhit [r4077] reverse Eric's changes for now
 .cvsignore 2005-09-19 cmoad [r1763] added build dir to .cvsignore
 API_CHANGES 2006-09-01 jswhit [r2741] updated for 0.9.2
 Changelog 2007-11-06 jswhit [r4128] use Shapely, libgeos for processing boundary ge...
 FAQ 2007-03-14 jswhit [r3067] reformatting
 KNOWN_BUGS 2006-05-01 jswhit [r2361] better land-sea mask
 LICENSE_data 2005-09-08 jswhit [r1733] data is from GMT, so use GPL
 LICENSE_proj4 2005-02-01 jdh2358 [r905] Initial revision
 LICENSE_pyshapelib 2005-08-14 jswhit [r1639] pyshapelib license (GPL)
 MANIFEST.in 2007-11-07 jswhit [r4146] updated for new boundary files
 PKG-INFO 2005-02-01 jdh2358 [r905] Initial revision
 README 2007-11-07 jswhit [r4151] update Copyright
 README-devel 2007-03-16 jswhit [r3084] updated instructions to make binary installers.
 setup.py 2007-11-01 jswhit [r4080] don't include proj_def.dat twice
 setupegg.py 2006-04-04 astraw [r2253] allow running with setuptools even if setupegg....

Read Me

**Descripton**

basemap - plot on map projections (with coastlines and political boundaries)
using matplotlib.

**Requirements**

matplotlib 0.90 (or higher)

numpy 1.0 (or higher)

Shapely (http://trac.gispython.org/projects/PCL/wiki/Shapely - svn version)

Shapely requires libgoes_c version 2.2.3, available from
http://geos.refractions.net/, and ctypes (which comes with python >= 2.5,
but can be installed separately for python 2.4)

**Copyright**

source code from proj.4 (http://proj.maptools.org) is included in the
'src' directory (under the terms given in LICENSE_proj4).

pyshapelib by Bernhard Herzog is included in the 'pyshapelib' directory
under the terms given in LICENSE_pyshapelib.

the coastline, lake, river and political boundary data are extracted
from datasets provided with the Generic Mapping Tools
(http://gmt.soest.hawaii.edu)
and are included under the terms given in LICENSE_data.

a public domain 5-minute land/sea/lake mask dataset from
http://www.ngdc.noaa.gov/seg/cdroms/graham/graham/graham.htm
is included.

Everything else (including src/_proj.pyx, src/_geod.pyx, src/_pyproj.pxi,
src/_proj.c and src/_geod.c):

copyright (c) 2007 by Jeffrey Whitaker.

Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notices appear in all copies and that
both the copyright notices and this permission notice appear in
supporting documentation.
THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO
EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.

**Documentation** 

see basemap.py docstrings.

see scripts in 'examples' directory for example usage.

read the FAQ and/or email the matplotlib-users mailing list if 
you have problems or questions.

**Install**

First, install pre-requisites (see **Requirements** above).

Then download basemap-X.Y.Z.tar.gz from
the sourceforge download site, unpack,
cd to basemap-X.Y.Z and run 'python setup.py install'.

The crude ('c'), low ('l') and intermediate ('i') resolution
boundary data files, plus the 5-minute land/sea mask, are installed
by default. If you need the high ('h') resolution boundary dataset
you can download the files from the sourceforge download site
(basemap-data-hires-X.Y.Z.tar.gz). To install them,
untar the file in the top-level directory of the basemap source 
distribution (where this README file lives), then run 
'python setup.py install' again.

Note:  if you install from a subversion checkout, you will get the high 
resolution coastlines by default.

**Contact**

Jeff Whitaker <jeffrey.s.whitaker@noaa.gov>


**Thanks**

to

John Hunter
Andrew Straw
Eric Firing
Rob Hetland
Scott Sinclair
Ivan Lima

for valuable contributions.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.