kronchev
- 31
- 0
Does anyone have a quick method to do this?
The discussion centers around methods for converting latitude and longitude coordinates into Cartesian coordinates. Participants explore various mathematical transformations and conventions, addressing both spherical and planar representations.
Participants express differing views on the definitions of angles in spherical coordinates, indicating a lack of consensus on the conventions used. Additionally, multiple methods for conversion are presented, with no agreement on a single preferred approach.
Participants note that the definitions of θ and φ can vary between mathematical and physical contexts, which may affect the interpretation of the conversion methods. The discussion also highlights the complexity of accurately representing spherical coordinates in a Cartesian system.
This discussion may be of interest to those studying geodesy, navigation, or coordinate transformations in mathematics and physics.
I believe [tex]z = \rho \cos{\phi}[/tex] and [tex]x = \rho \cos{\theta} \sin{\phi}[/tex]cookiemonster said:It's just a straight application of the spherical coordinate transformation.
[tex]x = \rho \sin{\theta} \cos{\phi}[/tex]
[tex]y = \rho \sin{\theta} \sin{\phi}[/tex]
[tex]z = \rho \cos{\theta}[/tex]
Where [itex]\phi[/itex] is the longitude, [itex]\theta[/itex] is the latitude, and [itex]\rho[/itex] is the radius of the Earth.
cookiemonster
deltabourne said:I believe [tex]z = \rho \cos{\phi}[/tex] and [tex]x = \rho \cos{\theta} \sin{\phi}[/tex]![]()
HallsofIvy said:Maybe this is an "America against the rest of the world" thing but every text I've ever seen defines φ to be the angle the straight line from (0,0,0) to the point makes with the positive z axis while θ is the angle the projection of that line onto the xy-plane makes with the positive x-axis.
MathWorld said:A system of curvilinear coordinates which is natural for describing positions on a sphere or spheroid. Define [tex]\theta[/tex] to be the azimuthal angle in the xy-plane from the x-axis and [tex]\phi[/tex] to be the polar angle from the z-axis with ...
Unfortunately, the convention in which the symbols and are reversed is frequently used, especially in physics, leading to unnecessary confusion. The symbol [tex]\rho[/tex] is sometimes also used in place of r. Arfken (1985) uses [tex](r, \phi, \theta)[/tex], whereas Beyer (1987) uses [tex](\rho, \theta, \phi)[/tex]. Be very careful when consulting the literature.
kronchev said:Does anyone have a quick method to do this?
kronchev said:Does anyone have a quick method to do this?