r5 icon indicating copy to clipboard operation
r5 copied to clipboard

Turn restriction when edges are split

Open buma opened this issue 7 years ago • 6 comments

Fixes problems when turn restrictions aren't applied if from/via edge is split.

Also support splitting edges in scenarios when stops are added. If this happens original network stays the same since turnRestriction lists are copied. TurnRestrictions itself are copied only if from/via edge need to be changed.

buma avatar Apr 11 '17 11:04 buma

@buma will you be adding more commits to this PR/branch since we talked about simplifying all turn restrictions (forward/backward) as "no-turn" restrictions, with no "only" restrictions? I just wanted to check before I review / consider merging this.

abyrd avatar Apr 23 '17 11:04 abyrd

I think this can be merged. I'll do only turn -> no turn change on different branch, since I need to firstly simplify splitting. (Currently we have getOrCreateVertex and splitEdge) which both do basically the same. Only second is used only in PR linking.

buma avatar Apr 24 '17 08:04 buma

Hi @buma I'm merging some pull requests now, but unfortunately won't have time to review this in detail right away. Hopefully I will merge it tomorrow in a point release. I want to make sure we get one release out with no deep changes to street routing, just so we don't risk accidentally changing analysis results.

abyrd avatar Jun 05 '17 08:06 abyrd

The only thing @landonreed changed when resolving conflicts in his merge 35342b9 was a few imports.

abyrd avatar Jul 27 '17 14:07 abyrd

Revisiting this in October 2020, after combining r5 with analysis-backend. These changes may still be applicable but it will take some time to evaluate correctness and determine whether this will necessitate changes elsewhere in the system. This is getting into some complex areas that probably do deserve attention but may take several days to work through properly.

abyrd avatar Oct 13 '20 02:10 abyrd

Accidentally closed when cleaning up branches. I would like to revisit these old pull requests and determine whether they're still relevant.

abyrd avatar Apr 09 '21 05:04 abyrd