Skip to main content
Solved

ShortestPathFinder: Do intermediate stops on the From-To line need to correspond to a topological node or just a vertex on the network?


matthewb
Contributor
Forum|alt.badge.img+7

I have a linear network that I have processed with the TopologyBuilder. I have a second linear network that I defines the from-to lines for the ShortestPathFinder. My concern is that the polylines in the two linear networks are segmented differently, for example, the Topology Edges are segmented at intersections and the From-To lines are segmented at mile markers.

 

Is it necessary that the segmentation of the two networks aligns or just that the From-To vertices correspond to points on the Topology_Edges?

Best answer by DanAtSafe

Hi @Matthew Boyter​ The vertices in the From-To lines will only snap to nodes (line ends.) Try a PointOnLineOverlayer to break up the network lines with the points that will be joined into the From-To lines. FYI, an enhancement request to snap to mid-line vertices or edges has been filed as FMEENGINE-15205.

View original

4 replies

DanAtSafe
Safer
Forum|alt.badge.img+16
  • Safer
  • Best Answer
  • December 30, 2023

Hi @Matthew Boyter​ The vertices in the From-To lines will only snap to nodes (line ends.) Try a PointOnLineOverlayer to break up the network lines with the points that will be joined into the From-To lines. FYI, an enhancement request to snap to mid-line vertices or edges has been filed as FMEENGINE-15205.


matthewb
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • January 3, 2024

Thanks Dan. Do I need to run the Topologybuilder after the PointOnLineOverlayer, or does it matter?


DanAtSafe
Safer
Forum|alt.badge.img+16
  • Safer
  • January 3, 2024
matthewb wrote:

Thanks Dan. Do I need to run the Topologybuilder after the PointOnLineOverlayer, or does it matter?

No, you don't need a second TopologyBuilder. The PointOnLineOverlayer will break the network lines so there's an end-node near every vertex from the From-To lines.


matthewb
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • January 3, 2024
DanAtSafe wrote:

No, you don't need a second TopologyBuilder. The PointOnLineOverlayer will break the network lines so there's an end-node near every vertex from the From-To lines.

Thanks.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings