DMSList

DMSList[θ]

converts an angle θ 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.

Details

  • 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.

Examples

open allclose all

Basic Examples  (3)

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]=

Scope  (5)

Generalizations & Extensions  (3)

Properties & Relations  (3)

Possible Issues  (2)

See Also

DMSString  FromDMS  Degree  GeodesyData  GeoPosition  GeoDistance  NumberDecompose

Introduced in 2008
(7.0)