2022-06-07 21:34:21 +00:00
|
|
|
schema_name: Test Case Schema
|
|
|
|
schema_description: Test case tile schema
|
|
|
|
attribution: Test attribution
|
|
|
|
sources:
|
|
|
|
osm:
|
|
|
|
type: osm
|
|
|
|
url: geofabrik:rhode-island
|
|
|
|
tag_mappings:
|
|
|
|
lanes: long
|
|
|
|
layers:
|
2022-09-23 10:49:09 +00:00
|
|
|
- id: testLayer
|
2022-06-07 21:34:21 +00:00
|
|
|
features:
|
2022-09-23 10:49:09 +00:00
|
|
|
- source:
|
2022-06-07 21:34:21 +00:00
|
|
|
- osm
|
|
|
|
geometry: line
|
2022-09-23 10:49:09 +00:00
|
|
|
min_zoom:
|
|
|
|
default_value: 4
|
|
|
|
overrides:
|
|
|
|
- value: 5
|
|
|
|
if:
|
|
|
|
highway: trunk
|
|
|
|
- value: 7
|
|
|
|
if:
|
|
|
|
highway: primary
|
2022-06-07 21:34:21 +00:00
|
|
|
include_when:
|
|
|
|
highway:
|
|
|
|
attributes:
|
|
|
|
- key: highway
|
|
|
|
min_zoom_by_value:
|
|
|
|
trunk: 5
|
|
|
|
primary: 7
|
|
|
|
- key: lanes
|
|
|
|
min_zoom_by_value:
|
|
|
|
4: 9
|
|
|
|
3: 9
|
|
|
|
2: 10
|
|
|
|
- key: toll
|
2022-09-23 10:49:09 +00:00
|
|
|
min_zoom: 8
|