EPSG:9641 DEPRECATED

Degree representation conversion: DMH to DMSH

Attributes

Data source: EPSG

Information source: EPSG guidance note #7.

Revision date: 2002-11-22

Remarks: Applies to 2D and the horizontal component of 3D ellipsoidal systems.

Formula

In the formulas that follow, the coordinate strings are symbolically represented as follows:

deg                     decimal degrees
adeg                   absolute value of decimal degrees
ideg                     integer degrees
sdeg                   signed integer degree
min                      real-number minutes
imin                      integer minutes
sec                      real-number seconds
lathem, lonhem    hemisphere abbreviation

The degree and hemisphere parameters remain unchanged in this conversion (both forward and reverse) and also retain their position in their respective coordinate strings.

Forward calculation from DMH representation to DMSH representation:
imin = INT(min)
sec = (min - imin) * 60

Reverse calculation from DMSH representation to DMH representation:
min = imin + (sec / 60)

Example

Source CRS = WGS 84 (DMH) (CRS code 63266409).
Latitude = 35°45.153’ N, longitude = 85°12.249’ W

Target CRS in DMSH = WGS 84 (CRS code 4326)
Latitude = 35°45’09.18"N, longitude =  85°12’14.94"W
MapTiler banner