<div dir="ltr"><div><div>Dzięki Andrzej! By removing "road_class=2 road_speed=3" from the 2nd line, routing works and tunnels are visible - here is how it looks line:<br><br>highway=secondary & ( network=e-road | int_ref=* ) [0x04 resolution 18-19 continue]<br>highway=secondary [0x04 resolution 20-21 continue]<br>highway=secondary & tunnel=yes [0x11 road_class=2 road_speed=3 resolution 22]<br>highway=secondary [0x04 road_class=2 road_speed=3 resolution 22]</div></div><div><br></div>All looks fine now, and routable!<br><br>Enrico<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 21, 2014 at 3:30 PM, Andrzej Popowski <span dir="ltr"><<a href="mailto:popej@poczta.onet.pl" target="_blank">popej@poczta.onet.pl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Enrico,<span class=""><br>
<br>
> I believe this was my intention: up to res 21 I'd like the line to<br>
> appear as 0x04, from resolution 22 it should appear as 0x11 if a<br>
> tunnel, otherwise 0x04 - no further processing is needed. Could you<br>
> pls let me know why the reasoning is not correct?<br>
<br></span>
This is correct. I have assumed that you'd like to get 2 lines for tunnels: standard road and additional marking for tunnel.<br>
<br>
As I understand, routing parameters are only valid for layer 24 (or the last layer in a map). I would remove road_class and road_speed from line:<br>
highway=secondary [0x04 road_class=2 road_speed=3 resolution 20-21 continue]<br>
<br>
Maybe this is the reason for routing errors?<div class="HOEnZb"><div class="h5"><br>
<br>
-- <br>
Best regards,<br>
Andrzej<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>