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



Is this correct?

asked 20 Oct '21, 17:52

pdsellers's gravatar image

accept rate: 0%

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:



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

permanent link

answered 20 Oct '21, 19:18

InsertUser's gravatar image

accept rate: 20%

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
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 20 Oct '21, 17:52

question was seen: 426 times

last updated: 23 Oct '21, 14:02

powered by OSQA