You are here: CalculatorsDecimalDegreesCalculator

DecimalDegreesCalculator

Calculates a decimal degree value from separate degrees, minutes, and seconds (DMS) values, stored in attributes.

Parameters

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

Calculators

Search FME Knowledge Center

Search for samples and information about this transformer on the FME Knowledge Center.

Tags Keywords: latitude longitude degrees minutes seconds