# 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
2016-11-03
 gzotti (georg-zotti) said on 2016-11-02: #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 on 2016-11-03: #2

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

 gzotti (georg-zotti) said on 2016-11-03: #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 on 2016-11-07: #4

thank you

 Matheus Markies (matrirxp) said on 2016-11-07: #5

Thanks gzotti, that solved my question.