Repository navigation
Conversation
|
I simply put all three tests inside OSMReaderTest for now. |
|
Thanks again! The flags are calculated properly but without setting the reverse speed. The bug is now that when we do not set the reverse speed the This happens only infrequently as we properly fill speed and reverseSpeed in the case of So the real reason is that adding 'reverse speed' is overly complicated and too many things can go wrong when adding this to an encoder. Furthermore we should not swap the information explicitely but instead pick the correct speed bits depending on the swapped state, this would also slightly improve perf. But probably also the magic happening in the fix for #367 is not good and this fix might be not fully correct: f95a09f |
|
Thanks a bunch again to @ammagamma for making it very easy for me to reproducing this! Closing due to the fix in #711 |
Adds three tests:
creates the error described in #665 using OSM data and the GraphHopper API
shows that the Graph resulting from the OSM data is invalid in this scenario
reproduces the invalid Graph and shows how the error is produced using the bidirectional Dijkstra algorithm between the two nodes of the Graph directly