Skip to main content
Question

Trace partial road using ShortestPathFinder

  • July 19, 2020
  • 2 replies
  • 23 views

sunsilk11
Contributor
Forum|alt.badge.img+6

Hi, I have a road network and a start and end point on the network. The points are not snapped to the network. I would like to snap the points to the network, then trace the path between the start and end points along the network.

I have tried using vertexCreator, followed by Neighborfinder and shortestpathFinder, but no results in the output.

Any suggestions and what would be the considerations to improve performance ?

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.

2 replies

redgeographics
Celebrity
Forum|alt.badge.img+59
  • Celebrity
  • 3700 replies
  • July 20, 2020

The ShortestPathFinder has the option to do From-To node snapping, so if those points are close enough to the network they'll snap to it.

I assume that's what you're trying to do with the NeighborFinder/VertexCreator combo, that should have the same results really. AnchoredSnapper would be another option (using the network as anchor).


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3427 replies
  • July 20, 2020

As well as being snapped to the network, there needs to be a node in the network at the start and end points of your path for the shortest path finder to work. Suggest using a point on line overlayer to split your network prior to sending to the shortest path finder