Search for a tool
Azimuth

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

Results

Azimuth -

Tag(s) : Geography

dCode and you

dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day!
You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? Contact-me!


Team dCode read all messages and answer them if you leave an email (not published). It is thanks to you that dCode has the best Azimuth tool. Thank you.

This page is using the new English version of dCode, please make comments !

Azimuth

Sponsored ads

Calculation of direction with 2 points



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

Answers to Questions

How to calculate an azimut with 2 points?

dCode calculate the anglehref formed by the line passing by the 2 points and the line of the 2 poles

azimuth = atan2(y, x) with

$$ \operatorname{atan2} (y, x)=2 \arctan rac{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) $$

$$ y = \sin(long_2-long_1)*\cos(lat_2) $$

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

How to know the time with a compass and azimuth of the sun?

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

By knowing the azimuth of the sun, we can deduce the time. At noon, the sun is 180 degrees. Each difference of 15 degrees is 1 hour.

Consider the azimuth of the sun at 165 degrees. It is therefore around 11 am.

Consider the azimuth of the sun at 210 degrees. It is thus about 2 pm.

The given time is Solar Time.

Ask a new question

Source code

dCode retains ownership of the source code of the script Azimuth. Except explicit open source licence (free / freeware), any algorithm, applet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any snippet or function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in PHP (or Java, C#, Python, Javascript, etc.) which dCode owns rights can be transferred after sales quote. So if you need to download the Azimuth script for offline use, for you, your company or association, see you on contact page !

Questions / Comments


Team dCode read all messages and answer them if you leave an email (not published). It is thanks to you that dCode has the best Azimuth tool. Thank you.


Source : http://www.dcode.fr/azimuth
© 2016 dCode — The ultimate 'toolkit' website to solve every problem. dCode