Tool to get the shortest path in a compass course. The compass is a navigational instrument for locating the North and by extension the South, West and East.

Compass Course - dCode

Tag(s) : Geography

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*!

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

Sponsored ads

Tool to get the shortest path in a compass course. The compass is a navigational instrument for locating the North and by extension the South, West and East.

dCode will travel the requested path and calculate the final position. This position is then given by 2 coordinates with respect to the starting point.

Going 10 steps to the East then 10 steps to the West is to return to the starting point. So better not to have moved!

dCode calculates the path traveled, its distance but also its equivalent in a straight line.

If a treasure is 40 steps North, then 30 steps East, then 20 steps South, and 10 steps West, then indicate 40N-30E-20S-10W. dCode will simplify the path to 20N,20E, read 20 steps North and 20 steps East (relatively to the starting point). You will then have only 40 steps (20 + 20) to make instead of 100 (40 + 30 + 20 + 10) and for information, as the crow flies (in a straight line), you will be about 28.3 steps from starting point.

The expected format is number1direction1,number2direction2, ie. 2N,3E for 2 (steps, meters, etc.) direction North then 3 direction East.

Only integers are allowed

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

compass,orientation,north,souh,east,west,course,magnetic

Source : http://www.dcode.fr/compass-course

© 2017 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaches. dCode