Re: [OSM-talk] Search results for disputed territories (Nominatim)

2014-11-24 Thread Oleksiy Muzalyev

Hi,

Just wanted to let you know that you are not alone who is making an 
effort to understand how Nominatim database works.


When I try to pull about fifty locations into an XML file with a query 
by the tag *int_name* either from:


http://nominatim.openstreetmap.org/search/
or its mirror:
http://open.mapquestapi.com/nominatim/v1/search.php

it returns all but four locations. I tried to rewrite *int_name* tag for 
these 4 locations. Tried to rewrite again, while making sure that I use 
English characters. It does not help.


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.


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, ...


brgds
Oleksiy

On 24.11.2014 2:43, maning sambale wrote:

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: http://www.openstreetmap.org/relation/1504691
Sansha City, China: http://www.openstreetmap.org/relation/2833102

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] http://en.wikipedia.org/wiki/Scarborough_Shoal
[1] 
http://www.openstreetmap.org/search?query=Scarborough%20Shoal#map=11/15.1585/117.7653
[2] http://www.openstreetmap.org/changeset/26925523
[3] 
http://www.osmfoundation.org/w/images/d/d8/DisputedTerritoriesInformation.pdf
[4] https://github.com/twain47/Nominatim/issues/202


___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Search results for disputed territories (Nominatim)

2014-11-24 Thread Martin Koppenhoefer
2014-11-24 8:17 GMT+01:00 Frederik Ramm frede...@remote.org:

 It is good to start a discussion about how to properly map competing
 claims for regions in OSM, but at the moment our data model usually
 forces us to decide on one, that's why we have the on the ground rule.



we can have several competing versions in our current data model, it is the
data consumers and other mappers that usually expect one correct version.
And we don't have nice tags to say disputed boundary, at least they do
not seem to be documented:
http://taginfo.osm.org/tags/boundary=disputed#overview
Having more than one boundary for the same area might create confusion,
but could be resolved by adding appropriate names or better references
(e.g. x territory, Swiss version, where the Swiss version part could be
expressed with a relation, e.g. role claimed_by and the country as a
member (might create circular references ;-) ).

cheers,
Martin
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


[OSM-talk] Search results for disputed territories (Nominatim)

2014-11-23 Thread maning sambale
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: http://www.openstreetmap.org/relation/1504691
Sansha City, China: http://www.openstreetmap.org/relation/2833102

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] http://en.wikipedia.org/wiki/Scarborough_Shoal
[1] 
http://www.openstreetmap.org/search?query=Scarborough%20Shoal#map=11/15.1585/117.7653
[2] http://www.openstreetmap.org/changeset/26925523
[3] 
http://www.osmfoundation.org/w/images/d/d8/DisputedTerritoriesInformation.pdf
[4] https://github.com/twain47/Nominatim/issues/202
-- 
cheers,
maning
--
Freedom is still the most radical idea of all -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
--

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Search results for disputed territories (Nominatim)

2014-11-23 Thread Frederik Ramm
Hi,

On 11/24/2014 02:43 AM, maning sambale wrote:
 I believe the data is correct having properly tagged in an admin_level
 relation for both countries.

Including a closed way in several disjunct admin relations is not
usually considered correct in OSM. It might represent a correct
recording of different claims to the feature but it breaks a number of
assumptions that writers of tools tend to make.

It is good to start a discussion about how to properly map competing
claims for regions in OSM, but at the moment our data model usually
forces us to decide on one, that's why we have the on the ground rule.

Technically, one would perhaps have to invent new relation roles for
that - the Scarborough Shoal would have to be a member of Sansha City
not in the role outer but something like disputed_outer. Which of
course is not understood by any software at the moment!

 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.

DWG has been involved in a couple of edit wars in the region and anyone
tempted to edit names or boundaries in the South China Sea and
*especially* regarding the Paracel Islands, Sansha, or the Nine-dotted
line, please don't, and contact d...@osmfoundation.org instead.

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frede...@remote.org  ##  N49°00'09 E008°23'33

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk