ToDegrees

As of Version 7.0, ToDegrees has been superseded by FromDMS.

ToDegrees[{degrees,minutes,seconds}]
converts a coordinate in degree-minute-second format to degrees.

ToDegrees[{degrees,minutes}]
converts from degrees-minutes format to degrees.

更多信息更多信息

  • To use ToDegrees, you first need to load the Geodesy Package using Needs["Geodesy`"].
  • The coordinates are adjusted to stay between -180 and 180 degrees.
  • Note that the sign of degrees is enforced on minutes and seconds; so {-34,3,2} means 34 degrees, 3 minutes, and 2 seconds W (or S), as does {-34,-3,-2}.
Translate this page: