<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 Thorsten,<br><br>I think it should be easy to report the "wrong" ones, but<br>I am not sure what bug is causing this. I'd say the problem is <br>in the boundaries then, and it has nothing to do with<br>round-abouts here.<br>The two counters are based on the result of the LocationHook<br>which depends on the --bounds and maybe the --autofill-location <br>option and also on --country and --country-abbr.<br><br>The check works like this:<br>For each road, the LocationHook sets the values like <br>mkgmap:admin_level2 .. mkgmap:admin_level10<br>These are used in inc/address to set the mkgmap:country<br>which in turn is used to get the drive_on rule from<br>resources\LocatorConfig.xml <br>When this returns a wrong result, I guess that either <br>the LocationHook sets a wrong mkgmap:admin_level2<br>or the country is missing in LocatorConfig.xml.<br><br>Gerd<br><br><div>> Date: Mon, 4 May 2015 14:59:38 +0200<br>> From: kukuk@suse.de<br>> To: mkgmap-dev@lists.mkgmap.org.uk<br>> Subject: [mkgmap-dev] Request for feature: show wrong roundabouts<br>> <br>> <br>> Hi,<br>> <br>> from time to time I see this in the log files:<br>> <br>> Attention: Tile contains both drive-on-left (1) and drive-on-right roads (15389)<br>> <br>> The one "drive-on-left" road is clearly a bug in the OSM data.<br>> But finding that is pretty hard (I found one once by accident ...).<br>> <br>> I wanted to try to implement this myself, but I currently<br>> don't see that I have the time to dig into the code myself,<br>> that's why I write here my idea:<br>> <br>> Could we add an option (--x-report-wrong-direction or something<br>> similar), and if drive-on=left or drive-on=right is set,<br>> write the roads with the wrong direction into the log file?<br>> If drive-on= isn't set at all or to "detect", nothing<br>> should be written.<br>> So, additonal to increasing the counter, write the ID at that time<br>> to the log, too.<br>> <br>> Thanks,<br>> Thorsten<br>> <br>> -- <br>> Thorsten Kukuk, Senior Architect SLES & Common Code Base<br>> SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany<br>> GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg)<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>