<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 Andrzej,<br><br>in the patch v1 I've implemented a different order.<br>1) the "dol" and "dor" counters are calculated<br>2) if neither --drive-on-left nor --drive-on-right is<br>specified and the "dol" counter is higher, set the <br>driving side to drive-on-left. I think I should<br>add code to set drive-on-right else.<br>3) This happens before check-roundabouts is used.<br>because I don't like the idea that check-roundabouts<br>depends on the first found roundabout, which might <br>be wrong in the OSM data or simply the only "dol"<br>one in a large "dor" area.<br><br>I think the option --drive-on-left or --drive-on-right<br>should always be stronger if we keep them.<br><br>Gerd<br><br><div>&gt; Date: Wed, 26 Nov 2014 13:40:30 +0100<br>&gt; From: popej@poczta.onet.pl<br>&gt; To: mkgmap-dev@lists.mkgmap.org.uk<br>&gt; Subject: Re: [mkgmap-dev] Manage drive-on-left/drive-on-right in        resources\LocatorConfig.xml<br>&gt; <br>&gt; Hi Gerd,<br>&gt; <br>&gt; my suggestion is to use following priority:<br>&gt; 1. If there is option --check-roundabouts then use roundabouts to define <br>&gt; drive-on setting.<br>&gt; 2. Use option dirve-on-left/drive-on-right.<br>&gt; 3. Use value from LocatorConfig.xml.<br>&gt; 4. Set drive-on-right.<br>&gt; <br>&gt; When using --check-roundabouts, count "dol" and "dor" and select <br>&gt; drive-on-xxx, for which there is more roundabouts. If number of "dol" == <br>&gt; "dor", then move to next point in priority list.<br>&gt; <br>&gt; -- <br>&gt; Best regards,<br>&gt; Andrzej<br>&gt; <br>&gt; _______________________________________________<br>&gt; mkgmap-dev mailing list<br>&gt; mkgmap-dev@lists.mkgmap.org.uk<br>&gt; http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br></div>                                               </div></body>
</html>