<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>attached is a first patch for StyledConverter.<br>I can imagine that the problem is caused by ferry connecting<br>a drive-on-left and a drive-on-right country,<br>so I decided to remove them from the counting.<br><br>Besides that a warning with the way url is logged when option<br>--drive-on=left or --drive-on=right is used and the way is<br>"wrong", and all ways are reported with logging level FINE.<br><br>You are right, I'd also prefer to have a warning that a country was<br>not found in LocatorConfig.xml. I'll have a look at this now.<br><br>Gerd<br><br><br><div>> Date: Mon, 4 May 2015 15:43:38 +0200<br>> From: kukuk@suse.de<br>> To: mkgmap-dev@lists.mkgmap.org.uk<br>> Subject: Re: [mkgmap-dev] Request for feature: show wrong roundabouts<br>> <br>> <br>> Hi Gerd,<br>> <br>> On Mon, May 04, Gerd Petermann wrote:<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>> Ok, I had in mind that we count the roundabouts. But if this<br>> is not the case ...<br>> For example on the channel islands, there are a log of wrong<br>> mapped roundabouts (according to the OSM wiki), and I hoped<br>> to find them easier.<br>> <br>> But getting a warning that a country is missing in LocatorConfig.xml<br>> or that mkgmap:admin_level2 could be wrong would help already<br>> a lot.<br>> <br>> Else this "SEVERE" log is pretty useless.<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>