Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Computable Data > Geographic Data > Geodesy >

DMSList

DMSList[Theta]
converts an angle Theta given in decimal degrees to a DMS list {degree, minute, second}.
DMSList["dms"]
converts a DMS string to a DMS list {degree, minute, second}.
DMSList["latlong"]
converts a latitude-longitude string to a pair of DMS lists.
  • DMSList["dms"] supports all common DMS string formats, with delimiters such as °, ', ", and d, m, s.
  • DMSList[{d, m, s}] returns a standardized degrees-minutes-seconds list with minute and second values between 0 and 60.
Convert an angle given in decimal degrees to {degree, minute, second}:
Convert from a string:
This canonicalizes a DMS list:
Convert an angle given in decimal degrees to {degree, minute, second}:
In[1]:=
Click for copyable input
Out[1]=
 
Convert from a string:
In[1]:=
Click for copyable input
Out[1]=
 
This canonicalizes a DMS list:
In[1]:=
Click for copyable input
Out[1]=
New in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team