Skip to main content

I have this line (the green one):
 

And I want to calculate the shortest path from the start of the line to its end across the network (the violet one).

How can I do it?

What is it the right way to do it? How can I set the parameters of the “ShortestPathFinder”?

attached files!
Tnks

 

Hi ​@gbcfgeo2025 The default parameters of the ShortestPathFinder will do just fine; but to get it to work you’ll need a properly noded network, which means nodes in the network which align with the ends of the From-To line(s).  I’ve used a Chopper and a PointOnLineOverlayer to do that, but you could also use an Intersector, TopologyBuilder, etc.