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 > FromDMS >

FromDMS

FromDMS
converts from degrees, minutes, and seconds to decimal degrees.
FromDMS
converts from a DMS string to decimal degrees.
FromDMS
converts from a latitude-longitude string to latitude and longitude in decimal degrees.
  • FromDMS supports all common DMS string formats, with delimiters such as , , , and , , .
  • FromDMS allows strings containing cardinal directions N, , E, . N and E give positive angles; and give negative angles.
  • FromDMS supports latitude-longitude formats, with or without cardinal directions explicitly specified.
  • Results in decimal degrees can be converted to radians by multiplying by Degree.
Convert from a DMS list to an angle in radians:
Convert from a DMS string:
Convert from a DMS string:
Convert from a latitude-longitude specification:
Convert from a DMS list to an angle in radians:
In[1]:=
Click for copyable input
Out[1]=
 
Convert from a DMS string:
In[1]:=
Click for copyable input
Out[1]=
 
Convert from a DMS string:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
 
Convert from a latitude-longitude specification:
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
Format:   HTML  |  CDF