Tool to compute Azimuth : angle between the direction of an object and the geographic north in the horizontal plan from geographic coordinates.

Azimuth - dCode

Tag(s) : Geography

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!

A suggestion ? a feedback ? a bug ? an idea ? *Write to dCode*!

Tool to compute Azimuth : angle between the direction of an object and the geographic north in the horizontal plan from geographic coordinates.

An **azimuth** is the angle formed by the line passing by the 2 points and the line of the 2 poles.

From 2 GPS points (Point 1: latitude $ lat_1 $, longitude $ long_1 $ and Point 2 latitude $ lat_2 $, longitude $ long_2 $), the formula to calculate an **azimuth** is $$ \operatorname{azim} = \operatorname{atan2}(y, x) $$ with

$ \operatorname{atan2}(y,x) = 2 \arctan \frac{y}{\sqrt{x^2+y^2}+x} $, $ x = \cos(lat_1) * \sin(lat_2) - \sin(lat_1)*\cos(lat_2)*\cos(long_2-long_1) $ and $ y = \sin(long_2-long_1)*\cos(lat_2) $

The angle is calculated by taking as base the north geographic pole.

Every hour, the Earth rotates on itself about 15 degrees, so every hour on Earth, the sun is seen 15 degrees further west.

By knowing the **azimuth** of the sun, solar time can be calculated. At noon, the sun is 180 degrees. Each difference of 15 degrees is 1 hour.

__Example:__ The **azimuth** of the sun at 165 degrees: it is around 11 am.

__Example:__ The **azimuth** of the sun at 210 degrees: it is about 2 pm.

The given time is Solar Time.

It's the same with an orthographic variant, both spellings are accepted.

dCode retains ownership of the online 'Azimuth' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (PHP, Java, C#, Python, Javascript, Matlab, etc.) no data, script or API access will be for free, same for Azimuth download for offline use on PC, tablet, iPhone or Android !

Please, check our community Discord for help requests!

azimuth,azimut,angle,reference,measure,plan,horizon,navigation,point,geo,geography,gps,compass,solar,time,calculation,between,two,calculate,calculator,cap

Source : https://www.dcode.fr/azimuth

© 2021 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.

Feedback

▲