DecimalDegreesCalculator
Calculates a decimal degree value from separate degrees, minutes, and seconds (DMS) values, stored in attributes.
Parameters
After connecting this transformer, choose the attribute that contains each of the degrees, minutes, and seconds attributes. The minutes and seconds values must always be positive.
If these parameters are contained in a single attribute, see Usage Notes below.
The name of the attribute used to store the calculated decimal degree value.
Usage Notes
If the degrees/minutes/seconds are together in a single attribute, they can be parsed apart using the StringSearcher transformer.
For instance, if the attribute has the format:
-DDDMMSS.SSĀ°
the following regular expression could be used in the StringSearcher to parse it into a list attribute with three elements:
^(-?[0-9]+)([0-9][0-9])([0-9][0-9][.][0-9]*)
The three elements could then be exposed and used as input to this transformer.
Editing Transformer Parameters
Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.
Transformer Categories
Search FME Community
Search for samples and information about this transformer on the FME Community.
Keywords: latitude longitude degrees minutes seconds