Skip to main content
Question

Trace partial road using ShortestPathFinder


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 ?

2 replies

redgeographics
Celebrity
Forum|alt.badge.img+48

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+31
  • Influencer
  • 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


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