<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Enrico,<br><br>I think the problem is the order of lines.<br>Your map contains two lines, and we don't know any way <br>to make sure which one is on top.<br>With primary roads you first add the tunnel, so I'd say<br>you should do that also with secondary roads.<br><br>Gerd<br><br><div><hr id="stopSpelling">Date: Mon, 20 Oct 2014 22:49:06 +0200<br>From: eliboni@gmail.com<br>To: mkgmap-dev@lists.mkgmap.org.uk<br>Subject: [mkgmap-dev] Rendering Tunnels<br><br><div dir="ltr"><div>I'm having troubles on rendering tunnels properly on secondary ways. I have my typ file with a dark line (0x11), in the line's style file I set:<br><br>highway=secondary & ( network=e-road | int_ref=* ) [0x04 resolution 18-19 continue]<br>highway=secondary [0x04 road_class=2 road_speed=3 resolution 20 <b>continue</b>]<br>highway=secondary <b>& tunnel=yes</b> [<b>0x11</b> road_class=2 road_speed=3 resolution 21]<br><br></div>however I can't see those tunnels... what's is wrong in the logic? I though i fully understand the meaning of "continue".<br><br> On the other side on primary roads, where I have 0x10202 and 0x03 defined in the typ file I can see tunnels properly:<br><div><br>highway=primary & ( network=e-road | int_ref=* ) [0x10202 resolution 15-17 continue]<br>highway=primary [0x10202 road_class=3 road_speed=4 resolution 18-21 continue]<br>highway=primary & tunnel=yes [0x11 road_class=3 road_speed=4 resolution 22]<br>highway=primary [0x03 roadclass=3 road_speed=4 resolution 22]<br><br></div><div>Any hint is appreciated, thanks<br><br></div><div>Enrico<br></div></div>
<br>_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</div>                                            </div></body>
</html>