Extension:KML Export/dms2deg

These parser functions convert geographic coordinates in degrees-minutes-seconds notation to degree notation.

Syntax
    

Arguments

 * degrees: Degrees part of the latitude or longitude coordinate.
 * minutes: Minutes part of the latitude or longitude coordinate.
 * seconds: Seconds part of the latitude or longitude coordinate.
 * hemisphere: A single letter, either N or S for lat_dms2deg, W or E for long_dms2deg.

Returns
Both functions return the converted decimal degree value.

Example
The above wiki markup returns:

-22.951389 -43.210833