To convert coordinates

Asked by Matheus Markies on 2016-11-01

Someone know how to convert coordinates Azimuth / Height of Stellarium to Cartesian coordinates ("X/Y/Z") ?

Question information

Language:
English Edit question
Status:
Solved
For:
Stellarium Edit question
Assignee:
No assignee Edit question
Solved by:
gzotti
Solved:
2016-11-07
Last query:
2016-11-07
Last reply:
2016-11-03
gzotti (georg-zotti) said : #1

Convesion of spherical to cartesian vector coordinates can be found in every math formula collection. Try Z=sin(altitude). That is, if your Z points up.

Matheus Markies (matrirxp) said : #2

you can help me with the X it's the Y ?

Best gzotti (georg-zotti) said : #3

Convesion of spherical to cartesian vector coordinates can be found in every math formula collection.

Really! Even in Wikipedia.

https://de.wikipedia.org/wiki/Kugelkoordinaten

Matheus Markies (matrirxp) said : #4

thank you

Matheus Markies (matrirxp) said : #5

Thanks gzotti, that solved my question.