Mapbox Countries v1
This vector tileset reference document includes information to help you style the data in the Mapbox Countries v1 tileset.
Mapbox Countries is a vector tileset of global administrative level-0 boundary polygons. Each boundary polygon is a territory identified by a unique ISO 3166-1 country code.
The tileset also includes individual polygons of major disputed areas and support for alternate boundary worldviews, which provides flexibility in how claimed international boundaries are displayed.
The tileset complements the
mapbox-streets-v8 tileset, which contains corresponding line and point geometries for countries.
This tileset contains only one layer with polygon features and metadata.
This layer contains the boundary polygons representing countries with a unique ISO 3166-1 code and global disputed areas.
|Disputed areas ||37|
Associated land and maritime boundary lines for the polygons can be found in the
admin layer. Centroid point labels can be found in the
place_label layer of the
The feature ID provides an identifier integer for each feature and matches the IDs in the Mapbox Boundaries product.
For practical purposes like data joins, it may be convenient to use any of the other available properties as the feature ID. This can be done in Mapbox GL JS by setting the promoteId parameter while adding the vector tile source to the map.
While no single map will reflect all global perspectives, acknowledging disputes where they exist is an important aspect of cartography and can lead to more universally usable maps. The
disputed value will always be either
false (never null). It is suggested to style disputed boundary polygons with a
disputed value of
true with using a fill-opacity value to make it semi transparent or otherwise distinct style from non-disputed areas.
The vector tiles contain multiple versions of some boundaries, each with a
worldview value indicating the intended audience. It is important to apply a worldview filter to all your style layers. Otherwise, your map will show conflicting and overlapping boundaries.
Refer to the Mapbox Boundaries worldview documentation for usage.
iso_3166_1 property contains the ISO 3166-1 (Alpha-2 code) code of the boundary. These match the 249 offcially assigned country codes in the ISO 3166-1 standard except for:
XSSovereign Base Areas (Akrotiri and Dhekelia)
D0<ISO><ISO><Number>Disputed area polygons will have the associated
iso_3166_1of the countries involved in the dispute preceeded by
The associated ISO 3166-1 (Alpha-3 code) as per ISO 3166 except for:
XSBSovereign Base Areas (Akrotiri and Dhekelia)
- Not available for disputed areas
The unique Q number (QID) of the associated country in the Wikidata Database. This can be used to query the associated Wikidata item for translated country names and various other open data attributes.
The local name for the country. Countries with multiple local languages may have local names separated by a hyphen.
The commonly used English name for the country.
For displaying map labels, it is recommended to use the point labels available in the
place_label layer of the
Region name for the country as defined in the UN M49 standard.
Sub-region name for the country as defined in the UN M49 standard.
A number between 1-6 assigned so that no adjacent countries have the same number. This can be used in an expression for creating a standard multi-color world political map.