kopia lustrzana https://github.com/openmaptiles/openmaptiles
Add documentation on islands in place layer (#1362)
Islands have been part of the OpenMapTiles schema for more than five years (see commitspull/1363/head^2d664a2fe
and01db9a4e
and issue #68), but they're not documented in [the layer definition](https://github.com/openmaptiles/openmaptiles/blob/master/layers/place/place.yaml) or [on openmaptiles.org](https://openmaptiles.org/schema/#place). This PR fixes that by updating `layers/place/place.yaml`.
rodzic
b0e7f7884c
commit
8693822d50
|
@ -7,7 +7,8 @@ layer:
|
||||||
- ne_10m_admin_1_states_provinces
|
- ne_10m_admin_1_states_provinces
|
||||||
description: |
|
description: |
|
||||||
The place layer consists out of [countries](http://wiki.openstreetmap.org/wiki/Tag:place%3Dcountry),
|
The place layer consists out of [countries](http://wiki.openstreetmap.org/wiki/Tag:place%3Dcountry),
|
||||||
[states](http://wiki.openstreetmap.org/wiki/Tag:place%3Dstate) and [cities](http://wiki.openstreetmap.org/wiki/Key:place).
|
[states](http://wiki.openstreetmap.org/wiki/Tag:place%3Dstate), [cities](http://wiki.openstreetmap.org/wiki/Key:place)
|
||||||
|
and [islands](https://wiki.openstreetmap.org/wiki/Tag:place%3Disland).
|
||||||
Apart from the roads this is also one of the more important layers to create a beautiful map.
|
Apart from the roads this is also one of the more important layers to create a beautiful map.
|
||||||
We suggest you use different font styles and sizes to create a text hierarchy.
|
We suggest you use different font styles and sizes to create a text hierarchy.
|
||||||
fields:
|
fields:
|
||||||
|
@ -24,7 +25,7 @@ layer:
|
||||||
description: |
|
description: |
|
||||||
Original value of the
|
Original value of the
|
||||||
[`place`](http://wiki.openstreetmap.org/wiki/Key:place) tag.
|
[`place`](http://wiki.openstreetmap.org/wiki/Key:place) tag.
|
||||||
Distinguish between continents, countries, states and
|
Distinguish between continents, countries, states, islands and
|
||||||
places like settlements or smaller entities.
|
places like settlements or smaller entities.
|
||||||
Use **class** to separately style the different places and build
|
Use **class** to separately style the different places and build
|
||||||
a text hierarchy according to their importance.
|
a text hierarchy according to their importance.
|
||||||
|
@ -41,6 +42,7 @@ layer:
|
||||||
- quarter
|
- quarter
|
||||||
- neighbourhood
|
- neighbourhood
|
||||||
- isolated_dwelling
|
- isolated_dwelling
|
||||||
|
- island
|
||||||
iso_a2:
|
iso_a2:
|
||||||
description: |
|
description: |
|
||||||
Two-letter country code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). Available only for `class=country`.
|
Two-letter country code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). Available only for `class=country`.
|
||||||
|
@ -50,7 +52,7 @@ layer:
|
||||||
description: |
|
description: |
|
||||||
Countries, states and the most important cities all have a
|
Countries, states and the most important cities all have a
|
||||||
**rank** to boost their importance on the map.
|
**rank** to boost their importance on the map.
|
||||||
The **rank** field for counries and states ranges from
|
The **rank** field for countries and states ranges from
|
||||||
`1` to `6` while the **rank** field for cities ranges from
|
`1` to `6` while the **rank** field for cities ranges from
|
||||||
`1` to `10` for the most important cities
|
`1` to `10` for the most important cities
|
||||||
and continues from `10` serially based on the
|
and continues from `10` serially based on the
|
||||||
|
|
Ładowanie…
Reference in New Issue