Skip to content

Commit 0bc9fe0

Browse files
authored
Fix a few places on layers.md (#1986)
1 parent 0a760a1 commit 0bc9fe0

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

docs/layers.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ If Tilezen cannot find any Chinese properties in the predefined list of each pro
6767

6868
###### OSM
6969

70-
We use three tags `name:zh`, `name:zh-Hans` and `name:zh-Hant` from OSM to populate the two properties:
70+
We use several tags from OSM to populate the two properties:
7171

7272
* `name:zh-Hans`: Simplified Chinese
7373
* `name:zh-SG`: Simplified Chinese
@@ -78,7 +78,7 @@ We use three tags `name:zh`, `name:zh-Hans` and `name:zh-Hant` from OSM to popul
7878
* `name:zh-yue`: Traditional Chinese
7979
* `name:zh-HK`: Traditional Chinese
8080

81-
We first try to use OSM tag `name:zh-Hans` to populate `name:zh-Hans` and OSM tag `name:zh-Hant` to populate `name:zh-Hant`, but if they are not available we parse other OSM tags such as `name:zh-SG`, `zh-Hant-tw`, `zh-Hant-hk`, `name:zh-yue`, `zh-HK`, `name:zh` to backfill them. After the backfilling, if either one is still missing, we will use the other variant to further backfill, i.e. Traditional Chinese can be used to backfill `name:zh-Hans` or Simplified Chinese can be used to backfill `name:zh-hant`.
81+
We first try to use OSM tag `name:zh-Hans` to populate `name:zh-Hans` and OSM tag `name:zh-Hant` to populate `name:zh-Hant`, but if they are not available we parse other OSM tags such as `name:zh-SG`, `name:zh-Hant-tw`, `zh-Hant-hk`, `name:zh-yue`, `name:zh-HK`, `name:zh` to backfill them. After the backfilling, if either one is still missing, we will use the other variant to further backfill, i.e. Traditional Chinese can be used to backfill `name:zh-Hans` or Simplified Chinese can be used to backfill `name:zh-Hant`.
8282

8383

8484
###### WhosOnFirst
@@ -120,7 +120,7 @@ A tile geometry can be one of three types:
120120
* LineString, MultiLineString
121121
* Polygon, MultiPolygon
122122

123-
In Tangram, Mapzen's GL graphics library, the keyword `$geometry` matches the feature's geometry type, for cases when a FeatureCollection includes more than one type of kind of geometry. Valid geometry types are:
123+
In Tangram, Mapzen's GL graphics library, the keyword `$geometry` matches the feature's geometry type, for cases when a FeatureCollection includes more than one type of geometry. Valid geometry types are:
124124

125125
* `point`: matches Point, MultiPoint
126126
* `line`: matches LineString, MultiLineString
@@ -210,7 +210,7 @@ Combination of OpenStreetMap administrative boundaries (zoom >= 8) and Natural E
210210
* `kind_detail`: mapping of OpenStreetMap's `admin_level` values. `2` for countries, `4` for regions, and `6`, `8` (zoom 10+)
211211
* `source`: `openstreetmap.org` or `naturalearthdata.com`
212212
* `sort_rank`: a suggestion for which order to draw features. The value is an integer where smaller numbers suggest that features should be "behind" features with larger numbers.
213-
* `min_zoom`: a suggested minimum zoom at which the boundary line should become visible based on scalerank value from Natural Earth, and invented for OpenStreetMap, a float.
213+
* `min_zoom`: a suggested minimum zoom at which the boundary line should become visible based on `scalerank` and `min_zoom` value from Natural Earth, and invented for OpenStreetMap, a float.
214214

215215
#### Boundaries properties (common optional):
216216

@@ -231,6 +231,10 @@ Combination of OpenStreetMap administrative boundaries (zoom >= 8) and Natural E
231231
* `country`
232232
* `county`
233233
* `disputed`
234+
* `disputed_breakaway`
235+
* `disputed_claim`
236+
* `disputed_elusive`
237+
* `disputed_reference_line`
234238
* `indefinite`
235239
* `indeterminate`
236240
* `lease_limit`

0 commit comments

Comments
 (0)