<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi Felix,</p>
<p><br>
</p>
<p>I'd like to reproduce the problem. Please let me know&nbsp;</p>
<p>a way id or post a small input file that shows the problem.</p>
<p><br>
</p>
<p>Gerd</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> mkgmap-dev-bounces@lists.mkgmap.org.uk &lt;mkgmap-dev-bounces@lists.mkgmap.org.uk&gt; im Auftrag von Felix Hartmann &lt;extremecarver@gmail.com&gt;<br>
<b>Gesendet:</b> Donnerstag, 12. November 2015 20:52<br>
<b>An:</b> Development list for mkgmap<br>
<b>Betreff:</b> Re: [mkgmap-dev] Country unification in address search</font>
<div>&nbsp;</div>
</div>
<div>Well I use the bounds file - updated every month or so from here: <a class="moz-txt-link-freetext" href="http://osm.thkukuk.de/data/bounds-latest.zip" id="LPlnk419663">
http://osm.thkukuk.de/data/bounds-latest.zip</a><br>
As for my address rules - I have the same rules for set mkgmap:country as in the default style.<br>
<br>
I wonder if adding: <br>
mkgmap:country=AT {set mkgmap:country=AUT}<br>
mkgmap:country=Aut {set mkgmap:country=AUT}<br>
<br>
<br>
would be of any help. But if I assume that the bug is in the bounds file - couldn't there be a possibility for mkgmap to harmonize it according to locator.config rules - they are pretty much covering all problem cases.<br>
Felix<br>
<br>
<div class="moz-cite-prefix">On 12.11.2015 08:56, Gerd Petermann wrote:<br>
</div>
<blockquote type="cite">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi Felix,</p>
<p><br>
</p>
<p>I think the results depends on the bounds file and your style.</p>
<p>For example, we used to have the rule<br>
</p>
<p>mkgmap:country!=* &amp; addr:country=* { set mkgmap:country='${addr:country}' }</p>
<p>in inc/address. The tag addr:country typically contains a 3-byte-ISO code like AUT,</p>
<p>but we expect 2-byte-code in mkgmap:country.</p>
<p>So, now we have the rule <br>
</p>
mkgmap:country!=* &amp; addr:country=* { set mkgmap:country='${addr:country|country-ISO:}' }<br>
<br>
<p>I am not sure if the &quot;wrong&quot; value was written to the img file, but it caused problems in the
<br>
</p>
<p>housenumber code. If that doesn't help, please post details that allow to reproduce the problem.</p>
<p><br>
</p>
<p>Gerd<br>
</p>
<br>
<div style="color:rgb(0,0,0)">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><b>Von:</b>
<a class="moz-txt-link-abbreviated" href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk">
mkgmap-dev-bounces@lists.mkgmap.org.uk</a> <a class="moz-txt-link-rfc2396E" href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk">
&lt;mkgmap-dev-bounces@lists.mkgmap.org.uk&gt;</a> im Auftrag von Felix Hartmann <a class="moz-txt-link-rfc2396E" href="mailto:extremecarver@gmail.com">
&lt;extremecarver@gmail.com&gt;</a><br>
<b>Gesendet:</b> Mittwoch, 11. November 2015 23:16<br>
<b>An:</b> Development list for mkgmap<br>
<b>Betreff:</b> [mkgmap-dev] Country unification in address search</font>
<div>&nbsp;</div>
</div>
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>
<div>Am I alone with the problem that for any country the unification of countries to a single choice in address search is not fully working?<br>
<br>
</div>
e.g. in Austria I get:<br>
</div>
Österreich (AUT) --- most addresses are found under this entry.<br>
</div>
Austria (AT)&nbsp; // AT (Austria)-- nearly no addresses found here - but it exists so some addresses are classified like this<br>
</div>
Aut -- find every result twice - but in essence it's the same as Österreich (AUT)<br>
</div>
<br>
<br>
</div>
I thought <br>
<br>
&nbsp;&nbsp;&nbsp;<i> &lt;country name=&quot;Österreich&quot; abr=&quot;AUT&quot; streetBeforeHousenumber=&quot;true&quot; postalcodeBeforeCity=&quot;true&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;variant&gt;Austria&lt;/variant&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;variant&gt;AT&lt;/variant&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;variant&gt;AUT&lt;/variant&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;variant&gt;Oesterreich&lt;/variant&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;variant&gt;Oestereich&lt;/variant&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;variant&gt;Östereich&lt;/variant&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/country&gt;<br>
</i><br>
</div>
in locatorconfig.xml should solve this. How is it possible that I do get addresses in the wrong country? In Canada i.e. it's really bad.
<br clear="all">
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div><br>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div>
<div>Felix Hartman - Openmtbmap.org &amp; VeloMap.org<br>
</div>
Floragasse 9/11<br>
</div>
1040 Wien<br>
</div>
Austria - Österreich</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre>_______________________________________________
mkgmap-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a>
<a class="moz-txt-link-freetext" href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
keep on biking and discovering new trails

Felix
openmtbmap.org &amp; <a class="moz-txt-link-abbreviated" href="http://www.velomap.org">www.velomap.org</a></pre>
</div>
</div>
</div>
</body>
</html>