2DArcReplacer
Replaces the geometry of the feature with a two-dimensional arc whose shape is set by the parameters, which can be either constant floating point values or the values of existing attributes.
Input Ports
This transformer accepts any feature.
Output Ports
Parameters
Each parameter may either be entered as a number, or taken from the value of a feature attribute by selecting the attribute name from the pull-down list.
The center x and y parameters set the origin of the arc. If these values are blank, and the input features are points, the existing feature x/y values will determine the center of the arcs. If the parameter values are blank, and the input features are not points, the operation is undefined.
The center x and y parameters set the origin of the arc. If these values are blank, and the input features are points, the existing feature x/y values will determine the center of the arcs. If the parameter values are blank, and the input features are not points, the operation is undefined.
The primary and secondary axis set the radii of the arc. Note that the primary axis need not be larger than the secondary, however, the rotation angle is always measured from the x axis to the primary axis. To make a circular arc, set both the primary and secondary axis to the same value.
The primary and secondary axis set the radii of the arc. Note that the primary axis need not be larger than the secondary, however, the rotation angle is always measured from the x axis to the primary axis. To make a circular arc, set both the primary and secondary axis to the same value.
The start angle controls where the arc begins, and is measured in degrees counterclockwise from horizontal.
The sweep angle controls the duration of the arc, and is measured in degrees. For a positive sweep angle, the arc will run counterclockwise beginning at the start angle, and ending at the sum of the start angle and the sweep angle.
The rotation angle is measured in degrees counterclockwise from horizontal, and measures the rotation of the primary axis from horizontal.
Example
Usage Notes
If the parameters for the arc are not known and need to be calculated from a linear feature’s geometry, use the ArcEstimator.
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.
Technical History
Associated FME function or factory: @XValue, @YValue