|
From: <js...@us...> - 2008-06-16 13:53:24
|
Revision: 5558
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5558&view=rev
Author: jswhit
Date: 2008-06-16 06:51:31 -0700 (Mon, 16 Jun 2008)
Log Message:
-----------
update comment on ortho/gnom boundary treatment
Modified Paths:
--------------
trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py
Modified: trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py
===================================================================
--- trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py 2008-06-16 13:41:14 UTC (rev 5557)
+++ trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py 2008-06-16 13:51:31 UTC (rev 5558)
@@ -831,7 +831,9 @@
raise ValueError('%s projection cannot cross pole'%(self.projection))
# make sure orthographic or gnomonic projection has containsPole=True
# we will compute the intersections in stereographic
- # coordinates, then transform to orthographic.
+ # coordinates, then transform to orthographic. This is
+ # because these projections are only defined on a hemisphere, and
+ # some boundary features (like Eurasia) would be undefined otherwise.
if self.projection in ['ortho','gnom'] and name == 'gshhs':
containsPole = True
lon_0=self.projparams['lon_0']
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|