You are here: CollectorsNeighborFinder

NeighborFinder

Finds the Candidate features closest to each Base feature and merges their attributes onto the Base feature according to the Accumulation Mode parameter. Or, if Input is set to Candidates Only, performs the same operation using each Candidate as a Base feature, considering all other Candidates, but not itself.

Input Ports

If a feature is routed to both the Base and the Candidate input ports, then features will be compared to themselves as they are both a Base and Candidate.

If Input is set to Candidates Only, there will be no Base port. All Candidates will be compared with all other Candidates, but will not be compared to themselves.

Output Ports

Parameters

Transformer

Parameters

Attribute Accumulation

If attributes on the base and candidate feature share the same name, but are not geometry attributes that start with fme_, then they are deemed conflicted.

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

Collectors

Example

All angles are measured in degrees counterclockwise from horizontal. Where angles are not well-defined (for example, when a Candidate polygon is contained inside a Base polygon), they are set to 0.

Usage Notes

This transformer works with 2D geometries only; if an input geometry is 3D, its z-coordinate will be ignored.

This transformer has full support for points, lines, arcs, ellipses, polygons, and donuts, and has limited support for other types of geometry. Polygons, ellipses and donuts may be processed as lines or areas, depending on user selection.

FME Licensing Level

FME Professional edition and above

Technical History

Associated FME function or factory: ProximityFactory

 

Search FME Knowledge Center

Search for samples and information about this transformer on the FME Knowledge Center.

Tags Keywords: MBR "minimum bounding rectangle" neighbourfinder