ChangeDetector

Detects changes between two sets of input features.

One set of features enters the transformer via the ORIGINAL port. The other set enters via the REVISED port.

An ORIGINAL feature is output via the UNCHANGED port when it is found to have either matching geometry, matching attribute values, or both, with a feature in the REVISED set.

An ORIGINAL feature is output via the DELETED port when no match for it can be found in the REVISED set.

A REVISED feature with no match in the ORIGINAL set is output via the ADDED port.

Match Geometry controls whether 2D or 3D (or NONE) geometry must be the same before a match is declared.  FULL makes sure 3D, measures, and Geometry Attributes all match. When comparing raster geometries: 2D matches the properties; 3D matches the properties and values; and FULL matches the properties, values and geometry traits. When comparing surface and solid geometries: 2D behaves the same way as 3D, that is, Z values will also be compared.

If Lenient Geometry Matching is set to Yes, then the order of points in area features will be ignored. Composition differences between paths and lines will be ignored. True arcs and ellipses versus their stroked polygon equivalents will be ignored in Aggregates, Polygons, Donuts, Paths, and all other multis. This transformer does not support surfaces or solids in the input if Lenient Geometry Matching is set to Yes.

If Treat Blank Value as Different From Missing Attribute is Yes, then an attribute will be considered different for two features when one feature contains the attribute with a blank value and the other feature does not contain the attribute at all.

When geometry is being matched, Extra Vertex Tolerance can allow for extra vertices along line segments. A value of 0 means that no such extra vertices are permitted. A nonzero value controls how close any extra vertices must be to the line connecting the adjoining matching vertices.

For surface and solid geometries, Interior Vertex Tolerance and Extra Vertex tolerance are ignored and assumed to be 0.0.

Note: This setting has no effect when using lenient geometry matching.

The Matcher provides a more general approach, which may be more convenient for certain applications.

Example

FME Function or Factory Used

MatchingFactory