Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a MOC from STC-S string #111

Closed
tboch opened this issue Oct 10, 2023 · 4 comments
Closed

Create a MOC from STC-S string #111

tboch opened this issue Oct 10, 2023 · 4 comments
Assignees

Comments

@tboch
Copy link
Collaborator

tboch commented Oct 10, 2023

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.

@tboch tboch changed the title Create MOC from STC-S string Create a MOC from STC-S string Oct 10, 2023
@ManonMarchand
Copy link
Member

No need for a new issue FX ;)

@bmatthieu3
Copy link
Collaborator

bmatthieu3 commented Oct 10, 2023

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
Copy link
Member

And here the IVOA note with the pdf version.

@fxpineau
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants