[AstroPy] Spherical point in polygon test?

JJ Kavelaars jjk at uvic.ca
Tue May 6 20:36:01 EDT 2014


https://pypi.python.org/pypi/Polygon/2.0.4

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. 

JJ 

> On May 6, 2014, at 5:10 PM, Christine Slocum <cslocum at stsci.edu> wrote:
> 
> I can't answer the first question, but you can find the source here:
> 
> https://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk/
> 
> Christine
> 
> From: astropy-bounces at scipy.org [astropy-bounces at scipy.org] on behalf of Chris Beaumont [beaumont at hawaii.edu]
> Sent: Tuesday, May 06, 2014 7:58 PM
> To: astropy
> Subject: [AstroPy] Spherical point in polygon test?
> 
> What's the easiest way to compute whether a set of lat/lon points is inside a spherical quad on the sky?
> 
> This package claims to do it, but I can't seem to find a good place to download the source
> http://ssb.stsci.edu/doc/stsci_python_dev/stsci.sphere.doc/html/
> 
> Ideas?
> Chris
> _______________________________________________
> AstroPy mailing list
> AstroPy at scipy.org
> http://mail.scipy.org/mailman/listinfo/astropy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20140506/ee4d352e/attachment.html>


More information about the AstroPy mailing list