<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    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">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
cite="mid:HE1PR08MB0764FE85F544A2F81C084EF59E120@HE1PR08MB0764.eurprd08.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <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 "wrong" 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 style="font-size:11pt"
              color="#000000" face="Calibri, sans-serif"><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> </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)  // 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>
                   <i> &lt;country name="Österreich" abr="AUT"
                  streetBeforeHousenumber="true"
                  postalcodeBeforeCity="true"&gt;<br>
                          &lt;variant&gt;Austria&lt;/variant&gt;<br>
                          &lt;variant&gt;AT&lt;/variant&gt;<br>
                          &lt;variant&gt;AUT&lt;/variant&gt;<br>
                          &lt;variant&gt;Oesterreich&lt;/variant&gt;<br>
                          &lt;variant&gt;Oestereich&lt;/variant&gt;<br>
                          &lt;variant&gt;Östereich&lt;/variant&gt;<br>
                      &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 wrap="">_______________________________________________
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>
  </body>
</html>