Tools to compute geographical coordinates calculations. Geographic geometry is non-euclidean and uses method of three dimensional space in order to locate geographic coordinates.

Geographic Coordinates Calculation - 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*!

See also: Azimuth

Tools to compute geographical coordinates calculations. Geographic geometry is non-euclidean and uses method of three dimensional space in order to locate geographic coordinates.

Use geocoding / geolocalisation function also available on dCode. It is not a calculation but of an association between an address and coordinates (latitude, longitude) on a map.

dCode calculate the median (middle) point on a sphere with the same radius as Earth (it is not the same than on a plan).

__Example:__ Take the coordinates P1 (45.678 N, 5.4321 E) and P2 (46.810 N, 5.1015 E), the median point is located (46.2441 N, 5.2685 E), whereas on a 2D plane it would have been slightly shifted (46.2440 N, 5.2668 E).

Knowing the starting point $ (\phi_1, \lambda_1) $ (latitude, longitude) the direction $ \theta $ (from the north) and the distance $ d $ on a sphere of radius $ R $, dCode can calculate the path (calculations in radians) and find the arrival coordinates $ (\phi_2, \lambda_2) $ by the formula:

$$ \phi_2 = \arcsin \left( \sin(\phi_1) \cos(\frac{d}{R}) + \cos(\phi_1) \sin(\frac{d}{R}) \cos(\theta) \right) \\ \lambda2 = \lambda1 + \operatorname{atan2} \left( \sin(\theta) \sin(\frac{d}{R}) \cos(\phi_1), \cos(\frac{d}{R}) − \sin(\phi_1) \sin(\phi_2) \right) $$

dCode retains ownership of the online 'Geographic Coordinates Calculation' 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 Geographic Coordinates Calculation download for offline use on PC, tablet, iPhone or Android !

Please, check our community Discord for help requests!

coordinate,map,calculation,location,latitude,longitude,geo,gps,median,azimuth,radius

Source : https://www.dcode.fr/geographic-coordinates-calculation

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

Feedback

▲