indigo-astronomy / indigo

INDIGO is a system of standards and frameworks for multiplatform and distributed astronomy software development designed to scale with your needs.
http://www.indigo-astronomy.org
Other
148 stars 64 forks source link

[RFC] display longitude as -180 .. +180? #394

Closed ckuethe closed 9 months ago

ckuethe commented 3 years ago

Any chance of switching the display of longitude to -180..+180? That would match the +/-90 degree range of latitude. 235 degrees east doesn't mean much to me whereas -125 degrees (or 125W) does. I didn't see anything in the UI that would allow me to adjust the display. On the contrary, I see a few places where longitude is normalized to 0-360, eg.

polakovic commented 3 years ago

I would like it too, but we can't change it, it will break compatibility with legacy INDI clients :(

https://indilib.org/develop/developer-manual/101-standard-properties.html#h2-general

INDIGO accepts -180...360 range, but normalise it to 0...360. Nevertheless, you're right, that it can be presented in -180...180 range in webGUI. I'll look at it later.