AreaSmoother
From Fmepedia
AreaSmoother is a Workbench Transformer.
![]() |
Deprecated Function (http://en.wikipedia.org/wiki/Deprecated) This feature or function is one which is considered obsolete in the latest FME, and whose use is discouraged. |
This transformer has been replaced by the Generalizer
Smooths the feature's boundary lines by determining a new location for each vertex. The following algorithms are available:
The McMaster algorithm calculates a new location for each point by first taking the average value of the x and y coordinates of the point and a number of neighbouring points. It then slides the averaged point towards the original point according to a specified displacement value. The overall effect is that each point will be pulled towards its neighbouring points.
The Number of Neighbours parameter specifies the number of neighbours to consider for each point. For example, a value of 2 specifies that the 2 points to the left of each point, the point itself, and the 2 points to the right will be considered. The Displacement parameter specifies the location between the original and average points to move the point. For example, a value of 50 will place the point at the halfway point between the averaged point and the point's original location.
If the Number of Neighbors is greater than the number of points in the boundary, a wrap-around will be used so that each point will be changed.
In the case of adjacent polygons, collinear portions of their boundaries will be smoothed together. The remaining parts of their boundaries will be smoothed as lines. This means that no wrap-around will be used for adjacent polygons.
The McMaster Weighted Distance algorithm performs the same operations as the McMaster algorithm only it uses inverse distance weighting to take into account the distance from each neighbour to the point being moved. The overall effect is that points further away will have less "pull" than points close by.
The McMaster Weighted Distance algorithm takes a Weighting Power as an additional parameter. The Weighting Power is used to determine the weight of each neighbouring point.
Alternatively, the AreaGeneralizer transformer can be used to simplify area features without modifying each vertex's location.

