Update place

master
Lukas Martinelli 2016-11-30 12:29:27 +00:00
rodzic 50fb688ed3
commit c61fbca0e1
2 zmienionych plików z 78 dodań i 19 usunięć

@ -4,11 +4,12 @@ The **OpenMapTiles** wiki contains the generated layer documentation which can a
- [boundary](boundary) - [boundary](boundary)
- [building](building) - [building](building)
- [highway](highway) - [transportation](transportation)
- [highway_name](highway_name) - [transportation_name](transportation_name)
- [housenumber](housenumber) - [housenumber](housenumber)
- [landcover](landcover) - [landcover](landcover)
- [landuse](landuse) - [landuse](landuse)
- [park](park)
- [place](place) - [place](place)
- [poi](poi) - [poi](poi)
- [railway](railway) - [railway](railway)

@ -7,31 +7,89 @@ We suggest you use different font styles and sizes to create a text hierarchy.
## Fields ## Fields
### name_en
The english `name:en` value if available.
### name ### name
The OSM [`name`](http://wiki.openstreetmap.org/wiki/Key:name) value of the POI. The OSM [`name`](http://wiki.openstreetmap.org/wiki/Key:name) value of the POI.
### rank ### capital
Countries, states and the most important cities all have a `rank` to boost their importance on the map. The **capital** field marks the
The `rank` field for counries and states ranges from `1` to `6` while the `rank` field for [`admin_level`](http://wiki.openstreetmap.org/wiki/Tag:boundary%3Dadministrative#admin_level)
cities ranges from `1` to `10` for the most important cities and continues from `10` serially based of the boundary the place is a capital of.
on the local importance of the city (derived from population and city class).
Use the `rank` field to build a text hierarchy. Possible values:
The rank value is a combination of the Natural Earth `scalerank`, `labelrank` and `datarank` values for countries
and states and for cities consists out of a shifted Natural Earth `scalerank` combined with a local rank - `2`
within a grid for cities that do not have a Natural Earth `scalerank`. - `4`
### name_en
The English `name:en` value or local `name` if not available.
### class ### class
Distinguish between `country`, `state` and other city classes like description: |
`city`, `town`, `village`, `hamlet`, `suburb`, `neighbourhood` or `isolated_dwelling`. Distinguish between continents, countries, states and
Use this to separately style the different places according to their importance (usually country and state different places like settlements or smaller entities.
Use this to separately style the different places and build
a text hierarchy according to their importance.
than cities). than cities).
values:
- continent
- country
- state
- settlement
- subregion
- other
### rank
Countries, states and the most important cities all have a
**rank** to boost their importance on the map.
The **rank** field for counries and states ranges from
`1` to `6` while the **rank** field for cities ranges from
`1` to `10` for the most important cities
and continues from `10` serially based on the
local importance of the city (derived from population and city class).
You can use the **rank** to limit density of labels or improve
the text hierarchy.
The rank value is a combination of the Natural Earth
`scalerank`, `labelrank` and `datarank` values for countries
and states and for cities consists out of a shifted
Natural Earth `scalerank` combined with a local rank
within a grid for cities that do not have a Natural Earth `scalerank`.
Possible values:
- `1`
- `2`
- `3`
- `4`
- `5`
- `6`
- `7`
- `8`
- `9`
- `10`
### subclass
Use **subclass** to do more precise styling.
Original value of the
[`place`](http://wiki.openstreetmap.org/wiki/Key:place) tag.
Possible values:
- `continent`
- `country`
- `state`
- `city`
- `town`
- `village`
- `hamlet`
- `suburb`
- `neighbourhood`
- `isolated_dwelling`
## Mapping ## Mapping