Open pdowler opened 5 years ago
Whatever we do has to:
A caom2 MultiPolygon that describes two opposite hemispheres already means all-sky, but the simple DALI polygon in Plane.position.bounds cannot. There is work within the IVOA to augment DALI with support for multipolygon and shape (polymorphism) and this may impact how the CAOM Polygon and MultiPolygon will work
tentatively added to UML using what was discussed for DALI
The DALI polygon will not be extended to have a special value for all sky. There will be a polymorphic DALI "shape" that allows polygon or circle values (and this matches the type of Plane.position.bounds).
In CAOM, all sky can be specified (in Plane.position.bounds) as a Circle with radius 180 (degrees). Anything less than that can be specified as a DALI polygon.
note: Limitations in back end implementations will cause these to fail (at least at CADC) until we can implement code to handle these cases and remove limits on maximum polygon size.
The current Polygon definition is limited to less than all-sky. A MultiPolygon with two hemispheres could be constructed, but you cannot create an outer simple polygon that contains it.