cds-astro / mocpy

Python library to easily create and manipulate MOCs (Multi-Order Coverage maps)
https://cds-astro.github.io/mocpy/
BSD 3-Clause "New" or "Revised" License
59 stars 33 forks source link

Create a MOC from STC-S string #111

Closed tboch closed 9 months ago

tboch commented 11 months ago

It would be nice to be able to create directly a MOC from STC-S string .

We do not need to support all STC-S nuances at first, starting with single polygon support would be a great start.

ManonMarchand commented 11 months ago

No need for a new issue FX ;)

bmatthieu3 commented 11 months ago

Here is the code of aladin lite that does that for inspiration (in javascript) https://github.com/cds-astro/aladin-lite/blob/develop/src/js/Overlay.js#L83

fxpineau commented 11 months ago

And here the IVOA note with the pdf version.

fxpineau commented 9 months ago

A Rust STC-S parser has been developed here and the STC-S to MOC features have been added to MOC Lib Rust -- in this commit -- , in MOCCli, in MOCWasm and in this and this MOCPy commits.

The features still has to be tested more thoroughly.

I close this issue, but feel free to re-open it if bugs are found.