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

Remote Control Plugin - Objects Info #3605

Closed
gzotti opened this issue Jan 22, 2024 Discussed in #3604 · 5 comments
Closed

Remote Control Plugin - Objects Info #3605

gzotti opened this issue Jan 22, 2024 Discussed in #3604 · 5 comments
Assignees
Labels
enhancement Improve existing functionality importance: low Small problem, rarely visible, no crash
Milestone

Comments

@gzotti
Copy link
Member

gzotti commented Jan 22, 2024

Discussed in #3604

Originally posted by Xio1996 January 22, 2024
Hi Everyone,

I am using the Remote Control Plugin (/api/objects/info?format=map) to return data on the selected object in Stellarium. The object is then added to an AstroPlanner plan. I'm having trouble getting the objects size/orientation information returned.

As an example I selected NGC 6740 (galaxy) and requested the data in JSON format. The size information for the major axis is returned in several formats.

"size": 0.0003470296231767495,
"size-dd": 0.019883332774043083,
"size-deg": "0.01988°",
"size-dms": "+0°01'11.58\"",

However, Stellarium displays not only the major axis but also the minor axis and orientation angle. I know that if I call the 'info' command on the Remote Control Plugin, without a format parameter, then I will get back the displayed html code.

Size: +0°01'11.58" x +0°00'41.52"
Orientation angle: 40°

Is it possible to get this information (if available) in the JSON/map format?

Many thanks for your help.

Pete

@gzotti gzotti added this to the 24.1 milestone Jan 22, 2024
@gzotti gzotti added enhancement Improve existing functionality importance: low Small problem, rarely visible, no crash labels Jan 22, 2024
@gzotti gzotti self-assigned this Jan 22, 2024
Copy link

Hello @gzotti!

Thank you for suggesting this enhancement.

@Xio1996
Copy link

Xio1996 commented Jan 22, 2024

Thank you.

@alex-w alex-w self-assigned this Jan 26, 2024
@alex-w alex-w closed this as completed in 0fd4de9 Jan 26, 2024
@alex-w alex-w added the state: published The fix has been published for testing in weekly binary package label Jan 27, 2024
Copy link

Hello @gzotti!

Please check the fresh version (development snapshot) of Stellarium:
https://github.com/Stellarium/stellarium-data/releases/tag/weekly-snapshot

@Xio1996
Copy link

Xio1996 commented Jan 27, 2024

@gzotti Thank you for adding the functionality, exactly what I needed.

@alex-w alex-w removed the state: published The fix has been published for testing in weekly binary package label Mar 26, 2024
Copy link

Hello @gzotti!

Please check the latest stable version of Stellarium:
https://github.com/Stellarium/stellarium/releases/latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve existing functionality importance: low Small problem, rarely visible, no crash
Development

No branches or pull requests

3 participants