Tr:Tag:boundary=administrative
boundary = administrative |
Açıklama |
---|
An administrative boundary |
Grup: Boundaries |
Bu unsurlarla kullanılır |
Yararlı kombinasyonlar |
|
Ayrıca bakınız |
Durum: de fakto |
Bu etiket için araçlar |
An administrative boundary. Subdivisions of areas/territories/jurisdictions recognised by governments or other organisations for administrative purposes.
Administrative boundaries range from large groups of nation states right down to small administrative districts and suburbs, with an indication of this size/level of importance, given by the combo tag 'admin_level' which takes a value from 1 to 10 as described below.
The boundary=administrative tag is used on ways . It may also (or instead) be used on a relation grouping several ways. This works rather like coastline. Because ways have a maximum number of nodes, you are not required to loop around a whole administration with a single way to form a closed area (although this is a good idea for very small administrative areas)
Many administrative boundaries are currently tagged also with place=*.
Note that OSM follows On the Ground Rule. Boundaries recorded in OpenStreetMap are ones that are the most widely internationally recognised and best meets realities on the ground, generally meaning physical control. In areas without clearly defined borders, the line is approximate[1].
Note that it does not mean that OSM community considers specific invasions/wars/whatever that resulted in border change as good/desirable/welcome/wrong. OSM community attempts to map world as it exists, not as it should exist.
Note that in some cases borders may overlap without making it an incorrect tagging. It may be result of agreement between countries to administer area together[2] or to mark areas not controlled by any country, with both claiming it[3]
Super-national administrations
- European Union
Note: a trans-national administration is not a super-national organisation and should not be tagged admin_level=1.
National
boundary=administrative + admin_level=2
marks country borders, such as the border between Austria and Germany. The names of the countries is specified through the tags left:country=*, right:country=*, if used on a linear way rather than an enclosed/area way.
There is some controversy about what is the exact meaning of country. For the sake of clarity, only political entities listed on the ISO 3166 standard are to be considered countries. There also exist some dependent territories and special areas of geographical interest which do have their own ISO 3166-1 code but aren't a country. Two places that do not have codes assigned by ISO are considered countries: Kosovo and Sahrawi Arab Democratic Republic.
Country names in the table below are written in English.
Subnational
boundary=administrative + admin_level=3 to 10
marks subnational borders. The names of the subnational entities involved is specified as with national borders, with "parish", "district", "region", "province", "state"
admin_level
admin_level=1 to 10 has been introduced in order that different borders can be rendered consistently among countries (doing this based on border_type would require knowledge of their hierarchy in each country).
Besides administrative boundaries, the admin_level=* tag may also be used on features tagged with government=*. The admin_level=* values described below also apply to the capital=* and heritage=* tags.
Rendering
admin_level | Example rendering | admin_level | Example rendering | admin_level | Example rendering |
---|---|---|---|---|---|
1 | (not rendered) | 5 | 9 | ||
2 | 6 | 10 | |||
3 | 7 | 11 | (not rendered) | ||
4 | 8 | 12 | (not rendered) |
Table : Admin_level for all countries
The table is visible here.
Tool
You can use this overpass query https://overpass-turbo.eu/s/1yV0 to get :
- all nodes, ways and relations of a specific country with a tag admin_level. Just replace, on the third line, "Afghanistan" by the appropriate name (in english) of the country that you want to control
- in the result, for each line, you will have the type of the element (node, way, relation), the id of the element and several tags of the element = admin_level, name, name:en, wikidata, wikipedia
References
- ↑ https://wiki.osmfoundation.org/w/images/d/d8/DisputedTerritoriesInformation.pdf - OSMF official statement summarizing the situation of mapping disputed boundaries, borders, names and descriptions
- ↑ https://www.openstreetmap.org/relation/3659532 Condominium Luxembourg-Deutschland with other examples listed for example on https://en.wikipedia.org/wiki/Condominium_%28international_law%29#Current_condominia
- ↑ https://www.openstreetmap.org/way/8692572 Perejil Island, claimed by both Morocco and Spain. Both sides agreed not to occupy it. Mapped as outer way on Spain multipolygon, without making it inner of Morocco multipolygon.
See also
- border_type=* may be used to give the actual name of the boundary's type.
- capital=*
- United States admin_level for a more complete listing of admin_levels, some per-state.
- Relation:boundary for tagging complex borders
- Country code for adding ISO 3166-1 specific country codes
- Tools by user wambacher: https://wambachers-osm.website/boundaries/ and User:Wambacher#International_Administrative_Boundaries
- SHPtoOSMBoundaries python script. If the SHP contains Administrative Boundaries and you want to transform them into OSM in order to autogenerate and join the multiple boundary relations before importing them.
- Cosmogony is a set of tools to extract, see and check administratives boundaries from OSM