Rounds off the coordinates of the feature to the specified number of decimal places. Any consecutive points that become duplicates as a result of the rounding are thinned by removing the redundant points.
This transformer may be used to remove superfluous decimal points in the coordinates when they are destined for an ASCII output file.
The precision values control the number of decimal places that the coordinates are rounded to. A value of 0 causes the coordinates to be rounded to the nearest integer. A value of 1 causes rounding to the nearest tenth of a unit. Negative values are allowed. A value of -1 causes rounding to the nearest 10.
Each parameter may either be entered as a number, or can be taken from the value of a feature attribute by selecting the attribute name from the pull-down list.
If the Geometry Handling Advanced setting is set to “Enhanced” in the workspace, arcs have their start and end points rounded off, and ellipses aren’t touched; otherwise, arcs and ellipses have their center points rounded off.
About Transformer Parameter Options
Search for samples and information about this transformer on FMEpedia.