This is a static archive of our old OSM Help Site. Please post any new questions and answers at community.openstreetmap.org.

Should Berlin be admin level 2

2

Hello, I have spotted this. As far as I know admin_level is a country level, not for cities...

berlin

https://nominatim.openstreetmap.org/ui/details.html?osmtype=N&osmid=240109189&class=place&tags=

Is this correct?

asked 20 Oct '21, 17:52

pdsellers's gravatar image

pdsellers
41114
accept rate: 0%


One Answer:

2

From the wiki for admin_level:

In addition to the direct usage of this tag with the keys above, the numeric values used by admin_level=* are also used for tags:

capital=*

heritage=*

So I assume the editor that added that meant to indicate that it is the capital of an admin_level=2 area.

answered 20 Oct '21, 19:18

InsertUser's gravatar image

InsertUser
11.0k1369185
accept rate: 19%

edited 20 Oct '21, 19:18

Yes https://www.openstreetmap.org/node/240109189 needs to be capital=2, not capital=yes + admin_level=2. Has to be careful when doing this on place= and boundary=administrative.

(21 Oct '21, 14:50) Kovoschiz

@kovoschiz The page for capital=* says that capital=yes is for a country and that yes is substituted for the admin_level values for capitals for regions within a country, so I think a value of yes implies 2?

(23 Oct '21, 14:02) InsertUser