Mathew Yeates wrote: > Is there an easy way to find the locations in rectangle1 that are > covered by rectangle2? I couldn't find this anywhere. > > Mathew >
Mathew: There's nothing included in matplotlib - I recommend Shapely (http://trac.gispython.org/lab/wiki/Shapely). It's an interface to the GEOS library, which you already have since you have basemap. Basemap includes it's own private interface to GEOS, but Shapely has a much better (although slower), well documented API. -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 NOAA/OAR/CDC R/PSD1 FAX : (303)497-6449 325 Broadway Boulder, CO, USA 80305-3328 ------------------------------------------------------------------------- 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-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users