Hello, I have spotted this. As far as I know admin_level is a country level, not for cities... https://nominatim.openstreetmap.org/ui/details.html?osmtype=N&osmid=240109189&class=place&tags= Is this correct? asked 20 Oct '21, 17:52 pdsellers |
One Answer:
From the wiki for
So I assume the editor that added that meant to indicate that it is the capital of an answered 20 Oct '21, 19:18 InsertUser edited 20 Oct '21, 19:18 |


Yes https://www.openstreetmap.org/node/240109189 needs to be
capital=2, notcapital=yes+admin_level=2. Has to be careful when doing this onplace=andboundary=administrative.@kovoschiz The page for
capital=*says thatcapital=yesis for a country and thatyesis substituted for theadmin_levelvalues for capitals for regions within a country, so I think a value ofyesimplies2?