ShortestPathFinder

Computes the shortest path of a line or lines containing a source and destination node in a network based on the length of the input or the cost (specified in an attribute) of each of the edges.

Input Ports

Output Ports

Parameters

Snap Options

Optimization Options

Usage Notes

If ShortestPathFinder produces unexpected results, consider usingAnchoredSnapperinstead. Input theFrom-To Linethrough theCandidateinput port and use the same value forSnapping Tolerance. SpecifySnapping Type=End Point SnappingandAdd Additional Vertex=NEVER.

Only linear features with non-negative cost attribute values are allowed if theCost Typeis set toBy One AttributeorBy Two Attributes. If a feature does not have the attribute specified in theForward Cost Attributeor theReverse Cost Attribute, a zero cost is used for the line. Any features with a negative cost will be output through theport.

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, clickbeside the applicable parameter. For more information, seeTransformer Parameter Menu Options.

Transformer Categories

Spatial Analysis

Related Transformers

NetworkFlowOrientor

NetworkTopologyCalculator

StreamOrderCalculator

StreamPriorityCalculator

FME Licensing Level

FME Professional edition and above

FME Community

The FME Community is the place for demos, how-tos, articles, FAQs, and more. Get answers to your questions, learn from other users, and suggest, vote, and comment on new features.

Search for samples and information about this transformer on theFME Community.