<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi<br>
    <br>
    I think you should include relations as well. Most boundary related
    things are stored in relations.<br>
    <br>
    Also, country codes need to be imported separately, like described
    here: <br>
<a class="moz-txt-link-freetext" href="http://wiki.openstreetmap.org/wiki/Nominatim/Installation#Add_special_phrases">http://wiki.openstreetmap.org/wiki/Nominatim/Installation#Add_special_phrases</a><br>
    <br>
    datendelphin<br>
    <br>
    On 02/04/12 14:28, Charles DESNEUF wrote:
    <blockquote
cite="mid:CANrnqM5ZFuMJsbJbLGLkvJVHCdWHp+v+ULUnHnSkTjpuhAv2mA@mail.gmail.com"
      type="cite">Hi all !
      <div>I tried to install my own Nominatim server and I have some
        issues with the responses it returns. I need to run a reverse
        geocoding service which is able to return information such as
        country code, state/region and locality(city, town,...) but
        nothing more specific.</div>
      <div>I have created a new osm file using osmosis, from last-week
        planet file, with a the tag-filter option to get only
        elements(nodes and ways) with tags boundary, border_type and
        place and imported it using Nominatim setup script.</div>
      <div>While I was running some tests, I noticed some errors in
        Nominatim response(Moscou with US country code, bad state in
        Rennes, France(Pays de la Loire instead of Bretagne, ...). </div>
      <div>Of course, the Nominatim instance running on Poldi returns
        valid information.</div>
      <div>Does Nominatim need all OSM data (streets, ...) to be
        efficient or did I miss something (a tag ?) ?</div>
      <div><br>
      </div>
      <div>Thank you in advance for your help.</div>
      <div><br>
      </div>
      <div>Charles</div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Geocoding mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Geocoding@openstreetmap.org">Geocoding@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstreetmap.org/listinfo/geocoding">http://lists.openstreetmap.org/listinfo/geocoding</a>
</pre>
    </blockquote>
    <br>
    <br>
  </body>
</html>