To convert coordinates

Asked by Matheus Markies

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:
Last query:
Last reply:
Revision history for this message
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.

Revision history for this message
Matheus Markies (matrirxp) said :
#2

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

Revision history for this message
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

Revision history for this message
Matheus Markies (matrirxp) said :
#4

thank you

Revision history for this message
Matheus Markies (matrirxp) said :
#5

Thanks gzotti, that solved my question.