You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the turn instruction generation is not perfect. The most prominent issue IMHO are too many continue instructions. However, this opinion seems to be a bit controversial, according to #94 and #790 .
Personally, I could live without continue instructions, at all (there might be exceptions were this behavior leads to issues - I think it should work in most cases). So basically the question is how should we proceed with this issue?
I would also be fine with making this configurable, either per Profile/Encoder or with a simple config line like: number_of_instructions=none|medium (current algorithm)|frequent (see #790)
Isn't this a duplicate of #94? Or why is a new issue about turn instructions necessary?
I had the same thought. But #94 is mostly about adding instructions that are missing, this issue is more about removing unnecessary instructions, but we can close this and discuss in #94 if you want? I just didn't want to make the other issue too complex.
Every weighting should be able to control somehow the creation of turn instructions.
Interesting approach. Why would you put that in the weighting? Fastest for a car, might want to produce different instructions than fastest for pedestrians or as in @don-philipe's example fastest for visually impaired.
I just didn't want to make the other issue too complex.
I think, both issues can be improved at the same time when improving turn instruction handling. So yes, I would close here.
Why would you put that in the weighting?
Because at some point we have only one (data)encoder used from multiple Weightings. And as a Weighting can also block roads via infinity, or being used for car or foot we need this difference there or in a new InstructionCreator class or renaming the Weighting interface etc
Activity
karussell commentedon Dec 5, 2016
Isn't this a duplicate of #94? Or why is a new issue about turn instructions necessary?
Making things here configurable is overkill. Every weighting should be able to control somehow the creation of turn instructions.
boldtrn commentedon Dec 5, 2016
I had the same thought. But #94 is mostly about adding instructions that are missing, this issue is more about removing unnecessary instructions, but we can close this and discuss in #94 if you want? I just didn't want to make the other issue too complex.
Interesting approach. Why would you put that in the weighting? Fastest for a car, might want to produce different instructions than fastest for pedestrians or as in @don-philipe's example fastest for visually impaired.
karussell commentedon Dec 5, 2016
I think, both issues can be improved at the same time when improving turn instruction handling. So yes, I would close here.
Because at some point we have only one (data)encoder used from multiple
Weightings. And as aWeightingcan also block roads via infinity, or being used for car or foot we need this difference there or in a new InstructionCreator class or renaming the Weighting interface etc