cds-astro / aladin-lite

An astronomical HiPS visualizer in the browser
https://aladin.cds.unistra.fr/AladinLite/
GNU General Public License v3.0
103 stars 42 forks source link

Fix WCS taking into account of the view rotation #170

Closed bmatthieu3 closed 4 months ago

bmatthieu3 commented 5 months ago

The current wcs exported with getViewWCS takes into account the view center and its zoom level as well as the projection chosen but there is a rotary component (rotation around the view center) that is not taken into account. I think the way to express that 'axis rotation' is dependant of the projection (if it is zenithal for example) but I am not sure.