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
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 w