Closed demitri closed 3 years ago
Hi,
It looks like I have an internal assumption that the polygon has less than 100 vertices (which I never properly check and error on) and this assumption is not satisfied here. I'll fix this but probably keep the limit on 100 vertices or so.
Fixed in 26c936868708c0ce1fb21566cd36c8acd0cf9983 Now it will return an error saying that the polygon has more than 100 vertices which is not suported. If it's important for you to work with so many vertices, I can consider bumping up that number to say 300, but those will be quite slow anyway , so I'm not thrilled about doing that.
Thanks for the quick reply. I think the 100 vertex limit is a reasonable limitation (certainly for the simple polygon above). Can you mention the limit in the documentation? If I end up needing more at least I know I can go into the code and recompile.
I've added a limitation section to the README. But also now the corresponding functions will complain with a clear message if the polygon has too many vertices.
Closing.
Perfect, thank you.
Hi,
I have the following query using a polygon generated as the boundary of a region (from a FITS header):
This is a plot of the polygon in question:
The error I am getting is:
I have code where the function does work. Can you suggest what might be the problem?