Revision: 4696
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4696&view=rev
Author: jswhit
Date: 2007-12-10 13:06:59 -0800 (Mon, 10 Dec 2007)
Log Message:
-----------
fix bug in geometry intersection error handling
Modified Paths:
--------------
trunk/toolkits/basemap/lib/matplotlib/toolkits/basemap/basemap.py
Modified: trunk/toolkits/basemap/lib/matplotlib/toolkits/basemap/basemap.py
===================================================================
--- trunk/toolkits/basemap/lib/matplotlib/toolkits/basemap/basemap.py
2007-12-10 20:32:26 UTC (rev 4695)
+++ trunk/toolkits/basemap/lib/matplotlib/toolkits/basemap/basemap.py
2007-12-10 21:06:59 UTC (rev 4696)
@@ -826,7 +826,7 @@
try:
geoms = poly.intersection(boundarypolyll)
except:
- pass
+ continue
# iterate over geometries in intersection.
for psub in geoms:
# only coastlines are polygons,
@@ -880,7 +880,7 @@
try:
geoms = poly.intersection(boundarypolyxy)
except:
- pass
+ continue
# iterate over geometries in intersection.
for psub in geoms:
b = psub.boundary
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins