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/Wfor longitude andN/Sfor 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.


