Convert degree: Difference between revisions
Jump to navigation
Jump to search
m (+ utm_which_zone.sh, a shell script to determine UTM zone from Lat/Lon input) |
m (restored link to external site) |
||
Line 31: | Line 31: | ||
== See also == | == See also == | ||
* | * https://www.fcc.gov/encyclopedia/degrees-minutes-seconds-tofrom-decimal-degrees | ||
* [[AddOns#Miscellaneous_Add-ons|utm_which_zone.sh]], a shell script to determine UTM zone from Lat/Lon input | * [[AddOns#Miscellaneous_Add-ons|utm_which_zone.sh]], a shell script to determine UTM zone from Lat/Lon input | ||
[[Category: FAQ]] | [[Category: FAQ]] |
Latest revision as of 10:39, 1 December 2015
Converting between sexagesimal and decimal degree notations
Converting from sexagesimal (DMS) to decimal degree notation
To convert from sexagesimal degree to decimal degree notation the degree value is kept, the minutes value is divided by 60, the seconds value is divided by 3600 and the results are summed. An example of a conversion of 12 degree 45 min 50 sec north (usually denotes as 12:45:50N):
12 degree -> 12.00000 degree 45 min / 60 -> 0.75000 degree 50 sec / 3600 -> 0.01389 degree ---------------- addition of values ---------- 12.76389 degree (decimal degree notation)
Converting from decimal to sexagesimal degree notation
To convert from decimal degree to sexagesimal degree notation the calculation is done as illustrated by an example for a conversion of 12.7689 degree (decimal notation):
12.76389 -> 12 degree, remainder 0.76389 0.76389 * 60 -> 45 minutes, remainder 0.8334 0.8334 * 60 -> 50 seconds ---------------------------------------------- 12:45:50N degree (sexagesimal degree notation)
The N for north has to be added to complete the sexagesimal notation, since the value is positive in decimal notation. GRASS supports both notations for latitude-longitude coordinate system.
See also
- https://www.fcc.gov/encyclopedia/degrees-minutes-seconds-tofrom-decimal-degrees
- utm_which_zone.sh, a shell script to determine UTM zone from Lat/Lon input