[GIS] Identify the degree , Minutes and seconds from coordinates

formatgeojsonlatitude longitude

I have coordinates which has degree format, i want to convert it into decimal format,
For this i want to grab Degree , Minutes and seconds from coordinates.

Standard format is DDMMSS N / DDMMSS E , But i have one special type of coordinates.

The coordinate is :

4729N00937E , 472027N0114441E , 472116N0114328E , 4729N00937E

I wan to convert it into decimal format , I want to use in Geojson.

Best Answer

As you already stated in your comment, these are coordinates from a NOTAM (Notice To Airmen). The values are already in degree, minute and seconds using the format DDMMSSNDDDMMSSE or DDMMNDDDMME.

See also the following examples:

472027N0114441E --> 47°20'27''N 011°44'41''E

In case the seconds are zero, these are ommitted from the notation:

4729N00937E --> 47°29'00''N 009°37'00''E
Related Question