<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 Minko,<br><br>thanks for the info. I am pretty sure that this "trick" is the cause of the problem,<br>but I am not sure if mkgmap can be improved to handle it.<br><br>If I got it right, the additional roads with access=no are also handled by the adjust-turn-headings<br>option, so maybe they are only causing trouble here.<br><br>I don't know if (or how) I can configure my Oregon to show the problem, so I've created more<br>test maps for Johan:<br><br>v3: java -jar mkgmap.jar --route --index --gmapsupp --style-file=d:\mkgmap-style-sheets-read-only\styles\world wrong-exit.osm<br>v4: java -jar mkgmap.jar --route --index --gmapsupp --adjust-turn-headings --style-file=d:\mkgmap-style-sheets-read-only\styles\world wrong-exit.osm<br>both with the original style files .<br><br>v5: java -jar mkgmap.jar --route --index --gmapsupp --style-file=d:\mkgmap-style-sheets-read-only\styles\world wrong-exit.osm<br>v6:
java -jar mkgmap.jar --route --index --gmapsupp --adjust-turn-headings
--style-file=d:\mkgmap-style-sheets-read-only\styles\world
wrong-exit.osm<br>both with a modified lines file (removed the "continue with_actions" for the roundabouts)<br><br>@Johan: Please check all 4 versions<br><br>Gerd<br><br>> Date: Fri, 3 Oct 2014 17:56:44 +0200<br><div>> From: ligfietser@online.nl<br>> To: mkgmap-dev@lists.mkgmap.org.uk<br>> Subject: Re: [mkgmap-dev] Incorrect runabout exit indication<br>> <br>> Gerd,<br>> The new styles for Lambertus you can find here:<br>> https://code.google.com/p/mkgmap-style-sheets/source/browse/#svn%2Ftrunk%2Fstyles%2Fworld<br>> <br>> The issue could be that there are two lines used for roundabouts:<br>> <br>> https://code.google.com/p/mkgmap-style-sheets/source/browse/trunk/styles/world/lines<br>> <br>> First step, an invisible routable line for the roundabouts 0x0c<br>> <br>> <br>> # Roundabouts<br>> junction=roundabout & highway=trunk [0x0c road_class=3 road_speed=2 resolution 18 continue with_actions]<br>> junction=roundabout & highway=primary [0x0c road_class=3 road_speed=2 resolution 19 continue with_actions]<br>> junction=roundabout & highway=secondary [0x0c road_class=2 road_speed=2 resolution 20 continue with_actions]<br>> junction=roundabout & highway=tertiary [0x0c road_class=1 road_speed=1 resolution 21 continue with_actions]<br>> junction=roundabout & highway=unclassified [0x0c road_class=1 road_speed=1 resolution 21 continue with_actions]<br>> junction=roundabout & !(highway=unclassified|highway=tertiary|highway=secondary|highway=primary| highway=trunk) [0x0c road_class=0 road_speed=1 resolution 22 continue with_actions]<br>> <br>> <br>> Second step, all roundabouts are made unaccessible after 0x0c is processed, in order to prevent two routable lines on top of each other:<br>> <br>> junction=roundabout {set access=no}<br>> <br>> <br>> Third step (continue with_actions) the highways are rendered, so you can see a difference in road classes on those roundabouts.<br>> The default mkgmap style (=Lambertus 'old style') renders all roundabouts the same.<br>> <br>> I think Johan's nuvi gets confused by those two routable types?<br>> <br>> <br>> _______________________________________________<br>> mkgmap-dev mailing list<br>> mkgmap-dev@lists.mkgmap.org.uk<br>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br></div>                                            </div></body>
</html>