Changes between Initial Version and Version 1 of Ticket #22651


Ignore:
Timestamp:
2023-01-15T07:20:02+01:00 (3 years ago)
Author:
GerdP
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22651 – Description

    initial v1  
    55
    66==== What is the expected result?
    7 A way that goes through nodes B,C,A,B,D,E,A,D so that nothing is reversed
     7A way that goes through nodes B-C-A-B-D-E-A-D so that nothing is reversed
    88==== What happens instead?
    99A popup appears that asks if directions should be changed (and requires further changes).
     
    1111==== Please provide any additional information below. Attach a screenshot if possible.
    1212Found this while looking at #22614. The algorithm in `NodeGraph.buildSpanningPath()` stops when it finds a path, it doesn't try to find one that doesn't involve any direction changes.
     13Edit: Even if I remove the way B-D JOSM doesn't find the simple solution A-B-C-A-D-E-A
    1314{{{
    1415Relative:URL: ^/trunk