You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/layers.md
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ If Tilezen cannot find any Chinese properties in the predefined list of each pro
67
67
68
68
###### OSM
69
69
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:
71
71
72
72
*`name:zh-Hans`: Simplified Chinese
73
73
*`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
78
78
*`name:zh-yue`: Traditional Chinese
79
79
*`name:zh-HK`: Traditional Chinese
80
80
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`.
82
82
83
83
84
84
###### WhosOnFirst
@@ -120,7 +120,7 @@ A tile geometry can be one of three types:
120
120
* LineString, MultiLineString
121
121
* Polygon, MultiPolygon
122
122
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:
124
124
125
125
*`point`: matches Point, MultiPoint
126
126
*`line`: matches LineString, MultiLineString
@@ -210,7 +210,7 @@ Combination of OpenStreetMap administrative boundaries (zoom >= 8) and Natural E
210
210
*`kind_detail`: mapping of OpenStreetMap's `admin_level` values. `2` for countries, `4` for regions, and `6`, `8` (zoom 10+)
211
211
*`source`: `openstreetmap.org` or `naturalearthdata.com`
212
212
*`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.
214
214
215
215
#### Boundaries properties (common optional):
216
216
@@ -231,6 +231,10 @@ Combination of OpenStreetMap administrative boundaries (zoom >= 8) and Natural E
0 commit comments