<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 all,<br><br>the default style file inc/address starts with these three rules:<br># first set the country code<br>mkgmap:country!=* & mkgmap:admin_level2=* { set mkgmap:country='${mkgmap:admin_level2}' }<br>mkgmap:country!=* & addr:country=* { set mkgmap:country='${addr:country}' }<br>mkgmap:country!=* & is_in:country=* { set mkgmap:country='${is_in:country}' }<br><br>I found no code in the mkgmap java sources that sets mkgmap:country, so the first rule<br>will always set mkgmap:country unless one manipulates the OSM data.<br><br>The following rules evaluate mkgmap:country and expect the ISO 1366 code with 3 characters, e.g. DEU<br>for Germany.<br>The wiki for tag addr:country says that it should contain the 2 character ISO code, e.g. DE for Germany.<br>The is_in:country tag contains the country name, not the iso code.<br><br>I think we should remove the two useless rules unless someone finds a working alternative.<br><br>Gerd<br>                                            </div></body>
</html>