Languages
[Edit]
EN

JavaScript - convert longitude and latitude from degrees, minutes, and seconds (DMS) to decimal degrees (DD)

3 points
Created by:
Creg
9600

TODO: it is required to add seconds support to parseCordinate() function to the article in the future.

 

In this article, we would like to show how in JavaScript convert longitude and latitude from degrees, minutes, and seconds (DMS) format to decimal degrees (DD) / floating point numbers.

Example calculations:

 

Practical example:

1
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.

JavaScript conversion

Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join