<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><a href="https://pypi.python.org/pypi/Polygon/2.0.4">https://pypi.python.org/pypi/Polygon/2.0.4</a></div><div><br></div><div>Or version 3 if you are python3. Works well. Has reasonable set of geometric functions. CONTAINs and OVERLAPs IIRC. I use this a few times a year. <br><br>JJ </div><div><br>On May 6, 2014, at 5:10 PM, Christine Slocum <<a href="mailto:cslocum@stsci.edu">cslocum@stsci.edu</a>> wrote:<br><br></div><blockquote type="cite"><div>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">



<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">I can't answer the first question, but you can find the source here:<br>
<br>
<a href="https://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk/" target="_blank">https://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk/</a><br>
<br>
Christine<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF360921"><font color="#000000" face="Tahoma" size="2"><b>From:</b> <a href="mailto:astropy-bounces@scipy.org">astropy-bounces@scipy.org</a> [<a href="mailto:astropy-bounces@scipy.org">astropy-bounces@scipy.org</a>] on behalf of Chris Beaumont [<a href="mailto:beaumont@hawaii.edu">beaumont@hawaii.edu</a>]<br>
<b>Sent:</b> Tuesday, May 06, 2014 7:58 PM<br>
<b>To:</b> astropy<br>
<b>Subject:</b> [AstroPy] Spherical point in polygon test?<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">What's the easiest way to compute whether a set of lat/lon points is inside a spherical quad on the sky?
<div><br>
</div>
<div>
<div>This package claims to do it, but I can't seem to find a good place to download the source</div>
<div><a href="http://ssb.stsci.edu/doc/stsci_python_dev/stsci.sphere.doc/html/" target="_blank">http://ssb.stsci.edu/doc/stsci_python_dev/stsci.sphere.doc/html/</a><br>
</div>
<div><br>
</div>
<div>Ideas?</div>
<div>Chris</div>
</div>
</div>
</div>
</div>
</div>


</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>AstroPy mailing list</span><br><span><a href="mailto:AstroPy@scipy.org">AstroPy@scipy.org</a></span><br><span><a href="http://mail.scipy.org/mailman/listinfo/astropy">http://mail.scipy.org/mailman/listinfo/astropy</a></span><br></div></blockquote></body></html>