<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>> Date: Wed, 26 Nov 2014 13:40:30 +0100<br>> From: popej@poczta.onet.pl<br>> To: mkgmap-dev@lists.mkgmap.org.uk<br>> Subject: Re: [mkgmap-dev] Manage drive-on-left/drive-on-right in        resources\LocatorConfig.xml<br>> <br>> Hi Gerd,<br>> <br>> my suggestion is to use following priority:<br>> 1. If there is option --check-roundabouts then use roundabouts to define <br>> drive-on setting.<br>> 2. Use option dirve-on-left/drive-on-right.<br>> 3. Use value from LocatorConfig.xml.<br>> 4. Set drive-on-right.<br>> <br>> When using --check-roundabouts, count "dol" and "dor" and select <br>> drive-on-xxx, for which there is more roundabouts. If number of "dol" == <br>> "dor", then move to next point in priority list.<br>> <br>> -- <br>> Best regards,<br>> Andrzej<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>