Converts a given angle from one coordinate system to another. The transformer uses the first coordinate of the passed-in feature and returns the angle of the specified line at the determined angle in the destination coordinate system. It is useful for converting data such as text rotations that are established in many systems in the destination coordinate system units.
To calculate the new angle, the transformer uses the:
- input length
- input angle
- input point
- source (reader) coordinate system
- destination (writer) coordinate system
and then calculates a second point in the source coordinate system by taking the first point and advancing length units in the angle heading. It then reprojects both points to determine the new angle.
This function assumes all coordinate systems are Cartesian.
Distance specified in source coordinate system coordinates. You should enter a length that is small enough to avoid distortion, but large enough to get meaningful results (for example, 1 m might be a good choice, although a range of 1 cm to 100 m would be acceptable). If your source system is in degrees, you will have to adjust the length to produce measurable results.
Angle of distance in source coordinate system. The angle is measured counterclockwise from horizontal and is specified in degrees.
The name of the reader and writer coordinate systems.
The calculated value is put into the attribute specified by the Reprojected Angle Attribute parameter.
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.
Search FME Knowledge Center
Search for samples and information about this transformer on the FME Knowledge Center.