User Tools

Site Tools


admin_boundary

This is an old revision of the document!


Admin_boundary

Zoom Level Applied: 1~19

The line representing administrative boundary, which are recognised by governments or some other organizations for administrative purposes.The administrative boundaries range from large groups of nation states to small administrative districts and suburbs. They are filtered and simplied according to the tag 'admin_level', which goes from 1 to 10 with an indication of every level of importance. For many areas, the information on where exactly the border is, is not freely available to use. NOTE: As OSM only has “boundary ” showing up what type of the line, such as “Aministrative”,“National_Park”, “maritime” etc. It doesn't have column for determining “disputed”, we consider use NE data as country data for higher zoom levels.

Columns

geometry field

geometry type : line

disputed

The disputed value determined whether the administrative boundary are controversial. The two possible values are: '0' (verify) and '1' (disputed).

admin_level

admin_level:

Value Description
2 country
4 province , state
6 county
8 town,township, subdistrict, villages and hamlets

scalerank

The scalerank field is used for province. It is a number filtered by the size of its corresponding country. Possible values are from 0(large) to 7(small).

Data Download Source

Zoom Level Possible Values Data Download Source
1 ~ 2 disputed=0,1; admin_level=2, scalerank=0(disputed = “featurecla = 'international boundary(verify)'” ) OR (disputed != “featurecla = 'international boundary(verify)'” ) ne_10m_admin_0_boundary_lines_land
3 ~ 4 disputed=0; admin_level=2,4ne_10m_admin_1_states_provinces_lines
5 ~ 6 disputed=0; admin_level=2,4ne_10m_admin_1_states_provinces_lines
7 ~ 8 disputed=0; admin_level=2,4boundary IN ('administrative') And admin_level IN ('2', '4')
9 ~ 10 disputed=0; admin_level=2,4boundary IN ('administrative') And admin_level IN ('2', '4')
11 ~ 12 disputed=0; admin_level=2,4,6boundary IN ('administrative') And admin_level IN ('2', '4', '6')
13 ~ 19 disputed=0; admin_level=2,4,6,8boundary IN ('administrative') And admin_level IN ('2', '4', '6', '8')
admin_boundary.1546852127.txt.gz · Last modified: 2019/01/07 09:08 by johnnyz