<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi,<br>
      <br>
      Just wanted to let you know that you are not alone who is making
      an effort to understand how Nominatim database works.<br>
      <br>
      When I try to pull about fifty locations into an XML file with a
      query by the tag <b>int_name</b> either from:<br>
      <br>
      <a class="moz-txt-link-freetext" href="http://nominatim.openstreetmap.org/search/">http://nominatim.openstreetmap.org/search/</a><br>
      or its mirror:<br>
      <a class="moz-txt-link-freetext" href="http://open.mapquestapi.com/nominatim/v1/search.php">http://open.mapquestapi.com/nominatim/v1/search.php</a><br>
      <br>
      it returns all but four locations. I tried to rewrite <b>int_name</b>
      tag for these 4 locations. Tried to rewrite again, while making
      sure that I use English characters. It does not help.<br>
      <br>
      But when I pull these objects with combination with their
      respective city name, it returns them all right. I am trying to
      figure out the reason of this issue for several weeks already.<br>
      <br>
      Perhaps it will just take some time to understand how Nominatim
      database works. It seems that it is not that simple as an SQL
      query to say MySQL database. The Nominatim database should be very
      big, and there could be some limitations, or delays, ...<br>
      <br>
      brgds<br>
      Oleksiy<br>
      <br>
      On 24.11.2014 2:43, maning sambale wrote:<br>
    </div>
    <blockquote
cite="mid:CAPzumuHTg5XyzyLuBeHKBShN1z+cV1Ho=6Wq7USKZmJ6o5ux1A@mail.gmail.com"
      type="cite">
      <pre wrap="">Hi,

We were informed by our national mapping agency of this concern.  For
a brief of background,
the Philippines have several disputed islands with China one example
is Scarborough Shoal [0].

The Nominatim result assigns it only to Sansha City, Hainan, People's
Republic of China [1]

To avoid further edit wars, we tagged the boundary as disputed territory [0]

I believe the data is correct having properly tagged in an admin_level
relation for both countries.

Zambales, Philippines: <a class="moz-txt-link-freetext" href="http://www.openstreetmap.org/relation/1504691">http://www.openstreetmap.org/relation/1504691</a>
Sansha City, China: <a class="moz-txt-link-freetext" href="http://www.openstreetmap.org/relation/2833102">http://www.openstreetmap.org/relation/2833102</a>

I propose that Nominatim either display all the results or none at all
(saying it is a disputed territory) to avoid confusion.

Furthermore, we already informed our mapping agency of OSMF's
statement regarding this matter [3].

This post is to inform the wider OSM community  an seek advice on how
we should best represent and show results for disputed territories.
We already posted an issue to Nominatim on this matter [4].

Also, this is an appeal to connect to both PH and CN mappers not
continue reverting each others edits.  We are part of an international
community and we should not be escalating this border issue any
further into OSM.

Thanks!

[0] <a class="moz-txt-link-freetext" href="http://en.wikipedia.org/wiki/Scarborough_Shoal">http://en.wikipedia.org/wiki/Scarborough_Shoal</a>
[1] <a class="moz-txt-link-freetext" href="http://www.openstreetmap.org/search?query=Scarborough%20Shoal#map=11/15.1585/117.7653">http://www.openstreetmap.org/search?query=Scarborough%20Shoal#map=11/15.1585/117.7653</a>
[2] <a class="moz-txt-link-freetext" href="http://www.openstreetmap.org/changeset/26925523">http://www.openstreetmap.org/changeset/26925523</a>
[3] <a class="moz-txt-link-freetext" href="http://www.osmfoundation.org/w/images/d/d8/DisputedTerritoriesInformation.pdf">http://www.osmfoundation.org/w/images/d/d8/DisputedTerritoriesInformation.pdf</a>
[4] <a class="moz-txt-link-freetext" href="https://github.com/twain47/Nominatim/issues/202">https://github.com/twain47/Nominatim/issues/202</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>