AngleConverter
Converts angles of a feature's geometry and/or attributes from one representation to another.
Input Ports
This transformer accepts any feature.
Output Ports
All processed features are output through this port.
Parameters
Choose from Geometry and Attributes or Attributes Only.
If geometry is being converted, then it assumed that the geometry of the input features is represented in the source angular format and will be converted to the destination angular format. For example, if a two-point line is represented in DDMMSS as 1800000,223000 900000,450000, then it would be represented as 180,22.5 90.0,45.0 when converted to DECIMAL_DEGREES.
Choose from the list of attributes containing angles that are to be converted.
DECIMAL_DEGREES, RADIANS, DDDMMSS, DDDMMSSSS, NSDDEW, NSDDMMSSEW and DD1234
where:
- DECIMAL_DEGREES - The angle is represented as decimal degrees.
- RADIANS - The angle is represented as radians.
- DDDMMSS - The angle is represented as an integer in degrees, minutes, seconds. For example, 180 degrees would be 1800000, and 22.5 degrees is represented as 22 degrees and 30 minutes and encoded as 223000.
- DDDMMSSSS - The angle is represented as an integer in degrees, minutes, hundredths of a second. For example, 180 degrees would be 180000000, and 22.5 degrees is represented as 22 degrees and 30 minutes and encoded as 22300000.
- NSDDEW - The angle is represented as decimal degrees with an indicated bearing. The degrees will never exceed 90 degrees. For example, 150 degrees would be represented as S30E.
- NSDDMMSSEW - The angle is represented as an integer in degrees, minutes, and seconds with a bearing indicating direction. The degrees will never exceed 90. For example 180 degrees would be S00-00-00E, and 22.5 degrees is represented as North 22 degrees and 30 minutes East and encoded as N22-30-00E.
- DD1234 - The angle is represented as decimal degrees followed by a quadrant. Quadrant 1=NE, 2=SE, 3=SW and 4=NW. The decimal degrees will never exceed 90. For example 150 degrees will be represented as 30-2.
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.