How to convert longitude and latitude to standard unit of degree and second

Source: Internet
Author: User

The formula should be: longitude and latitude in any decimal number. The integer is the degree, and the fractional part is the score in the integer part of the number obtained by multiplying the decimal part by 60, multiply the decimal part of the number by 60
The number is the number of seconds. For example, the number of degrees converted from 36.12432314 to second is: the number of degrees is "36", and the score is an integer of "0.12432314 × 60 = 7.4593884 ".
Number of "7", the second is "0.4593884 × 60 = 27.5639304", "27.6" ---- 36 ° 7' 27.6 seconds 〃.

Calculation principle: retain the entire part, decimal number x 60 longitude: 14 ° 0.32 × 60 = 19.2 -- "19' 0.2 × 60 = 1.2 --" 1.2 then: similarly, the latitude is 52.20 = 52 ° 12' 0 longitude 〃

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.