[Matplotlib-users] basemap border coordintes

2010-08-22 Thread Janwillem
I want to write a script that can check whether a given coordinate is within a given country I now have: import matplotlib.nxutils as nx test = nx.points_inside_poly(points, country) where country is a polygon of longitude latitude pairs and points is a number of coordinates to be tested. This

Re: [Matplotlib-users] basemap border coordintes

2010-08-22 Thread Jeff Whitaker
On 8/22/10 3:14 AM, Janwillem wrote: I want to write a script that can check whether a given coordinate is within a given country I now have: import matplotlib.nxutils as nx test = nx.points_inside_poly(points, country) where country is a polygon of longitude latitude pairs and points is a