Hello All,
I am trying to create the shortest path between 48 points, but FME workbench does not display the path but at the end, I get a spider-like path (No Path) on a map. Please see image below. Thanks
Hello All,
I am trying to create the shortest path between 48 points, but FME workbench does not display the path but at the end, I get a spider-like path (No Path) on a map. Please see image below. Thanks
I believe the From_To is supposed to be a line with just two points (start and end of the Path that is to be calculated). The Network needs to be a set of connected line strings.
IN this case the From_To is a line string with 48 vertices. That might cause the issue.
I believe the From_To is supposed to be a line with just two points (start and end of the Path that is to be calculated). The Network needs to be a set of connected line strings.
IN this case the From_To is a line string with 48 vertices. That might cause the issue.
The ShortestPathFinder transformer is a transformer to find the shortest path between two points using a network of lines.
Hi @gsgoraya, The current ShortestPathFinder (at least in FME 2016.1+) accepts a polyline (i.e. a line having intermediate vertices) as a From-To line, but every vertex of the line has to match a node of the Network (exact match by default, or within a tolerance if you have specified the Snapping Tolerance parameter).
Firstly make sure if every vertex of the From-To line match a network node.
Also, remember that the ShortestPathFinder expects the lines to be properly noded, meaning that it won't route over crossing lines unless there's a node at the intersection. You can use the TopologyBuilder if you need to fix that.