Skip to main content
Open

ShortestPathFinder - Handle a network with both two-way and one-way edges

Related products:Transformers
  • September 26, 2018
  • 1 reply
  • 45 views

graemebrown
Contributor
Forum|alt.badge.img+3

ShortestPathFinder can currently handle either one-way or two-way streets, but it doesn't handle a mixed network well. Setting Cost Type to "By Two Attributes" and setting the reverse cost to a large number for one-way streets works as a workaround, but it's not very elegant and not foolproof. It would be great if we could indicate that a street is one-way by setting the reverse cost to negative or null.

1 reply

ebygomm
Evangelist
Forum|alt.badge.img+51
  • Evangelist
  • November 14, 2018

Agree, currently even a large reverse cost won't prevent travel the wrong way down one way streets if it is the only route available.