Formula 1

\theta = atan2 (

sin(\Delta\lambda)\cdot cos (\phi_2),

cos(\phi_1)\cdot sin (\phi_2)-sin (\phi_1)\cdot cos(\phi_2)\cdot cos(\Delta\lambda)

)

Variables

\phi_1 , \phi_2 = Latitude of the first and second coordinate

\lambda_1 , \lambda_2 = LongitudeĀ of the first and second coordinate

\Delta\lambda = \lambda_2 - \lambda_1


Leave a Reply

Your email address will not be published.