Convert decimal degrees (DD), which expresses latitude and longitude
        geographic coordinates as decimal fraction, to a degrees, minutes, and
        seconds (DMS) string representation, such as 38° 53' 23" N.

        @param dd: decimal degrees of the geographic coordinates of a location
            on the Earth.

        @return: degrees, minutes, and seconds (DMS) string representation of
            this location.

def convert_dd_to_dms_string(dd):
        """
        Convert decimal degrees (DD), which expresses latitude and longitude
        geographic coordinates as decimal fraction, to a degrees, minutes, and
        seconds (DMS) string representation, such as 38° 53' 23" N.

        @param dd: decimal degrees of the geographic coordinates of a location
            on the Earth.

        @return: degrees, minutes, and seconds (DMS) string representation of
            this location.
        """
        degrees = int(dd)
        minutes = (dd - degrees) * 60
        seconds = int((minutes - int(minutes)) * 60)
        return unicode(degrees) + u'°' + unicode(int(minutes)) + u"'" + unicode(int(seconds)) + u'"'