Skip to main content
Question

Convert decimal coordinates to DMS format with hemisphere (E / N)

  • March 10, 2026
  • 1 reply
  • 7 views

fakimochere
Contributor
Forum|alt.badge.img+3

Hello,

I am trying to convert decimal coordinates into a DMS format with hemisphere indication.

Example:

Decimal format:
1.4861803 ; 43.5713123

Target format:
1°29'10.2491" E ; 43°34'16.7243" N

In my workflow, I used the DMSCalculator transformer to split the coordinates into degrees, minutes and seconds. This part works correctly.

However, I am now stuck when trying to reconstruct the final formatted string. I am not sure what is the best way to:

  • concatenate degrees, minutes and seconds into a single formatted value

  • add the correct hemisphere suffix (E/W for longitude and N/S for latitude)

My goal is to automatically produce a final attribute formatted like:

1°29'10.2491" E

and

43°34'16.7243" N

Does anyone know the best approach in FME to rebuild this format after using the DMSCalculator?

Thanks in advance for your help.

1 reply

geomancer
Evangelist
Forum|alt.badge.img+63
  • Evangelist
  • March 10, 2026

Same question, same user, with response can be found here: