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?

  • December 21, 2023
  • 4 replies
  • 50 views

matthewb
Contributor
Forum|alt.badge.img+11

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

DanAtSafe
Safer
Forum|alt.badge.img+21
  • 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+11
  • 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+21
  • Safer
  • January 3, 2024

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+11
  • Author
  • Contributor
  • January 3, 2024

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.