<div dir="ltr"><div>Thanks for the feedback. </div><div><br></div><div>Andrezej, 0x11 is defined in the TYP file - good catch on the fact <i>&quot;<span style="font-family:arial,sans-serif;font-size:13px">secondary highways which aren&#39;t tunnels are analyzed</span>&quot;</i> at the end - although this should not impact the tunnels. </div><div><br></div><div>Gerd, you are stating the map will contain   two lines, since:<br></div><div><span style="font-family:arial,sans-serif;font-size:13px">highway=secondary  [0x04 road_class=2 road_speed=3 resolution 20 </span><b style="font-family:arial,sans-serif;font-size:13px">continue</b><span style="font-family:arial,sans-serif;font-size:13px">]</span><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">would anyway draw the line </span><span style="font-family:arial,sans-serif;font-size:13px">0x04</span><font face="arial, sans-serif"> from resolution 22 (to 24) and it likely appears &quot;above&quot; the tunnel one, right?.</font></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><font face="arial, sans-serif">So the below should solve both the comments allowing me to see tunnels from resolution 22:</font></div><div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">highway=secondary &amp; ( network=e-road | int_ref=* ) [0x04 resolution 18-19 continue]</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">highway=secondary  [0x04 road_class=2 road_speed=3 resolution 20-21 </span><b style="font-family:arial,sans-serif;font-size:13px">continue</b><span style="font-family:arial,sans-serif;font-size:13px">]</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">highway=secondary </span><b style="font-family:arial,sans-serif;font-size:13px">&amp; tunnel=yes</b><span style="font-family:arial,sans-serif;font-size:13px"> [</span><b style="font-family:arial,sans-serif;font-size:13px">0x11</b><span style="font-family:arial,sans-serif;font-size:13px"> road_class=2 road_speed=3 resolution 22]</span><br></div><div><span style="font-size:13px;font-family:arial,sans-serif">highway=secondary  [0x04 road_class=2 road_speed=3 resolution 22</span><span style="font-size:13px;font-family:arial,sans-serif">]</span><br style="font-size:13px;font-family:arial,sans-serif"></div><div><span style="font-size:13px;font-family:arial,sans-serif"><br></span></div><div><span style="font-size:13px;font-family:arial,sans-serif">In facts with this I can see the tunnels properly for secondary lines BUT routing does not work anymore, I get &quot;route calculation error&quot; whatever destination I try to set.</span></div><div><span style="font-size:13px;font-family:arial,sans-serif"><br></span></div><div><span style="font-size:13px;font-family:arial,sans-serif">Pls. let me know if this triggers something on your minds!</span></div><div><span style="font-size:13px;font-family:arial,sans-serif"><br></span></div><div><span style="font-size:13px;font-family:arial,sans-serif">Thanks again,</span></div><div><span style="font-size:13px;font-family:arial,sans-serif">Enrico</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 21, 2014 at 11:07 AM, Andrzej Popowski <span dir="ltr">&lt;<a href="mailto:popej@poczta.onet.pl" target="_blank">popej@poczta.onet.pl</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
there is other reason to put more detailed condition first. With your rules for secondary highways, all secondary highways which aren&#39;t tunnels are analyzed till the end of style, quite probably triggering some catch-all condition like this one form default style:<br>
<br>
highway=* &amp; highway!=proposed &amp; area!=yes [0x07 road_class=0 road_speed=0 resolution 23]<br>
<br>
I think that line type 0x11 is not displayed on device unless you define it in TYP file.<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Best regards,<br>
Andrzej</font></span><div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/<u></u>mailman/listinfo/mkgmap-dev</a><br>
</div></div></blockquote></div><br></div>