<div dir="ltr"><div>in the meantime - I have started to make some modifications to the Path class (which makes all other changes unnecessary) - now I am at the part, where I want to calculate the "turning" direction... IMHO it's essential to know, at the current point, what "alternatives" would be available...<br>
<br></div>If there is "no alternative" and it's just straight ahead, then I do not need a "turn" instruction [right now when the street is just changing it's name you get also a "turn" instruction] - so basically I am looking for a "method" - that I can call in order to get the alternative 'way's' (based on the chosen vehicle type) at my given (current) joint position. Is there something like that already? [I assume you need that kind of info during the route calculation itself]...<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-30 16:06 GMT+02:00 Matthias Marquardt <span dir="ltr"><<a href="mailto:marquardt24@gmail.com" target="_blank">marquardt24@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hello Peter,<br><br></div>after I have spend some additional hours with the current instruction list code - I understand & agree that you say that there is the need for an enhancement - I am not in the position yet to say "I am going to accept the challenge" - but you can be sure, I am going to look into the current implementation and try to find some ways to improve it. First assumption would be, that the current data structure should not be touched [even if it would be very helpful to make use of osm way attributes like 'highway = motorway-link' and the use "fahren Sie auf..." and "fahren Sie ab..." instead of "turn left" or "turn right"... - the same applies to roundabouts ] - So before I am going to look into the special "outdoor" use case, I understand that you want to change (and looking for a volunteer) the list generation in general - right?<br>
<br></div><div>Would it be possible to have a direct conversation between us (in order to speak about possibilities (what will be "good" ideas and what will be "bad" ideas - what will be a fast solution, quick hack or long term project) and the available objects that might could be used additionally - I find it quite hard to describe my ideas by eMail - and Klaus B. had let me know, that you are a very gentle guy ;-)<br>
</div><div><div><div><div><br></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-30 9:47 GMT+02:00 Peter <span dir="ltr"><<a href="mailto:graphhopper@gmx.de" target="_blank">graphhopper@gmx.de</a>></span>:<div>
<div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br>
> Actually I think I have now a much better understanding how gh<br>
> InstructionList generation is working (and where it potentially<br>
> should/could be tweaked) - I also understood, that right now you don't<br>
> think, that this adjustment could make it into gh (might be simply<br>
> cause I was not able yet to explain and motivate it sufficient enough).<br>
<br>
</div>Maybe, yes ;)<br>
<br>
To make it clear: the instructions really need an enhancement but we'll<br>
have to make sure this won't introduce cluttering the instruction list<br>
(very important for long routes) as well as improving correctness and<br>
avoiding overhead (e.g. regarding the name list you mentioned). So I<br>
think we also need more tests for this and a more clear definition of<br>
what we need and how better instructions can be determined.<br>
<br>
And even if you only have only a workaround: feel free to post a link to<br>
your repo here so that others know.<br>
<br>
Regards,<br>
Peter.<br>
<div><div><br>
_______________________________________________<br>
GraphHopper mailing list<br>
<a href="mailto:GraphHopper@openstreetmap.org" target="_blank">GraphHopper@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/graphhopper" target="_blank">https://lists.openstreetmap.org/listinfo/graphhopper</a><br>
</div></div></blockquote></div></div></div><br><br clear="all"><div class=""><br>-- <br>Matthias Marquardt<br><span><a href="http://about.me/matthiasmarquardt" target="_blank">http://about.me/matthiasmarquardt</a></span><br>
<br>[FileScout | iMazing | Iconify | TOMPlayer | LittleBrother | GPSLogger II | GPSiesConnect]<br>
<a href="http://www.emacberry.com/" target="_blank">http://www.emacberry.com</a><br>
<span><a href="http://about.me/matthiasmarquardt" target="_blank"></a></span>
</div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Matthias Marquardt<br><span><a href="http://about.me/matthiasmarquardt" target="_blank">http://about.me/matthiasmarquardt</a></span><br><br>[FileScout | iMazing | Iconify | TOMPlayer | LittleBrother | GPSLogger II | GPSiesConnect]<br>
<a href="http://www.emacberry.com/" target="_blank">http://www.emacberry.com</a><br>
<span><a href="http://about.me/matthiasmarquardt" target="_blank"></a></span>
</div>