Decimal Degrees - Example

Example

The decimal degree representation of the location of the United States Capitol is:

38.889722°, -77.008889°

In most systems, such as Google Maps, the degree symbol is omitted and thus the coordinates are expressed as "38.889722, -77.008889".

A DMS value is converted to decimal degrees using the formula:

The decimal degree representation for the location of the United States Capitol of

38° 53′ 23″ N, 77° 00′ 32″ W

is:

38.889722°, -77.008889°

To calculate the D, M and S components, the following formulas can be used:

\mathrm{DD} = \begin{cases}
\mathrm{D} &= \operatorname{trunc}(\mathrm{DD}) \\
\mathrm{M} &= \operatorname{trunc}(|\mathrm{DD}| \cdot 60) \bmod 60 \\
\mathrm{S} &= \left(|\mathrm{DD}| \cdot 3600 \right) \bmod 60
\end{cases}

where |DD| is the absolute value of DD, trunc is the truncation function, and mod is the modulo operator. Note that with this formula, only S may have a fractional value.

Read more about this topic:  Decimal Degrees

Famous quotes containing the word example:

    Our intellect is not the most subtle, the most powerful, the most appropriate, instrument for revealing the truth. It is life that, little by little, example by example, permits us to see that what is most important to our heart, or to our mind, is learned not by reasoning but through other agencies. Then it is that the intellect, observing their superiority, abdicates its control to them upon reasoned grounds and agrees to become their collaborator and lackey.
    Marcel Proust (1871–1922)