Revision: 5988 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5988&view=rev Author: jswhit Date: 2008-08-07 12:27:13 +0000 (Thu, 07 Aug 2008)
Log Message: ----------- fix URLs, gdal import. Modified Paths: -------------- trunk/toolkits/basemap/examples/testgdal.py Modified: trunk/toolkits/basemap/examples/testgdal.py =================================================================== --- trunk/toolkits/basemap/examples/testgdal.py 2008-08-07 00:15:55 UTC (rev 5987) +++ trunk/toolkits/basemap/examples/testgdal.py 2008-08-07 12:27:13 UTC (rev 5988) @@ -1,14 +1,13 @@ """ example showing how to plot a USGS DEM file using -gdal (http://gdal.maptools.org). +gdal (http://pypi.python.org/pypi/GDAL). Data files must be downloaded manually from USGS: -http://edcftplt.cr.usgs.gov/pub/data/DEM/250/D/denver-w.gz -http://edcftplt.cr.usgs.gov/pub/data/nationalatlas/countyp020.tar.gz +http://edcftp.cr.usgs.gov/pub/data/DEM/250/D/denver-w.gz +http://edcftp.cr.usgs.gov/pub/data/nationalatlas/countyp020.tar.gz """ -import gdal +from osgeo import gdal, ogr from mpl_toolkits.basemap import Basemap -from gdalconst import * import numpy as np import matplotlib.pyplot as plt This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-checkins mailing list Matplotlib-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins