Repository navigation
Conversation
|
Thank you very much for your contribution and sorry for the late reply. This PR looks very impressive. Having turn lane support would be great. Since turn lanes are not important for the routing itself and are only required for the TurnInstruction generation, I would probably put them in a DataAccess, similar to the NameIndex. As you have seen yourself, it requires a lot of bits, and bits are very precious :). Using a DataAccess we could even think about just storing the whole turn:lane information and not needing to encode it (I am not sure if we cover every possible turn lane combination?). WDYT @karussell, could we merge something like this, using DataAccess before #1112 or do we have to wait until #1112 is finished? Regarding the PR itself, you included the tag |
|
@boldtrn Thanks for the comments. I saw the turn:lanes:forward and turn:lanes:backward I wanted to make a second pull request including them. It will take more memory (more bits are needed). |
There is a way to get around this by using a DataAccess, similar to the NameIndex or TurnCostExtension. Let's wait for Feedback from @karussell before deciding our next steps :). |
|
Thanks @aramzl for this useful and big feature! I'm not sure if we should merge such a complex thing before #1112 as this will highly likely needs a bigger refactoring. If you would have time it would be really interesting to see if you could base your PR on the mentioned branch. This could be also used as a test case if everything what we need is already possible |
|
I would try to redo it based on #1112 and create another pull request. |
|
This is awesome! Please note that this is cutting edge, and could potentially use lots of your time ... we really appreciate your feedback e.g. if this feels better from a programming perspective. |
lane_info=true in the encoder string to enable it, it requrires 8 bytes_for_flags.
0a9d402 to
01dfa71
Compare
lane_info=true in the encoder string to enable it, it requrires 8
bytes_for_flags.
@karussell
@boldtrn
Issue #1131