<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>thanks for the info, I really seems that mkgmap writes invalid data<br>in the case that doesn't work. I'll try to find out why...<br><br>Gerd<br><br><div><hr id="stopSpelling">Date: Wed, 22 Oct 2014 21:43:51 +0200<br>From: eliboni@gmail.com<br>To: mkgmap-dev@lists.mkgmap.org.uk<br>Subject: Re: [mkgmap-dev] Rendering Tunnels<br><br><div dir="ltr"><div>Gerd thanks for the comment - it's likely a bug in facs: I tried again with same result, <br><br></div><div># WORKING OK <br></div><div>enrico@gling:/opt/osm/test$ ls -l gmapsupp.img <br>-rw-rw-r-- 1 enrico enrico 87724032 ott 22 00:15 gmapsupp.img<br><br>#copied lines style file to lines_last adding "road_class=2 road_speed=3"<br>enrico@gling:/opt/osm/mystyle/r2946/default$ diff lines lines_last<br>172c172<br>< highway=secondary [0x04 road_class=2 road_speed=3 resolution 20-21 continue]<br>---<br>> highway=secondary [0x04 resolution 20-21 continue]<br><br></div><div># ROUTING IS BROKEN<br></div><div>enrico@gling:/opt/osm/test$ ls -l gmapsupp.img <br>-rw-rw-r-- 1 enrico enrico 88676352 ott 22 21:30 gmapsupp.img<br><br></div>note that the latter gmapsupp.img with broken routing is 1MB larger than the working one, so it has clearly something more in it while it should not if the routing graph is just the result of res 24 ways...<br></div><div class="ecxgmail_extra"><br><div class="ecxgmail_quote">On Wed, Oct 22, 2014 at 8:37 AM, Gerd Petermann <span dir="ltr"><<a href="mailto:gpetermann_muenchen@hotmail.com" target="_blank">gpetermann_muenchen@hotmail.com</a>></span> wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">
<div><div dir="ltr">Hi Enrico,<br><br>I think this change should NOT have an influence on routing, so it would be an <br>error in mkgmap if it does.<br>Please double check this result.<br><br>Gerd<br><br><div><hr>Date: Tue, 21 Oct 2014 23:33:31 +0200<br>From: <a href="mailto:eliboni@gmail.com" target="_blank">eliboni@gmail.com</a><br>To: <a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>Subject: Re: [mkgmap-dev] Rendering Tunnels<div><div class="h5"><br><br><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><br><div>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 style="border-left:1px #ccc solid;padding-left:1ex;">Hi Enrico,<span><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><div><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>
<br>_______________________________________________
mkgmap-dev mailing list
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></div></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" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br></blockquote></div><br></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>