Open smcguire-cmu opened 6 months ago
I am a bit concerned by a number of comments and discussions within LSST land about this topic; and yet lsst-sphgeom
still only support convex polygons, seemingly due to hidden complexity of different shapes.
In case that we decided to tackle this, is does seem that the right way to go is via decomposition to convex shapes.
Initially, I was skeptical about concave polygons. However, after Neven's comment, I decided to investigate further. Here's what I found in the LSST Slack:
I still think that concave polygons should not be our first priority. We can ask users to represent their data as a set of convex polygons themselves.
Currently, convex polygons will fail when performing a polygon search. This is currently due to
healpy
andlsst-sphgeom
not supporting convex polygons. One approach could be to split a convex polygon into concave polygons, for example something like this. Or to look for other/contribute to dependencies.