mboeringa (2020-07-01 13:02:10+00:00): Ionvia,

Thanks for taking time to respond. I fIonvia,

Thanks for taking time to respond. I fully agree "Berlin is not a country", but it is the "country capital of Germany". I don't fully understand the reasoning you state of "admin_level" being related to government hierarchy, but that statement not being applicable to capital nodes like Berlin (don't they form an hierarchy as well?).

The Wiki page for "admin_level" also specifically states usage of "admin_level" in combination with the "capital=x" tag:
https://wiki.openstreetmap.org/wiki/Key:admin_level
"Usage": The admin_level=* values are also used for the capital=* and heritage=* tags."

So this seems to be a quite well established practice as well. I agree the "capital=2/3/4..." is listed as well on the "capital=yes" page, but this Overpass Turbo query seems to indicate the first tagging practice is the established one for now on capital nodes:

https://overpass-turbo.eu/s/VEh


I am just trying to wrap my head around what specific issue this causes in Nominatim that it lead to you wanting to remove a tag on a single node so common on all other capital nodes? It just doesn't make sense to someone not familiar with the inner workings of Nominatim like myself.

Most other country capitals, in fact almost all, seem to have the same admin_level=2 tag on the corresponding capital=yes node, so what is specific about Berlin and Germany?

What I am actually also wanting to say is that if we as community desire a change to the current tagging practice and think that from a technical point of view it is better to switch to:

"capital=2-10"

instead of:

"capital=yes"
"admin_level=2"

for all capital nodes, then maybe it is better to try and get some consensus on tagging mailing list, and then setup a project to change it wholesale (possibly through mechanical edit), instead of an apparently randomn change on a single Berlin node.
ully agree "Berlin is not a country", but it is the "country capital of Germany". I don't fully understand the reasoning you state of "admin_level" being related to government hierarchy, but that statement not being applicable to capital nodes (don't they form an hierarchy as well?).

The Wiki page for "admin_level" also specifically states usage of "admin_level" in combination with the "capital=x" tag:
https://wiki.openstreetmap.org/wiki/Key:admin_level
"Usage": The admin_level=* values are also used for the capital=* and heritage=* tags."
So this seems to be a quite well established practice as well. I agree the "capital=2/3/4..." is listed as well on the "capital=yes" page, but this Overpass Turbo query seems to indicate the first tagging practice is the established one for now on capital nodes:

https://overpass-turbo.eu/s/VEh


I am just trying to wrap my head around what specific issue this causes in Nominatim that it lead to you wanting to remove a tag on a single node so common on all other capital nodes? It just doesn't make sense to someone not familiar with the inner workings of Nominatim like myself.

Most other country capitals, in fact almost all, seem to have the same admin_level=2 tag on the corresponding capital=yes node, so what is specific about Berlin and Germany?

What I am actually also wanting to say is that if we as community desire a change to the current tagging practice and think that from a technical point of view it is better to switch to:

"capital=2-10"

instead of:

"capital=yes"
"admin_level=2"

for all capital nodes, then maybe it is better to try and get some consensus on tagging mailing list, and then setup a project to change it wholesale (possibly through mechanical edit), instead of an apparently randomn change on a single Berlin node.