Commit e5becad7 authored by SVN-Git Migration's avatar SVN-Git Migration

Imported Upstream version 1.0.1

parents

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

version 0.99: now must be imported as mpl_toolkits.basemap instead
of matplotlib.toolkits.basemap.
version 0.9.8: remove linestyle kwarg from drawparallels and drawmeridians.
add fill_color kwarg to drawmapboundary.
version 0.9.7: added lake_color kwarg to fillcontinents.
version 0.9.6: added "labelstyle" keyword to drawparallels and drawmeridians.
added "zorder" kwarg to drawparallels, drawmeridians,
drawcoastlines, drawstates, drawcountries, drawrivers,
version 0.9.2: width, height keywords added to Basemap.__init__.
version 0.9.1: createfigure method removed.
version 0.9: creatfigure method deprecated, new set_aspect axes method
used to ensure maps have right aspect ratio.
pcolormesh, drawlsmask methods added.
version 0.7.2: 'createfigure' method added to Basemap.
interp function no longer uses nd_image, so keywords
'mode' and 'cval' no longer accepted. 'order' keyword
must be 0 or 1.
version 0.7.1: 'readshapefile' method added to Basemap.
version 0.5.2: 'ax' keyword added to Basemap.__init__. This well set
default axis instance, which can be overridden by using
'ax' keyword in method calls.
version 0.5.1: 'font' and 'fontsize' keyword args for drawparallels and
drawmeridians replaced by **kwargs, which is passed directly
to Axes text method. Most Basemap methods now take keyword
argument 'ax' to allow use of a pre-existing Axes instance
(default is to use current instance).
version 0.5: llcrnrlon,llcrnrlat,urcrnrlon,urcrnrlat are now optional
keyword paramaters in Basemap.__init__,
'xoffset', 'yoffset' optional keyword args added to
Basemap.drawparallels and Basemap.drawmeridians.
added optional 'suppress_ticks' keyword arg to Basemap.__init__.
version 0.4.2: removed 'preserve_magnitude' keyword from transform_vector.
version 0.3: axes instance no longer an argument to any Basemap method.
(gca is called to obtain the current axes instance instead).
This diff is collapsed.
Q: It takes a long time to make a plot with the 'intermediate' or 'high'
resolution coastlines, how can I speed it up?
A: There is a overhead in processing boundary datasets when a Basemap
class in created, and this overhead can be significant for the higher
resolution boundaries. If you are makeing many maps for the same region,
you only need to create you Basemap class instance once, then re-use it
for each plot. If the plots are being created by different scripts, you
can save the Basemap class instance to a Pickle on disk, then read it in
whatever script needs it (it's much faster to read a pickle from disk than
it is to create the Basemap instance originally). The ireland.py example
illustrates how to do this.
Q: I have my own boundary dataset that I would like to use, how do I use
it in place of (or in addition to) the built-in basemap boundary datasets?
A: If your dataset is in ESRI shapefile format, this is relatively easy.
Just create your Basemap class instance, then call the 'readshapefile'
method on that instance to import your data. Setting 'drawbounds=True'
will draw the boundaries in the shapefile. The fillstates.py example
shows how to do this.
Q: How do I specify the map projection region if I don't know what the
latitude and longitudes of the corners are?
A: As an alternative to specifying the lat/lon values for the upper-right
and lower-left corners of the projection domain (using the llcrnrlat,
llcrnrlon, urcrnrlat and urcrnrlon keywords) you can specify the center of
the map projection domain (using the lat_0 and lon_0 keywords) and the
width and height of the domain in map projection coordinates (meters)
using the width and height keywords. Basemap will then calculate the
corresponging values of llcrnrlat, llcrnrlon, urcrnrlat and urcrnrlon.
Examples of this are given in the garp.py and setwh.py examples.
* The fillcontinents method doesn't always do the right thing. Matplotlib
always tries to fill the inside of a polygon. Under certain situations,
what is the inside of a coastline polygon can be ambiguous, and the
outside may be filled instead of the inside. To trigger this,
run the garp.py example with lon=-71,lat=-33 (Santiago, Chile).
Workaround - mask the land areas with the drawlsmask method instead of
filling the coastline polygons.
This diff is collapsed.
All source, data files and other contents of the PROJ.4 package are
available under the following terms. Note that the PROJ 4.3 and earlier
was "public domain" as is common with US government work, but apparently
this is not a well defined legal term in many countries. I am placing
everything under the following MIT style license because I believe it is
effectively the same as public domain, allowing anyone to use the code as
they wish, including making proprietary derivatives.
Though I have put my own name as copyright holder, I don't mean to imply
I did the work. Essentially all work was done by Gerald Evenden.
--------------
Copyright (c) 2000, Frank Warmerdam
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
This diff is collapsed.
include FAQ
include README
include MANIFEST.in
include LICENSE_proj4
include LICENSE_pyshapelib
include LICENSE_data
include API_CHANGES
include KNOWN_BUGS
include Changelog
include setup.py
include setup.cfg
include setupegg.py
include nad2bin.c
include src/*
include examples/allskymap.py
include examples/allskymap_cr_example.py
include examples/plothighsandlows.py
include examples/save_background.py
include examples/embedding_map_in_wx.py
include examples/cubed_sphere.py
include examples/simpletest.py
include examples/hires.py
include examples/simpletest_oo.py
include examples/randompoints.py
include examples/daynight.py
include examples/ploticos.py
include examples/test.py
include examples/us_25m.dem
include examples/testgdal.py
include examples/etopo20data.gz
include examples/etopo20lons.gz
include examples/etopo20lats.gz
include examples/500hgtdata.gz
include examples/500hgtlons.gz
include examples/500hgtlats.gz
include examples/st99_d00.dbf
include examples/st99_d00.shp
include examples/st99_d00.shx
include examples/huralll020.dbf
include examples/huralll020.shp
include examples/huralll020.shx
include examples/hurrtracks.py
include examples/fcover.dat
include examples/plotcities.py
include examples/plotmap.py
include examples/plotmap_oo.py
include examples/plotmap_masked.py
include examples/plotmap_shaded.py
include examples/contour_demo.py
include examples/customticks.py
include examples/quiver_demo.py
include examples/barb_demo.py
include examples/nytolondon.py
include examples/ortho_demo.py
include examples/geos_demo.py
include examples/geos_demo_2.py
include examples/geos_demo_3.py
include examples/200706041200-msg-ch01-SAfrica.jpg
include examples/fcstmaps.py
include examples/fcstmaps_axesgrid.py
include examples/plotsst.py
include examples/wiki_example.py
include examples/fillstates.py
include examples/run_all.py
include examples/polarmaps.py
include examples/warpimage.py
include examples/earth_lights_lrg.jpg
include examples/pnganim.py
include examples/garp.py
include examples/setwh.py
include examples/ccsm_popgrid.py
include examples/plot_tissot.py
include examples/cities.dbf
include examples/cities.shp
include examples/cities.shx
include examples/show_colormaps.py
include examples/plotprecip.py
include examples/nws_precip_conus_20061222.nc
include examples/C02562.orog.nc
include examples/ccsm_popgrid.nc
include examples/NetCDFFile_tst.py
include examples/maskoceans.py
include examples/README
include lib/mpl_toolkits/__init__.py
include lib/mpl_toolkits/basemap/__init__.py
include lib/mpl_toolkits/basemap/proj.py
include lib/mpl_toolkits/basemap/pyproj.py
include lib/mpl_toolkits/basemap/cm.py
include lib/mpl_toolkits/basemap/netcdf.py
include lib/mpl_toolkits/basemap/pupynere.py
include lib/mpl_toolkits/basemap/netcdftime.py
include pyshapelib/README pyshapelib/COPYING pyshapelib/ChangeLog pyshapelib/NEWS
include pyshapelib/*.i pyshapelib/*.c pyshapelib/*.py pyshapelib/*.h
include pyshapelib/*.shp pyshapelib/*.shx pyshapelib/*.dbf
include pyshapelib/shapelib/*.c pyshapelib/shapelib/*.h
include doc/users/figures/*py
include doc/users/*rst
include doc/api/*rst
include doc/README.txt
include doc/make.py
include doc/conf.py
include doc/index.rst
recursive-include geos-3.2.0 *
recursive-include lib/dap *
recursive-include lib/httplib2 *
recursive-include lib/dbflib *
recursive-include lib/shapelib *
recursive-include lib/mpl_toolkits/basemap/data *
Metadata-Version: 1.0
Name: basemap
Version: 1.0.1
Summary: Plot data on map projections with matplotlib
Home-page: http://matplotlib.sourceforge.net/toolkits.html
Author: Jeff Whitaker
Author-email: jeffrey.s.whitaker@noaa.gov
License: OSI Approved
Download-URL: http://sourceforge.net/projects/matplotlib
Description:
An add-on toolkit for matplotlib that lets you plot data
on map projections with coastlines, lakes, rivers and political boundaries.
See http://www.scipy.org/wikis/topical_software/Maps for an
example of what it can do.
Keywords: python,plotting,plots,graphs,charts,GIS,mapping,map projections,maps
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved
Classifier: Topic :: Scientific/Engineering :: Visualization
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Operating System :: OS Independent
**Descripton**
basemap - plot on map projections (with coastlines and political boundaries)
using matplotlib.
**Requirements**
python 2.4 (or higher)
matplotlib 0.98 (or higher)
numpy 1.1 (or higher)
The GEOS (Geometry Engine - Open Source) library (version 3.1.1 or higher).
Source code is included in the geos-3.2.0 directory.
PIL (http://pythonware.com/products/pil) is optional (only