-
Notifications
You must be signed in to change notification settings - Fork 1
/
road-tunnel-casing.yaml
135 lines (135 loc) · 2.44 KB
/
road-tunnel-casing.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
id: road-tunnel-casing
source: spirit
source-layer: roads
type: line
filter:
- all
- - any
- - all # Allow certain classifications to appear when they are included in the source
- - in
- [get, highway]
- - literal
- - motorway
- trunk
- primary
- secondary
- tertiary
- unclassified
- residential
- living_street
- - all
- [==, [get, highway], service]
- [==, [get, minor], null]
- [">=", [zoom], 14]
- - all
- [==, [get, highway], service]
- [">=", [zoom], 15]
- - all
- - in
- [get, highway]
- - literal
- - footway
- cycleway
- [">=", [zoom], 15]
- [get, tunnel]
paint:
line-dasharray: [.5, .5]
line-color:
- match
- [get, highway]
- motorway
- '#e19991' #
- trunk
- '#bd5c00' # lch(50,70,60)
- primary
- '#bd5c00' # lch(50,70,60)
- secondary
- '#c9952c' # lch(65,60,80)
- tertiary
- '#c9952c' # lch(65,60,80)
- unclassified
- '#b7bab4' # lch(75,3,130)
- residential
- '#b7bab4' # lch(75,3,130)
- living_street
- '#b7bab4' # lch(75,3,130)
- service
- '#b7bab4' # lch(75,3,130)
- footway
- '#696b67' # lch(75,3,130)
- cycleway
- '#696b67' # lch(75,3,130)
- red
line-width:
- interpolate
- - exponential
- 1.35
- - zoom
- 12
- - match
- [get, highway]
- motorway
- 4
- trunk
- 3.5
- primary
- 3.5
- secondary
- 2
- tertiary
- 2
- unclassified
- 1.5
- residential
- 1.5
- living_street
- 1.5
- service
- - match
- [to-string, [get, minor]]
- "true"
- 0.5
- 1
- footway
- .2
- cycleway
- .2
- 1.5
- 20
- - match
- [get, highway]
- motorway
- 40
- trunk
- 30
- primary
- 30
- secondary
- 25
- tertiary
- 25
- unclassified
- 20
- residential
- 20
- living_street
- 20
- service
- - match
- [to-string, [get, minor]]
- "true"
- 10
- 14
- footway
- 4
- cycleway
- 4
- 20
layout:
line-cap: butt
line-sort-key:
- +
- [get, z_order]
- - '*'
- [get, layer]
- 1000