Snapper

From Fmepedia

Snapper is a Workbench Transformer.

A Snapper brings end- or vertexpoints of features together (a.k.a. snapping) if they are within a certain distance of eachother and (optionally) if they have one or more attributes in common (set via the Group By option). The Snapper seems to snap to the first suitable candidate that is found and then ignores the other possible candidates. If this is not what you're looking for, the CoordinateRounder may be useful instead.

Using a Snapper you can clean up a dataset before trying more complex actions, such as building polygons. Other transformers that are often used in this context are the Extender and Intersector.

A related transformer is the AnchoredSnapper, in which one set of features is considered to be the guide for snapping.



As Hans mentions the Snapper will snap to the first suitable candidate. It may therefore undo existing snaps if the line to which a feature is already snapped is not the first to arrive in the workspace. In this situation this example workspace may be of use.

User Comments Add a new comment