Closed flaktack closed 3 years ago
Does this fix the case of car routing to Marktplatz? https://www.openstreetmap.org/directions?engine=graphhopper_car&route=48.59393%2C8.87091%3B48.59631%2C8.87007
It seems to, but the parts that depend on #66 still fail.
Ok, nice refactoring and well spotted. Let me know if this is ready for testing. Or do you plan to add more to this PR?
It is only draft since it needs a bit more testing -- it doesn't have any new tests, just a hunch that things should be better.
This improves the sitution around the market square but I've still found a couple other nasty edge cases which I will document in the main ticket.
These changes seem reasonable, don't break any existing tests, but no new ones are added. Not copying
stateDate
when setting the no-thru state might be the cause of subtle bugs, where depending on the edge traversal order routing could fail.The code
State
)stateData
when modifying the no-thru stateDominanceFunction