<div dir="ltr"><div><div><div><div>It&#39;s not so much about the instruction - but about the time penalties.<br></div>Try out some super sharp turns - with different road-speed. there will be like 2-3 minutes penalties... No turn should be sharper than 50-60° angle left if possible - else the routing really breaks down...<br><br></div>Best would be actually to create small artificial roads to make the turn less sharp... (actually 4-5 points are enough - and have most of that turn in the additional mid 2-3 points).<br><br></div>I think adjust turn headings helps there a bit (for bicycle/foot routing - cause actual streets usually don&#39;t have relly sharp turns as cars could not do it - but for trails/pathes really awful turns exist (awful for the Garmin algo)...)<br><br><br></div>In case of crossings with 5-6 ways - even a small artifical turnaround would be great....<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 7 August 2015 at 16:40, Gerd Petermann <span dir="ltr">&lt;<a href="mailto:gpetermann_muenchen@hotmail.com" target="_blank">gpetermann_muenchen@hotmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">


<div dir="ltr">Hi Marko,<br><br><div><span class="">&gt; &gt;// also helps to produce a turn instruction when the main<br>&gt; &gt;// road bends sharply but the side road keeps close to the<br>&gt; &gt;// original heading<br>&gt; <br>&gt; Oh, that would seem to be applicable for a scenario where you have a <br>&gt; grid of highway=residential, and among them a main road (say, <br>&gt; highway=tertiary) that is going like zig-zag within the grid. Could it <br>&gt; be that Garmin is not issuing a turn instruction in this case, when the <br>&gt; main road consists of a single object (with a sharp turn in it)?<br><br></span>Do you have an example OSM id?<span class=""><br><br>&gt; <br>&gt; AFAIR, there was another option for implementing support for <br>&gt; through_route relations, in a case where a main road goes zig-zag <br>&gt; through a village. Is it still present in the code base? Maybe it makes <br>&gt; this case of --adjust-turn-headings redundant?<br><br></span>The evaluation of through-route relations is still in the code, I guess it still<br>works, but IIRC the tag is only rarely used.<br><br><br>I did a few more tests now (without --housenumbers for now).<br>I think the code for --adjust-turn-heading is somehow wrong, e.g.<br>if the calculated route is <br>entering the junction at node 1828873253<br><a href="http://www.openstreetmap.org/node/1828873253" target="_blank">http://www.openstreetmap.org/node/1828873253</a><br>from south going right will not not show a &quot;turn right&quot; instruction<br>when --adjust-turn-heading is used, but it does without the option.<br>Consequently, if the route goes straight on to way 171930600,<br>the instruction is &quot;turn left onto Börtelsdamm&quot; with and <br> no instruction without the option.<br><br>It seems that Garmin uses the &quot;Continue on&quot; instruction only on ramps.<br><br>Reg. ramps I found no positive effect with --adjust-turn-heading, I see the <br>same instructions but sometimes the calculated time is increased, probably <br>because the code increases the angle too much.<br>Maybe the option (and the code) is really obsolete since r3116 which introduced <br>the new routines for writing NOD data:<br><a href="http://www.mkgmap.org.uk/news/2014/03/19/announcement-version-r3116-is-a-major-u" target="_blank">http://www.mkgmap.org.uk/news/2014/03/19/announcement-version-r3116-is-a-major-u</a><br><br>Up to now I did my tests with real data, I&#39;ll try to create some test data to find out<br>if there is still a case where --adjust-turn-heading produces better instructions.<span class="HOEnZb"><font color="#888888"><br><br>Gerd<br><br></font></span></div></div>
                                               </div></div>
<br>_______________________________________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div><div>Felix Hartman - Openmtbmap.org &amp; VeloMap.org<br></div>Floragasse 9/11<br></div>1040 Wien<br></div>Austria - Österreich</div></div>
</div>