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 works for manually entered coordinates but now I would like to have a country border (see and land) as a polygon (low resolution). Is there a simple way to extract that from the basemap data? Tanks, Janwillem -- View this message in context: http://old.nabble.com/basemap-border-coordintes-tp29503827p29503827.html Sent from the matplotlib - users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users