~ubuntu-branches/ubuntu/saucy/merkaartor/saucy

« back to all changes in this revision

Viewing changes to Render/osmarender/stylesheets/osm-map-features-z12.xml

  • Committer: Bazaar Package Importer
  • Author(s): Bernd Zeimetz
  • Date: 2009-09-13 00:52:12 UTC
  • mto: (1.2.7 upstream) (0.1.3 upstream) (3.1.7 sid)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20090913005212-pjecal8zxm07x0fj
ImportĀ upstreamĀ versionĀ 0.14+svnfixes~20090912

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8"?>
2
 
<?xml-stylesheet type="text/xsl" href="osmarender.xsl"?>
3
 
 
4
 
<!-- Tiles@Home Rules File for zoom level 12 -->
5
 
<rules
6
 
          xmlns:xlink="http://www.w3.org/1999/xlink"
7
 
          xmlns:svg="http://www.w3.org/2000/svg"
8
 
          data="data.osm"
9
 
          svgBaseProfile="full"
10
 
          scale="1"
11
 
          symbolScale="3.43"
12
 
          textAttenuation="0.44"
13
 
          minimumMapWidth="0.5"
14
 
          minimumMapHeight="0.5"
15
 
          withOSMLayers="yes"
16
 
          withUntaggedSegments="no"
17
 
          showScale="no"
18
 
          showGrid="no"
19
 
          showBorder="no"
20
 
          showLicense="no"
21
 
          symbolsDir="../stylesheets/symbols"
22
 
          interactive="no">
23
 
        
24
 
        
25
 
        <!-- Select all nodes and ways (unless they have an osmarender:render=no tag) -->
26
 
        <rule e="node|way" k="osmarender:render" v="~|yes">
27
 
                
28
 
                <!-- Draw land areas first -->
29
 
                <rule e="way" k="natural" v="land">
30
 
                        <area class="natural land"/>
31
 
                </rule>
32
 
                
33
 
                <!-- Natural features -->
34
 
                <rule e="way" k="natural" v="coastline">
35
 
                        <area class="natural coastline"/>
36
 
                </rule>
37
 
                <rule e="way" k="natural" v="glacier">
38
 
                        <line class="natural glacier"/>
39
 
                </rule>
40
 
                <rule e="way" k="landuse|natural" v="forest|wood|scrub">
41
 
                        <area class="landuse wood"/>
42
 
                </rule>
43
 
                <rule e="way" k="natural" v="heath">
44
 
                        <area class="natural heath"/>
45
 
                </rule>
46
 
                <rule e="way" k="natural" v="wetland">
47
 
                        <rule e="way" k="wetland" v="bog">
48
 
                                <area class="wetland bog"/>
49
 
                        </rule>
50
 
                </rule>
51
 
                <rule e="way" k="landuse" v="conservation">
52
 
                        <area class="landuse conservation"/>
53
 
                </rule>
54
 
                
55
 
                <!-- Artificial landuse -->
56
 
                <rule e="way" k="landuse" v="field|farm|farmland|allotments|village_green|recreation_ground|meadow">
57
 
                        <area class="landuse field"/>
58
 
                </rule>
59
 
                <rule e="way" k="leisure" v="park|garden|golf_course|common|green">
60
 
                        <area class="leisure-park"/>
61
 
                </rule>
62
 
                <rule e="way" k="leisure" v="playground|playing_fields|pitch">
63
 
                        <rule e="way" k="sport" v="tennis">
64
 
                                <area class="sport-tennis"/>
65
 
                        </rule>
66
 
                        <else>
67
 
                        <!-- Done separately from the above rule to layer these above. Tend to be smaller and inside parks. -->
68
 
                                <area class="leisure-park"/>
69
 
                        </else>
70
 
                </rule>
71
 
                <rule e="way" k="leisure" v="nature_reserve">
72
 
                        <area class="leisure nature_reserve"/>
73
 
                </rule>
74
 
                <rule e="way" k="leisure" v="stadium|sports_centre">
75
 
                        <area class="leisure stadium"/>
76
 
                </rule>
77
 
                <rule e="way" k="leisure" v="track">
78
 
                        <area class="leisure track"/>
79
 
                </rule>
80
 
                
81
 
                <!-- Airports and runways -->
82
 
                <rule e="way" k="aeroway" v="apron">
83
 
                        <area class="aeroway apron"/>
84
 
                </rule>
85
 
                <rule e="way" k="landuse" v="runway">
86
 
                        <rule e="way" k="use_status" v="~">
87
 
                                <area class="landuse runway"/>
88
 
                        </rule>
89
 
                        <rule e="way" k="use_status" v="disused">
90
 
                                <area class="landuse runway disused"/>
91
 
                        </rule>
92
 
                        <rule e="way" k="use_status" v="dismantled">
93
 
                                <area class="landuse runway dismantled"/>
94
 
                        </rule>
95
 
                </rule>
96
 
                
97
 
                <!-- Raceways and racetracks (cars and horses etc) -->
98
 
                <rule e="way" k="landuse" v="raceway">
99
 
                        <rule e="way" k="use_status" v="~">
100
 
                                <area class="landuse raceway"/>
101
 
                        </rule>
102
 
                        <rule e="way" k="use_status" v="disused">
103
 
                                <area class="landuse raceway disused"/>
104
 
                        </rule>
105
 
                        <rule e="way" k="use_status" v="dismantled">
106
 
                                <area class="landuse raceway dismantled"/>
107
 
                        </rule>
108
 
                </rule>
109
 
                
110
 
                <!-- Man-made areas -->
111
 
                <rule e="way" k="sport" v="*">
112
 
                        <area class="sport"/>
113
 
                </rule>
114
 
                <rule e="way" k="amenity" v="parking">
115
 
                        <area class="amenity parking"/>
116
 
                </rule>
117
 
                <rule e="way" k="tourism" v="zoo|picnic_site|caravan_site|camp_site">
118
 
                        <area class="tourism green_area"/>
119
 
                </rule>
120
 
                
121
 
                <!-- Airfields and airports -->
122
 
                <rule e="way" k="aeroway" v="runway">
123
 
                        <line class="aeroway runway casing"/>
124
 
                </rule>
125
 
                <rule e="way" k="aeroway" v="taxiway">
126
 
                        <line class="aeroway taxiway casing"/>
127
 
                </rule>
128
 
                
129
 
                <!-- Waterways -->
130
 
                <rule e="way" k="waterway" v="river">
131
 
                        <line class="waterway-casing waterway-river-casing" width-scale-factor="1" honor-width="yes" minimum-width="2" maximum-width="100"/>
132
 
                </rule>
133
 
                <rule e="way" k="waterway" v="stream">
134
 
                        <line class="waterway-casing waterway-stream-casing" width-scale-factor="1" honor-width="yes" minimum-width="0.1" maximum-width="3"/>
135
 
                </rule>
136
 
                <rule e="way" k="waterway" v="canal">
137
 
                        <line class="waterway-casing waterway-canal-casing" width-scale-factor="1" honor-width="yes" minimum-width="0.1" maximum-width="100"/>
138
 
                </rule>
139
 
                <rule e="way" k="waterway" v="drain">
140
 
                        <line class="waterway-casing waterway-drain-casing" width-scale-factor="1" honor-width="yes" minimum-width="0.1" maximum-width="20"/>
141
 
                </rule>
142
 
                <rule e="way" k="waterway" v="ditch">
143
 
                        <line class="waterway-casing waterway-ditch-casing" width-scale-factor="1" honor-width="yes" minimum-width="0.1" maximum-width="10"/>
144
 
                </rule>
145
 
                <rule e="way" k="tunnel" v="yes">
146
 
                        <rule e="way" k="waterway" v="river">
147
 
                                <line class="waterway-core waterway-river-tunnel-core" width-scale-factor="1" honor-width="yes" minimum-width="2" maximum-width="100"/>
148
 
                        </rule>
149
 
                        <rule e="way" k="waterway" v="stream">
150
 
                                <line class="waterway-core waterway-stream-tunnel-core" width-scale-factor="1" honor-width="yes" minimum-width="0.1" maximum-width="3"/>
151
 
                        </rule>
152
 
                        <rule e="way" k="waterway" v="canal">
153
 
                                <line class="waterway-core waterway-canal-tunnel-core" width-scale-factor="1" honor-width="yes" minimum-width="0.1" maximum-width="100"/>
154
 
                        </rule>
155
 
                        <rule e="way" k="waterway" v="drain">
156
 
                                <line class="waterway-core waterway-drain-tunnel-core" width-scale-factor="1" honor-width="yes" minimum-width="0.1" maximum-width="20"/>
157
 
                        </rule>
158
 
                        <rule e="way" k="waterway" v="ditch">
159
 
                                <line class="waterway-core waterway-ditch-tunnel-core" width-scale-factor="1" honor-width="yes" minimum-width="0.1" maximum-width="10"/>
160
 
                        </rule>
161
 
                </rule>
162
 
                <else>
163
 
                        <rule e="way" k="waterway" v="river">
164
 
                                <line class="waterway-core waterway-river-core" width-scale-factor="1" honor-width="yes" minimum-width="2" maximum-width="100"/>
165
 
                        </rule>
166
 
                        <rule e="way" k="waterway" v="stream">
167
 
                                <line class="waterway-core waterway-stream-core" width-scale-factor="1" honor-width="yes" minimum-width="0.1" maximum-width="3"/>
168
 
                        </rule>
169
 
                        <rule e="way" k="waterway" v="canal">
170
 
                                <line class="waterway-core waterway-canal-core" width-scale-factor="1" honor-width="yes" minimum-width="0.1" maximum-width="100"/>
171
 
                        </rule>
172
 
                        <rule e="way" k="waterway" v="drain">
173
 
                                <line class="waterway-core waterway-drain-core" width-scale-factor="1" honor-width="yes" minimum-width="0.1" maximum-width="20"/>
174
 
                        </rule>
175
 
                        <rule e="way" k="waterway" v="ditch">
176
 
                                <line class="waterway-core waterway-ditch-core" width-scale-factor="1" honor-width="yes" minimum-width="0.1" maximum-width="10"/>
177
 
                        </rule>
178
 
                </else>
179
 
                <rule e="way" k="waterway" v="dock">
180
 
                        <area class="natural water"/>
181
 
                </rule>
182
 
                <rule e="way" k="natural" v="water|pond|lake">
183
 
                        <area class="natural water"/>
184
 
                </rule>
185
 
                <rule e="way" k="landuse" v="reservoir">
186
 
                        <area class="natural water"/>
187
 
                </rule>
188
 
                <rule e="way" k="landuse" v="basin">
189
 
                        <area class="natural water"/>
190
 
                </rule>
191
 
                <rule e="way" k="waterway" v="riverbank">
192
 
                        <area class="waterway-riverbank"/>
193
 
                </rule>
194
 
                
195
 
                <!-- Highway area casings -->
196
 
                <rule e="way" k="area" v="yes|true">
197
 
                        <rule e="way" k="highway" v="footway|footpath">
198
 
                                <area class="highway-casing highway-footway-casing highway-footway-area-casing no-bezier" smart-area="no"/>
199
 
                        </rule>
200
 
                        <rule e="way" k="highway" v="pedestrian">
201
 
                                <area class="highway-casing highway-pedestrian-casing highway-pedestrian-area-casing no-bezier"/>
202
 
                        </rule>
203
 
                        <rule e="way" k="highway" v="cycleway">
204
 
                                <area class="highway-casing highway-cycleway-casing highway-cycleway-area-casing no-bezier" smart-area="no"/>
205
 
                        </rule>
206
 
                        <rule e="way" k="highway" v="path">
207
 
                                <rule e="way" k="bicycle" v="yes|designated">
208
 
                                        <area class="highway-casing highway-cycleway-casing highway-cycleway-area-casing no-bezier" smart-linecap="no"/>
209
 
                                </rule>
210
 
                                <else>
211
 
                                        <rule e="way" k="horse" v="yes|designated">
212
 
                                                <area class="highway-casing highway-bridleway-casing highway-bridleway-area-casing no-bezier" smart-linecap="no"/>
213
 
                                        </rule>
214
 
                                        <else>
215
 
                                                <area class="highway-casing highway-footway-casing highway-footway-area-casing no-bezier" smart-linecap="no"/>
216
 
                                        </else></else>
217
 
                        </rule>
218
 
                        <rule e="way" k="highway" v="bridleway">
219
 
                                <area class="highway-casing highway-bridleway-casing highway-bridleway-area-casing no-bezier" smart-area="no"/>
220
 
                        </rule>
221
 
                        <rule e="way" k="highway" v="byway">
222
 
                                <area class="highway-casing highway-byway-1-casing highway-byway-1-area-casing no-bezier" smart-area="no"/>
223
 
                                <area class="highway-casing highway-byway-2-casing highway-byway-2-area-casing no-bezier" smart-area="no"/>
224
 
                                <area class="highway-casing highway-byway-3-casing highway-byway-3-area-casing no-bezier" smart-area="no"/>
225
 
                        </rule>
226
 
                        <rule e="way" k="highway" v="track">
227
 
                                <rule e="way" k="tracktype" v="grade1">
228
 
                                        <area class="highway-casing highway-track-casing highway-track-grade1-casing highway-track-area-casing no-bezier"/>
229
 
                                </rule>
230
 
                                <else>
231
 
                                        <rule e="way" k="tracktype" v="grade2">
232
 
                                                <area class="highway-casing highway-track-casing highway-track-grade2-casing highway-track-area-casing no-bezier"/>
233
 
                                        </rule>
234
 
                                        <else>
235
 
                                                <rule e="way" k="tracktype" v="grade3">
236
 
                                                        <area class="highway-casing highway-track-casing highway-track-grade3-casing highway-track-area-casing no-bezier" smart-area="no"/>
237
 
                                                </rule>
238
 
                                                <else>
239
 
                                                        <rule e="way" k="tracktype" v="grade4">
240
 
                                                                <area class="highway-casing highway-track-casing highway-track-grade4-casing highway-track-area-casing no-bezier" smart-area="no"/>
241
 
                                                        </rule>
242
 
                                                        <else>
243
 
                                                                <rule e="way" k="tracktype" v="grade5">
244
 
                                                                        <area class="highway-casing highway-track-casing highway-track-grade5-casing highway-track-area-casing no-bezier" smart-area="no"/>
245
 
                                                                </rule>
246
 
                                                                <else>
247
 
                                                                        <area class="highway-casing highway-track-casing highway-track-area-casing no-bezier"/>
248
 
                                                                </else>
249
 
                                                        </else>
250
 
                                                </else>
251
 
                                        </else>
252
 
                                </else>
253
 
                        </rule>
254
 
                        <rule e="way" k="highway" v="unsurfaced">
255
 
                                <area class="highway-casing highway-unsurfaced-casing highway-unsurfaced-area-casing no-bezier" smart-area="no"/>
256
 
                        </rule>
257
 
                        <rule e="way" k="highway" v="service">
258
 
                                <rule e="way" k="service" v="parking_aisle">
259
 
                                </rule>
260
 
                                <else>
261
 
                                        <area class="highway-casing highway-service-casing highway-service-area-casing no-bezier"/>
262
 
                                </else>
263
 
                        </rule>
264
 
                        <rule e="way" k="highway" v="unclassified|residential|minor|living_street|road">
265
 
                                <area class="highway-casing highway-unclassified-casing highway-unclassified-area-casing no-bezier"/>
266
 
                        </rule>
267
 
                        <rule e="way" k="highway" v="cycleroad">
268
 
                                <rule e="way" k="motorcar" v="yes|destination|private">
269
 
                                        <area class="highway-casing highway-unclassified-casing highway-unclassified-area-casing no-bezier"/>
270
 
                                </rule>
271
 
                                <else>
272
 
                                        <area class="highway-casing highway-cycleroad-casing highway-cycleroad-area-casing no-bezier"/>
273
 
                                </else>
274
 
                        </rule>
275
 
                        <rule e="way" k="highway" v="tertiary_link">
276
 
                                <area class="highway-casing highway-tertiary-link-casing highway-tertiary-link-area-casing no-bezier"/>
277
 
                        </rule>
278
 
                        <rule e="way" k="highway" v="tertiary">
279
 
                                <area class="highway-casing highway-tertiary-casing highway-tertiary-area-casing no-bezier"/>
280
 
                        </rule>
281
 
                        <rule e="way" k="highway" v="secondary_link">
282
 
                                <area class="highway-casing highway-secondary-link-casing highway-secondary-link-area-casing no-bezier"/>
283
 
                        </rule>
284
 
                        <rule e="way" k="highway" v="secondary">
285
 
                                <area class="highway-casing highway-secondary-casing highway-secondary-area-casing no-bezier"/>
286
 
                        </rule>
287
 
                        <rule e="way" k="highway" v="primary_link">
288
 
                                <area class="highway-casing highway-primary-link-casing highway-primary-link-area-casing no-bezier"/>
289
 
                        </rule>
290
 
                        <rule e="way" k="highway" v="trunk_link">
291
 
                                <area class="highway-casing highway-trunk-link-casing highway-trunk-link-area-casing no-bezier"/>
292
 
                        </rule>
293
 
                        <rule e="way" k="highway" v="motorway_link">
294
 
                                <area class="highway-casing highway-motorway-link-casing highway-motorway-link-area-casing no-bezier"/>
295
 
                        </rule>
296
 
                        <rule e="way" k="highway" v="primary">
297
 
                                <area class="highway-casing highway-primary-casing highway-primary-area-casing no-bezier"/>
298
 
                        </rule>
299
 
                        <rule e="way" k="highway" v="trunk">
300
 
                                <area class="highway-casing highway-trunk-casing highway-trunk-area-casing no-bezier"/>
301
 
                        </rule>
302
 
                        <rule e="way" k="highway" v="motorway">
303
 
                                <area class="highway-casing highway-motorway-casing highway-motorway-area-casing no-bezier"/>
304
 
                        </rule>
305
 
                </rule>
306
 
                
307
 
                <!-- Linear casings -->
308
 
                <rule e="way" k="tunnel" v="~|no|false">
309
 
                        <rule e="way" k="area" v="~|no|false">
310
 
                                <rule e="way" k="railway" v="monorail">
311
 
                                        <line class="railway-casing railway-monorail-casing"/>
312
 
                                </rule>
313
 
                                <rule e="way" k="railway" v="preserved">
314
 
                                        <line class="railway-casing railway-preserved-casing"/>
315
 
                                </rule>
316
 
                                <rule e="way" k="railway" v="narrow_gauge">
317
 
                                        <line class="railway-casing railway-narrow-gauge-casing"/>
318
 
                                </rule>
319
 
                                <rule e="way" k="railway" v="rail">
320
 
                                        <line class="railway-casing railway-rail-casing"/>
321
 
                                </rule>
322
 
                                <rule e="way" k="highway" v="raceway">
323
 
                                        <rule e="way" k="use_status" v="~">
324
 
                                                <line class="highway-raceway-casing"/>
325
 
                                        </rule>
326
 
                                        <rule e="way" k="use_status" v="disused">
327
 
                                                <line class="highway-raceway-casing-disused"/>
328
 
                                        </rule>
329
 
                                        <rule e="way" k="use_status" v="dismantled">
330
 
                                                <line class="highway-raceway-casing-dismantled"/>
331
 
                                        </rule>
332
 
                                </rule>
333
 
                                <rule e="way" k="highway" v="steps">
334
 
                                        <line class="highway-casing highway-steps-casing"/>
335
 
                                </rule>
336
 
                                <rule e="way" k="highway" v="footway|footpath">
337
 
                                        <line class="highway-casing highway-footway-casing" smart-linecap="no"/>
338
 
                                </rule>
339
 
                                <rule e="way" k="highway" v="pedestrian">
340
 
                                        <line class="highway-casing highway-pedestrian-casing"/>
341
 
                                </rule>
342
 
                                <rule e="way" k="highway" v="cycleway">
343
 
                                        <line class="highway-casing highway-cycleway-casing" smart-linecap="no"/>
344
 
                                </rule>
345
 
                                <rule e="way" k="highway" v="path">
346
 
                                        <rule e="way" k="bicycle" v="yes|designated">
347
 
                                                <line class="highway-casing highway-cycleway-casing" smart-linecap="no"/>
348
 
                                        </rule>
349
 
                                        <else>
350
 
                                                <rule e="way" k="horse" v="yes|designated">
351
 
                                                        <line class="highway-casing highway-bridleway-casing" smart-linecap="no"/>
352
 
                                                </rule>
353
 
                                                <else>
354
 
                                                        <line class="highway-casing highway-footway-casing" smart-linecap="no"/>
355
 
                                                </else></else>
356
 
                                </rule>
357
 
                                <rule e="way" k="highway" v="bridleway">
358
 
                                        <line class="highway-casing highway-bridleway-casing" smart-linecap="no"/>
359
 
                                </rule>
360
 
                                <rule e="way" k="highway" v="byway">
361
 
                                        <line class="highway-casing highway-byway-1-casing" smart-linecap="no"/>
362
 
                                        <line class="highway-casing highway-byway-2-casing" smart-linecap="no"/>
363
 
                                        <line class="highway-casing highway-byway-3-casing" smart-linecap="no"/>
364
 
                                </rule>
365
 
                                <rule e="way" k="highway" v="track">
366
 
                                        <rule e="way" k="tracktype" v="grade1">
367
 
                                                <line class="highway-casing highway-track-casing highway-track-grade1-casing"/>
368
 
                                        </rule>
369
 
                                        <else>
370
 
                                                <rule e="way" k="tracktype" v="grade2">
371
 
                                                        <line class="highway-casing highway-track-casing highway-track-grade2-casing"/>
372
 
                                                </rule>
373
 
                                                <else>
374
 
                                                        <rule e="way" k="tracktype" v="grade3">
375
 
                                                                <line class="highway-casing highway-track-casing highway-track-grade3-casing" smart-linecap="no"/>
376
 
                                                        </rule>
377
 
                                                        <else>
378
 
                                                                <rule e="way" k="tracktype" v="grade4">
379
 
                                                                        <line class="highway-casing highway-track-casing highway-track-grade4-casing" smart-linecap="no"/>
380
 
                                                                </rule>
381
 
                                                                <else>
382
 
                                                                        <rule e="way" k="tracktype" v="grade5">
383
 
                                                                                <line class="highway-casing highway-track-casing highway-track-grade5-casing" smart-linecap="no"/>
384
 
                                                                        </rule>
385
 
                                                                        <else>
386
 
                                                                                <line class="highway-casing highway-track-casing"/>
387
 
                                                                        </else>
388
 
                                                                </else>
389
 
                                                        </else>
390
 
                                                </else>
391
 
                                        </else>
392
 
                                </rule>
393
 
                                <rule e="way" k="highway" v="unsurfaced">
394
 
                                        <line class="highway-casing highway-unsurfaced-casing" smart-linecap="no"/>
395
 
                                </rule>
396
 
                                <rule e="way" k="highway" v="service">
397
 
                                        <rule e="way" k="service" v="parking_aisle">
398
 
                                        </rule>
399
 
                                        <else>
400
 
                                                <line class="highway-casing highway-service-casing"/>
401
 
                                        </else>
402
 
                                </rule>
403
 
                                <rule e="way" k="highway" v="unclassified|residential|minor|living_street|road|ford">
404
 
                                        <line class="highway-casing highway-unclassified-casing"/>
405
 
                                </rule>
406
 
                                <rule e="way" k="highway" v="cycleroad">
407
 
                                        <rule e="way" k="motorcar" v="yes|destination|private">
408
 
                                                <line class="highway-casing highway-unclassified-casing"/>
409
 
                                        </rule>
410
 
                                        <else>
411
 
                                                <line class="highway-casing highway-cycleroad-casing"/>
412
 
                                        </else>
413
 
                                </rule>
414
 
                                <rule e="way" k="highway" v="tertiary_link">
415
 
                                        <line class="highway-casing highway-tertiary-link-casing"/>
416
 
                                </rule>
417
 
                                <rule e="way" k="highway" v="tertiary">
418
 
                                        <line class="highway-casing highway-tertiary-casing"/>
419
 
                                </rule>
420
 
                                <rule e="way" k="highway" v="secondary_link">
421
 
                                        <line class="highway-casing highway-secondary-link-casing"/>
422
 
                                </rule>
423
 
                                <rule e="way" k="highway" v="secondary">
424
 
                                        <line class="highway-casing highway-secondary-casing"/>
425
 
                                </rule>
426
 
                                <rule e="way" k="highway" v="primary_link">
427
 
                                        <line class="highway-casing highway-primary-link-casing"/>
428
 
                                </rule>
429
 
                                <rule e="way" k="highway" v="trunk_link">
430
 
                                        <line class="highway-casing highway-trunk-link-casing"/>
431
 
                                </rule>
432
 
                                <rule e="way" k="highway" v="motorway_link">
433
 
                                        <line class="highway-casing highway-motorway-link-casing"/>
434
 
                                </rule>
435
 
                                <rule e="way" k="highway" v="primary">
436
 
                                        <line class="highway-casing highway-primary-casing"/>
437
 
                                </rule>
438
 
                                <rule e="way" k="highway" v="trunk">
439
 
                                        <line class="highway-casing highway-trunk-casing"/>
440
 
                                </rule>
441
 
                                <rule e="way" k="highway" v="motorway">
442
 
                                        <line class="highway-casing highway-motorway-casing"/>
443
 
                                </rule>
444
 
                                <rule e="way" k="railway" v="tram">
445
 
                                        <line class="railway-casing railway-tram-casing"/>
446
 
                                </rule>
447
 
                                <rule e="way" k="railway" v="subway">
448
 
                                        <line class="railway-casing railway-subway-casing"/>
449
 
                                </rule>
450
 
                                <rule e="way" k="railway" v="light_rail">
451
 
                                        <line class="railway-casing railway-light-rail-casing"/>
452
 
                                </rule>
453
 
                        </rule>
454
 
                </rule>
455
 
                
456
 
                <!-- Highway area cores -->
457
 
                <rule e="way" k="area" v="yes|true">
458
 
                        <rule e="way" k="highway" v="footway|footpath">
459
 
                                <area class="highway-core highway-footway-area no-bezier" smart-linecap="no"/>
460
 
                        </rule>
461
 
                        <rule e="way" k="highway" v="pedestrian">
462
 
                                <area class="highway-core highway-pedestrian-area no-bezier"/>
463
 
                        </rule>
464
 
                        <rule e="way" k="highway" v="cycleway">
465
 
                                <area class="highway-core highway-cycleway-area no-bezier" smart-linecap="no"/>
466
 
                        </rule>
467
 
                        <rule e="way" k="highway" v="path">
468
 
                                <rule e="way" k="bicycle" v="yes|designated">
469
 
                                        <area class="highway-core highway-cycleway-area no-bezier" smart-linecap="no"/>
470
 
                                </rule>
471
 
                                <else>
472
 
                                        <rule e="way" k="horse" v="yes|designated">
473
 
                                                <area class="highway-core highway-bridleway-area no-bezier" smart-linecap="no"/>
474
 
                                        </rule>
475
 
                                        <else>
476
 
                                                <area class="highway-core highway-path-area no-bezier" smart-linecap="no"/>
477
 
                                        </else></else>
478
 
                        </rule>
479
 
                        <rule e="way" k="highway" v="bridleway">
480
 
                                <area class="highway-core highway-bridleway-area no-bezier" smart-linecap="no"/>
481
 
                        </rule>
482
 
                        <rule e="way" k="highway" v="byway">
483
 
                                <area class="highway-core highway-byway-area no-bezier" smart-linecap="no"/>
484
 
                        </rule>
485
 
                        <rule e="way" k="highway" v="track">
486
 
                                <area class="highway-core highway-track-area no-bezier"/>
487
 
                        </rule>
488
 
                        <rule e="way" k="highway" v="unsurfaced">
489
 
                                <area class="highway-core highway-unsurfaced-area no-bezier" smart-linecap="no"/>
490
 
                        </rule>
491
 
                        <rule e="way" k="highway" v="service">
492
 
                                <rule e="way" k="service" v="parking_aisle">
493
 
                                </rule>
494
 
                                <else>
495
 
                                        <area class="highway-core highway-service-area no-bezier"/>
496
 
                                </else>
497
 
                        </rule>
498
 
                        <rule e="way" k="highway" v="unclassified|residential|minor|living_street">
499
 
                                <area class="highway-core highway-unclassified-area no-bezier"/>
500
 
                        </rule>
501
 
                        <rule e="way" k="highway" v="cycleroad">
502
 
                                <rule e="way" k="motorcar" v="yes|destination|private">
503
 
                                        <area class="highway-core highway-unclassified-area no-bezier"/>
504
 
                                </rule>
505
 
                                <else>
506
 
                                        <area class="highway-core highway-cycleroad-area-3 no-bezier"/>
507
 
                                </else>
508
 
                        </rule>
509
 
                        <rule e="way" k="highway" v="road">
510
 
                                <area class="highway-core highway-road-area no-bezier"/>
511
 
                        </rule>
512
 
                        <rule e="way" k="highway" v="tertiary_link">
513
 
                                <area class="highway-core highway-tertiary-link-area no-bezier"/>
514
 
                        </rule>
515
 
                        <rule e="way" k="highway" v="tertiary">
516
 
                                <area class="highway-core highway-tertiary-area no-bezier"/>
517
 
                        </rule>
518
 
                        <rule e="way" k="highway" v="secondary_link">
519
 
                                <area class="highway-core highway-secondary-link-area no-bezier"/>
520
 
                        </rule>
521
 
                        <rule e="way" k="highway" v="secondary">
522
 
                                <area class="highway-core highway-secondary-area no-bezier"/>
523
 
                        </rule>
524
 
                        <rule e="way" k="highway" v="primary_link">
525
 
                                <area class="highway-core highway-primary-link-area no-bezier"/>
526
 
                        </rule>
527
 
                        <rule e="way" k="highway" v="trunk_link">
528
 
                                <area class="highway-core highway-trunk-link-area no-bezier"/>
529
 
                        </rule>
530
 
                        <rule e="way" k="highway" v="motorway_link">
531
 
                                <area class="highway-core highway-motorway-link-area no-bezier"/>
532
 
                        </rule>
533
 
                        <rule e="way" k="highway" v="primary">
534
 
                                <area class="highway-core highway-primary-area no-bezier"/>
535
 
                        </rule>
536
 
                        <rule e="way" k="highway" v="trunk">
537
 
                                <area class="highway-core highway-trunk-area no-bezier"/>
538
 
                        </rule>
539
 
                        <rule e="way" k="highway" v="motorway">
540
 
                                <area class="highway-core highway-motorway-area no-bezier"/>
541
 
                        </rule>
542
 
                </rule>
543
 
                
544
 
                <!-- Buildings -->
545
 
                <rule e="way" k="aeroway" v="terminal">
546
 
                        <area class="building-block"/>
547
 
                </rule>
548
 
                <rule e="way" k="building" v="*">
549
 
                        <area class="building-block no-bezier"/>
550
 
                </rule>
551
 
                
552
 
                <!-- Linear cores -->
553
 
                <rule e="way" k="tunnel" v="~|false|no">
554
 
                        <rule e="way" k="area" v="~|false|no">
555
 
                                <rule e="way" k="highway" v="ford">
556
 
                                        <line class="highway-core highway-ford-core" smart-linecap="no"/>
557
 
                                </rule>
558
 
                                <rule e="way" k="highway" v="raceway">
559
 
                                        <rule e="way" k="use_status" v="~">
560
 
                                                <line class="highway-raceway-core"/>
561
 
                                        </rule>
562
 
                                        <rule e="way" k="use_status" v="disused">
563
 
                                                <line class="highway-raceway-core-disused"/>
564
 
                                        </rule>
565
 
                                        <rule e="way" k="use_status" v="dismantled">
566
 
                                                <line class="highway-raceway-core-dismantled"/>
567
 
                                        </rule>
568
 
                                </rule>
569
 
                                <rule e="way" k="scramble" v="*">
570
 
                                        <line class="highway-core highway-scramble-core"/>
571
 
                                </rule>
572
 
                                <rule e="way" k="railway" v="monorail">
573
 
                                        <line class="railway-core railway-monorail-core"/>
574
 
                                </rule>
575
 
                                <rule e="way" k="railway" v="preserved">
576
 
                                        <line class="railway-core railway-preserved-core"/>
577
 
                                </rule>
578
 
                                <rule e="way" k="railway" v="narrow_gauge">
579
 
                                        <line class="railway-core railway-narrow-gauge-core"/>
580
 
                                </rule>
581
 
                                <rule e="way" k="railway" v="rail">
582
 
                                        <line class="railway-core railway-rail-1-core"/>
583
 
                                        <line class="railway-core railway-rail-2-core" smart-linecap="no"/>
584
 
                                </rule>
585
 
                                <rule e="way" k="highway" v="steps">
586
 
                                        <line class="highway-core highway-steps-core" smart-linecap="no"/>
587
 
                                </rule>
588
 
                                <rule e="way" k="highway" v="footway|footpath">
589
 
                                        <line class="highway-core highway-footway-core" smart-linecap="no"/>
590
 
                                </rule>
591
 
                                <rule e="way" k="highway" v="pedestrian">
592
 
                                        <line class="highway-core highway-pedestrian-core"/>
593
 
                                </rule>
594
 
                                <rule e="way" k="highway" v="cycleway">
595
 
                                        <line class="highway-core highway-cycleway-core" smart-linecap="no"/>
596
 
                                </rule>
597
 
                                <rule e="way" k="highway" v="path">
598
 
                                        <rule e="way" k="bicycle" v="yes|designated">
599
 
                                                <line class="highway-core highway-cycleway-core" smart-linecap="no"/>
600
 
                                        </rule>
601
 
                                        <else>
602
 
                                                <rule e="way" k="horse" v="yes|designated">
603
 
                                                        <line class="highway-core highway-bridleway-core" smart-linecap="no"/>
604
 
                                                </rule>
605
 
                                                <else>
606
 
                                                        <rule e="way" k="foot" v="yes|designated">
607
 
                                                                <line class="highway-core highway-footway-core" smart-linecap="no"/>
608
 
                                                        </rule>
609
 
                                                        <else>
610
 
                                                                <line class="highway-core highway-path-core" smart-linecap="no"/>
611
 
                                                        </else></else></else>
612
 
                                </rule>
613
 
                                <rule e="way" k="highway" v="bridleway">
614
 
                                        <line class="highway-core highway-bridleway-core" smart-linecap="no"/>
615
 
                                </rule>
616
 
                                <rule e="way" k="highway" v="byway">
617
 
                                        <line class="highway-core highway-byway-2-casing" smart-linecap="no"/>
618
 
                                        <line class="highway-core highway-byway-3-casing" smart-linecap="no"/>
619
 
                                        <line class="highway-core highway-byway-1-core" smart-linecap="no"/>
620
 
                                </rule>
621
 
                                <rule e="way" k="highway" v="track">
622
 
                                        <rule e="way" k="tracktype" v="~">
623
 
                                                <line class="highway-core highway-track-core"/>
624
 
                                        </rule>
625
 
                                        <else>
626
 
                                                <rule e="way" k="tracktype" v="grade1">
627
 
                                                        <line class="highway-core highway-track-core"/>
628
 
                                                </rule>
629
 
                                                <else>
630
 
                                                        <rule e="way" k="tracktype" v="grade2">
631
 
                                                                <line class="highway-core highway-track-core"/>
632
 
                                                        </rule>
633
 
                                                        <else>
634
 
                                                                <rule e="way" k="tracktype" v="grade3">
635
 
                                                                        <line class="highway-core highway-track-core" smart-linecap="no"/>
636
 
                                                                </rule>
637
 
                                                                <else>
638
 
                                                                        <rule e="way" k="tracktype" v="grade4">
639
 
                                                                                <line class="highway-core highway-track-core" smart-linecap="no"/>
640
 
                                                                        </rule>
641
 
                                                                        <else>
642
 
                                                                                <rule e="way" k="tracktype" v="grade5">
643
 
                                                                                        <line class="highway-core highway-track-core" smart-linecap="no"/>
644
 
                                                                                </rule>
645
 
                                                                                <else>
646
 
                                                                                        <line class="highway-core highway-track-core"/>
647
 
                                                                                </else>
648
 
                                                                        </else>
649
 
                                                                </else>
650
 
                                                        </else>
651
 
                                                </else>
652
 
                                        </else>
653
 
                                </rule>
654
 
                                <rule e="way" k="highway" v="unsurfaced">
655
 
                                        <line class="highway-core highway-unsurfaced-core" smart-linecap="no"/>
656
 
                                </rule>
657
 
                                <rule e="way" k="highway" v="service">
658
 
                                        <rule e="way" k="service" v="parking_aisle">
659
 
                                        </rule>
660
 
                                        <else>
661
 
                                                <line class="highway-core highway-service-core"/>
662
 
                                        </else>
663
 
                                </rule>
664
 
                                <rule e="way" k="highway" v="unclassified|residential|minor|living_street">
665
 
                                        <line class="highway-core highway-unclassified-core"/>
666
 
                                </rule>
667
 
                                <rule e="way" k="highway" v="cycleroad">
668
 
                                        <rule e="way" k="motorcar" v="yes|destination|private">
669
 
                                                <line class="highway-core highway-unclassified-core"/>
670
 
                                        </rule>
671
 
                                        <else>
672
 
                                                <line class="highway-core highway-cycleroad-core-3"/>
673
 
                                        </else>
674
 
                                </rule>
675
 
                                <rule e="way" k="highway" v="road">
676
 
                                        <line class="highway-core highway-road-core"/>
677
 
                                </rule>
678
 
                                <rule e="way" k="highway" v="tertiary_link">
679
 
                                        <line class="highway-core highway-tertiary-link-core"/>
680
 
                                </rule>
681
 
                                <rule e="way" k="highway" v="tertiary">
682
 
                                        <line class="highway-core highway-tertiary-core"/>
683
 
                                </rule>
684
 
                                <rule e="way" k="highway" v="secondary_link">
685
 
                                        <line class="highway-core highway-secondary-link-core"/>
686
 
                                </rule>
687
 
                                <rule e="way" k="highway" v="secondary">
688
 
                                        <line class="highway-core highway-secondary-core"/>
689
 
                                </rule>
690
 
                                <rule e="way" k="highway" v="primary_link">
691
 
                                        <line class="highway-core highway-primary-link-core"/>
692
 
                                </rule>
693
 
                                <rule e="way" k="highway" v="trunk_link">
694
 
                                        <line class="highway-core highway-trunk-link-core"/>
695
 
                                </rule>
696
 
                                <rule e="way" k="highway" v="motorway_link">
697
 
                                        <line class="highway-core highway-motorway-link-core"/>
698
 
                                </rule>
699
 
                                <rule e="way" k="highway" v="primary">
700
 
                                        <line class="highway-core highway-primary-core"/>
701
 
                                </rule>
702
 
                                <rule e="way" k="highway" v="trunk">
703
 
                                        <line class="highway-core highway-trunk-core"/>
704
 
                                </rule>
705
 
                                <rule e="way" k="highway" v="motorway">
706
 
                                        <line class="highway-core highway-motorway-core"/>
707
 
                                </rule>
708
 
                                <rule e="way" k="railway" v="tram">
709
 
                                        <line class="railway-core railway-tram-core"/>
710
 
                                </rule>
711
 
                                <rule e="way" k="railway" v="subway">
712
 
                                        <line class="railway-core railway-subway-core"/>
713
 
                                </rule>
714
 
                                <rule e="way" k="railway" v="light_rail">
715
 
                                        <line class="railway-core railway-light-rail-core"/>
716
 
                                </rule>
717
 
                                <rule e="way" k="aeroway" v="runway">
718
 
                                        <line class="aeroway runway core"/>
719
 
                                </rule>
720
 
                                <rule e="way" k="aeroway" v="taxiway">
721
 
                                        <line class="aeroway taxiway core"/>
722
 
                                </rule>
723
 
                        </rule>
724
 
                </rule>
725
 
                
726
 
                <!-- Tunnels -->
727
 
                <rule e="way" k="tunnel" v="true|yes">
728
 
                        <rule e="way" k="highway" v="steps">
729
 
                                <line class="tunnel-casing highway-steps-casing tunnel" mask-class="tunnel-core highway-steps-core"/>
730
 
                                <line class="highway-steps-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
731
 
                        </rule>
732
 
                        <rule e="way" k="highway" v="footway|footpath">
733
 
                                <line class="tunnel-casing highway-footway-casing tunnel" mask-class="tunnel-core highway-footway-core"/>
734
 
                                <line class="highway-footway-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
735
 
                        </rule>
736
 
                        <rule e="way" k="highway" v="pedestrian">
737
 
                                <line class="tunnel-casing highway-pedestrian-casing tunnel" mask-class="tunnel-core highway-pedestrian-core"/>
738
 
                                <line class="highway-pedestrian-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
739
 
                        </rule>
740
 
                        <rule e="way" k="highway" v="cycleway">
741
 
                                <line class="tunnel-casing highway-cycleway-casing tunnel" mask-class="tunnel-core highway-cycleway-core"/>
742
 
                                <line class="highway-cycleway-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
743
 
                        </rule>
744
 
                        <rule e="way" k="highway" v="path">
745
 
                                <rule e="way" k="bicycle" v="yes|designated">
746
 
                                        <line class="tunnel-casing highway-cycleway-casing tunnel" mask-class="tunnel-core highway-cycleway-core"/>
747
 
                                        <line class="highway-cycleway-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
748
 
                                </rule>
749
 
                                <else>
750
 
                                        <rule e="way" k="horse" v="yes|designated">
751
 
                                                <line class="tunnel-casing highway-bridleway-casing tunnel" mask-class="tunnel-core highway-bridleway-core"/>
752
 
                                                <line class="highway-bridleway-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
753
 
                                        </rule>
754
 
                                        <else>
755
 
                                                <line class="tunnel-casing highway-footway-casing tunnel" mask-class="tunnel-core highway-footway-core"/>
756
 
                                                <line class="highway-footway-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
757
 
                                        </else></else>
758
 
                        </rule>
759
 
                        <rule e="way" k="highway" v="bridleway">
760
 
                                <line class="tunnel-casing highway-bridleway-casing tunnel" mask-class="tunnel-core highway-bridleway-core"/>
761
 
                                <line class="highway-bridleway-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
762
 
                        </rule>
763
 
                        <rule e="way" k="highway" v="byway">
764
 
                                <line class="tunnel-casing highway-byway-1-casing tunnel" mask-class="tunnel-core highway-byway-1-core"/>
765
 
                                <line class="highway-byway-1-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
766
 
                        </rule>
767
 
                        <rule e="way" k="highway" v="track">
768
 
                                <line class="tunnel-casing highway-track-casing tunnel" mask-class="tunnel-core highway-track-core"/>
769
 
                                <line class="highway-track-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
770
 
                        </rule>
771
 
                        <rule e="way" k="highway" v="unsurfaced">
772
 
                                <line class="tunnel-casing highway-unsurfaced-casing tunnel" mask-class="tunnel-core highway-unsurfaced-core"/>
773
 
                                <line class="highway-unsurfaced-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
774
 
                        </rule>
775
 
                        <rule e="way" k="highway" v="service">
776
 
                                <line class="tunnel-casing highway-service-casing tunnel" mask-class="tunnel-core highway-service-core"/>
777
 
                                <line class="highway-service-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
778
 
                        </rule>
779
 
                        <rule e="way" k="highway" v="unclassified|residential|minor|tertiary|cycleroad|living_street">
780
 
                                <line class="tunnel-casing highway-unclassified-casing tunnel" mask-class="tunnel-core highway-unclassified-core"/>
781
 
                                <line class="highway-unclassified-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
782
 
                        </rule>
783
 
                        <rule e="way" k="highway" v="road">
784
 
                                <line class="tunnel-casing highway-unclassified-casing tunnel" mask-class="tunnel-core highway-road-core"/>
785
 
                                <line class="highway-unclassified-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
786
 
                        </rule>
787
 
                        <rule e="way" k="highway" v="tertiary_link">
788
 
                                <line class="tunnel-casing highway-tertiary-link-casing tunnel" mask-class="tunnel-core highway-tertiary-link-core"/>
789
 
                                <line class="highway-tertiary-link-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
790
 
                        </rule>
791
 
                        <rule e="way" k="highway" v="tertiary">
792
 
                                <line class="tunnel-casing highway-tertiary-casing tunnel" mask-class="tunnel-core highway-tertiary-core"/>
793
 
                                <line class="highway-tertiary-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
794
 
                        </rule>
795
 
                        <rule e="way" k="highway" v="secondary_link">
796
 
                                <line class="tunnel-casing highway-secondary-link-casing tunnel" mask-class="tunnel-core highway-secondary-link-core"/>
797
 
                                <line class="highway-secondary-link-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
798
 
                        </rule>
799
 
                        <rule e="way" k="highway" v="secondary">
800
 
                                <line class="tunnel-casing highway-secondary-casing tunnel" mask-class="tunnel-core highway-secondary-core"/>
801
 
                                <line class="highway-secondary-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
802
 
                        </rule>
803
 
                        <rule e="way" k="highway" v="primary_link">
804
 
                                <line class="tunnel-casing highway-primary-link-casing tunnel" mask-class="tunnel-core highway-primary-link-core"/>
805
 
                                <line class="highway-primary-link-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
806
 
                        </rule>
807
 
                        <rule e="way" k="highway" v="trunk_link">
808
 
                                <line class="tunnel-casing highway-trunk-link-casing tunnel" mask-class="tunnel-core highway-trunk-link-core"/>
809
 
                                <line class="highway-trunk-link-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
810
 
                        </rule>
811
 
                        <rule e="way" k="highway" v="motorway_link">
812
 
                                <line class="tunnel-casing highway-motorway-link-casing tunnel" mask-class="tunnel-core highway-motorway-link-core"/>
813
 
                                <line class="highway-motorway-link-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
814
 
                        </rule>
815
 
                        <rule e="way" k="highway" v="primary">
816
 
                                <line class="tunnel-casing highway-primary-casing tunnel" mask-class="tunnel-core highway-primary-core"/>
817
 
                                <line class="highway-primary-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
818
 
                        </rule>
819
 
                        <rule e="way" k="highway" v="trunk">
820
 
                                <line class="tunnel-casing highway-trunk-casing tunnel" mask-class="tunnel-core highway-trunk-core"/>
821
 
                                <line class="highway-trunk-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
822
 
                        </rule>
823
 
                        <rule e="way" k="highway" v="motorway">
824
 
                                <line class="tunnel-casing highway-motorway-casing tunnel" mask-class="tunnel-core highway-motorway-core"/>
825
 
                                <line class="highway-motorway-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
826
 
                        </rule>
827
 
                        <rule e="way" k="railway" v="monorail">
828
 
                                <line class="tunnel-casing railway-monorail-casing tunnel" mask-class="tunnel-core railway-monorail-core"/>
829
 
                                <line class="railway-monorail-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
830
 
                        </rule>
831
 
                        <rule e="way" k="railway" v="preserved">
832
 
                                <line class="tunnel-casing railway-preserved-casing tunnel" mask-class="tunnel-core railway-preserved-core"/>
833
 
                                <line class="railway-preserved-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
834
 
                        </rule>
835
 
                        <rule e="way" k="railway" v="narrow_gauge">
836
 
                                <line class="tunnel-casing railway-narrow-gauge-casing tunnel" mask-class="tunnel-core railway-narrow-gauge-core"/>
837
 
                                <line class="railway-narrow-gauge-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
838
 
                        </rule>
839
 
                        <rule e="way" k="railway" v="tram">
840
 
                                <line class="tunnel-casing railway-tram-casing tunnel" mask-class="tunnel-core railway-tram-core"/>
841
 
                                <line class="railway-tram-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
842
 
                        </rule>
843
 
                        <rule e="way" k="railway" v="subway">
844
 
                                <line class="tunnel-casing railway-subway-casing tunnel" mask-class="tunnel-core railway-subway-core"/>
845
 
                                <line class="railway-subway-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
846
 
                        </rule>
847
 
                        <rule e="way" k="railway" v="light_rail">
848
 
                                <line class="tunnel-casing railway-light-rail-casing tunnel" mask-class="tunnel-core railway-light-rail-core"/>
849
 
                                <line class="railway-light-rail-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
850
 
                        </rule>
851
 
                        <rule e="way" k="railway" v="rail">
852
 
                                <line class="tunnel-casing railway-rail-casing tunnel" mask-class="tunnel-core railway-rail-1-core"/>
853
 
                                <line class="railway-rail-casing highway-tunnel-ends" suppress-markers-tag="tunnel"/>
854
 
                        </rule>
855
 
                </rule>
856
 
                
857
 
                <!-- Linear cores (under construction) -->
858
 
                <rule e="way" k="highway" v="construction">
859
 
                        <rule e="way" k="construction" v="unsurfaced">
860
 
                                <line class="highway-core highway-unsurfaced-core under-construction"/>
861
 
                        </rule>
862
 
                        <rule e="way" k="construction" v="service">
863
 
                                <line class="highway-core highway-service-core under-construction"/>
864
 
                        </rule>
865
 
                        <rule e="way" k="construction" v="unclassified|residential|minor|cycleroad|living_street">
866
 
                                <line class="highway-core highway-unclassified-core under-construction"/>
867
 
                        </rule>
868
 
                        <rule e="way" k="construction" v="road">
869
 
                                <line class="highway-core highway-road-core under-construction"/>
870
 
                        </rule>
871
 
                        <rule e="way" k="construction" v="tertiary_link">
872
 
                                <line class="highway-core highway-tertiary-link-core under-construction"/>
873
 
                        </rule>
874
 
                        <rule e="way" k="construction" v="tertiary">
875
 
                                <line class="highway-core highway-tertiary-core under-construction"/>
876
 
                        </rule>
877
 
                        <rule e="way" k="construction" v="secondary_link">
878
 
                                <line class="highway-core highway-secondary-link-core under-construction"/>
879
 
                        </rule>
880
 
                        <rule e="way" k="construction" v="secondary">
881
 
                                <line class="highway-core highway-secondary-core under-construction"/>
882
 
                        </rule>
883
 
                        <rule e="way" k="construction" v="primary_link">
884
 
                                <line class="highway-core highway-primary-link-core under-construction"/>
885
 
                        </rule>
886
 
                        <rule e="way" k="construction" v="trunk_link">
887
 
                                <line class="highway-core highway-trunk-link-core under-construction"/>
888
 
                        </rule>
889
 
                        <rule e="way" k="construction" v="motorway_link">
890
 
                                <line class="highway-core highway-motorway-link-core under-construction"/>
891
 
                        </rule>
892
 
                        <rule e="way" k="construction" v="primary">
893
 
                                <line class="highway-core highway-primary-core under-construction"/>
894
 
                        </rule>
895
 
                        <rule e="way" k="construction" v="trunk">
896
 
                                <line class="highway-core highway-trunk-core under-construction"/>
897
 
                        </rule>
898
 
                        <rule e="way" k="construction" v="motorway">
899
 
                                <line class="highway-core highway-motorway-core under-construction"/>
900
 
                        </rule>
901
 
                </rule>
902
 
 
903
 
                <rule e="way" k="highway" v="*">
904
 
                        <rule e="way" k="construction|planned|disused|abandoned" v="yes|true">
905
 
                                <line class="wrong-under-construction" smart-linecap="no"/>
906
 
                        </rule>
907
 
                </rule>
908
 
 
909
 
                <!-- Aerialways -->
910
 
                <rule e="way" k="aerialway" v="cable_car|gondola">
911
 
                        <line class="aerialway-line no-bezier" smart-linecap="no"/>
912
 
                        <line class="aerialway-struts no-bezier" smart-linecap="no"/>
913
 
                </rule>
914
 
                
915
 
                <!-- Natural features -->
916
 
                <rule e="node" k="natural" v="peak">
917
 
                        <symbol ref="peak" position="center"/>
918
 
                </rule>
919
 
                
920
 
                <!-- Non-physical routes -->
921
 
                <rule e="way" k="route" v="ferry">
922
 
                        <line class="route-ferry"/>
923
 
                </rule>
924
 
                
925
 
                <!-- Airfields and airports -->
926
 
                <rule e="node|way" k="aeroway" v="airport">
927
 
                        <symbol ref="airport" position="center"/>
928
 
                </rule>
929
 
                
930
 
                <!-- ==================================== Layer -5 ======================================== -->
931
 
                
932
 
                <!-- Landuse -->
933
 
                <!-- at zoom 12 render all landuse in the same colour so it doesn't look too psychedelic -->
934
 
                <rule e="way" k="landuse" v="residential|farmyard|retail|industrial|brownfield|commercial|cemetery|quarry|greenfield|construction|railway" layer="-5">
935
 
                        <area class="landuse" layer="-5"/>
936
 
                </rule>
937
 
                
938
 
                <!-- Artificial landuse -->
939
 
                <rule e="way" k="amenity" v="school|college|university" layer="-5">
940
 
                        <area class="landuse" layer="-5"/>
941
 
                </rule>
942
 
                
943
 
                <!-- Man-made areas -->
944
 
                <rule e="way" k="landuse" v="military" layer="-5">
945
 
                        <rule e="way" k="military" v="~" layer="-5">
946
 
                                <area class="military-area" layer="-5"/>
947
 
                        </rule>
948
 
                </rule>
949
 
                <rule e="way" k="military" v="*" layer="-5">
950
 
                        <area class="military-area" layer="-5"/>
951
 
                </rule>
952
 
                <rule e="way" k="tourism" v="attraction" layer="-5">
953
 
                        <rule e="way" k="highway" v="~">
954
 
                                <rule e="way" k="area" v="no" />
955
 
                                <else>
956
 
                                        <area class="tourism attraction" layer="-5"/>
957
 
                                </else>
958
 
                        </rule>
959
 
                </rule>
960
 
                
961
 
                <!-- ==================================== Layer 5 ======================================== -->
962
 
                
963
 
                <!-- Non-physical boundaries -->
964
 
                <rule e="way" k="boundary" v="administrative" layer="5">
965
 
                        <rule e="way" k="admin_level" v="1|2|3|4" layer="5">
966
 
                                <rule e="way" k="admin_level" v="4" layer="5">
967
 
                                        <line class="boundary boundary-level-4-core" layer="5"/>
968
 
                                </rule>
969
 
                                <rule e="way" k="admin_level" v="3" layer="5">
970
 
                                        <line class="boundary boundary-level-3-core" layer="5"/>
971
 
                                </rule>
972
 
                                <rule e="way" k="admin_level" v="2" layer="5">
973
 
                                        <line class="boundary boundary-level-2-casing" layer="5"/>
974
 
                                        <line class="boundary boundary-level-2-core" layer="5"/>
975
 
                                </rule>
976
 
                                <rule e="way" k="admin_level" v="1" layer="5">
977
 
                                        <line class="boundary boundary-level-1-casing" layer="5"/>
978
 
                                        <line class="boundary boundary-level-1-core" layer="5"/>
979
 
                                </rule>
980
 
                        </rule>
981
 
                        <!-- If we don't have explicit admin_level then guess -->
982
 
                        <else>
983
 
                                <rule e="way" k="border_type" v="region|state" layer="5">
984
 
                                        <line class="boundary boundary-level-4-core" layer="5"/>
985
 
                                </rule>
986
 
                                <rule e="way" k="border_type" v="nation|country" layer="5">
987
 
                                        <line class="boundary boundary-level-2-casing" layer="5"/>
988
 
                                        <line class="boundary boundary-level-2-core" layer="5"/>
989
 
                                </rule>
990
 
                        </else>
991
 
                </rule>
992
 
                <rule e="way" k="boundary" v="national_park" layer="5">
993
 
                        <line class="boundary boundary-nationalpark-core" layer="5"/>
994
 
                </rule>
995
 
                
996
 
                <!-- Place names  -->
997
 
                <rule e="node" k="osmarender:renderName" v="~|yes" layer="5">
998
 
                        <rule e="node" k="place" v="island" layer="5">
999
 
                                <caption k="name" class="place-caption island-caption" layer="5"/>
1000
 
                        </rule>
1001
 
                        <rule e="node" k="place" v="county" layer="5">
1002
 
                                <caption k="name" class="place-caption county-caption" layer="5"/>
1003
 
                        </rule>
1004
 
                        <rule e="node" k="place" v="city" layer="5">
1005
 
                                <caption k="name" class="place-caption city-caption" layer="5"/>
1006
 
                        </rule>
1007
 
                        <rule e="node" k="place" v="town" layer="5">
1008
 
                                <caption k="name" class="place-caption town-caption" layer="5"/>
1009
 
                        </rule>
1010
 
                </rule>
1011
 
                
1012
 
                <!-- Names for large natural features -->
1013
 
                <rule e="way" k="natural" v="*" minSize="0.128" layer="5">
1014
 
                        <caption k="name" class="caption-casing largefeature-caption-casing" text-anchor='middle' startOffset='50%'/>
1015
 
                        <caption k="name" class="caption-core largefeature-caption-core" text-anchor='middle' startOffset='50%'/>
1016
 
                </rule>
1017
 
        </rule>
1018
 
        
1019
 
        <!-- SVG Definitions - markers, symbols etc go here -->
1020
 
        <include ref="markers.xml"/>
1021
 
        <defs>
1022
 
                <style xmlns="http://www.w3.org/2000/svg" id="styles" type="text/css">
1023
 
                        /* DO NOT DELETE .untagged-segments - Used by osmarender.xsl */
1024
 
                        .untagged-segments {
1025
 
                        stroke-width: 0.5px;
1026
 
                        stroke-linejoin: miter;
1027
 
                        stroke-linecap: butt;
1028
 
                        stroke: #e0e0e0;
1029
 
                        stroke-dasharray: 0.5,0.5;
1030
 
                        }
1031
 
                        
1032
 
                        /* Railways - generic styles */
1033
 
                        .railway-casing {
1034
 
                        stroke-linecap: butt;
1035
 
                        stroke-linejoin: round;
1036
 
                        fill: none;
1037
 
                        }
1038
 
                        
1039
 
                        .railway-core {
1040
 
                        stroke-linecap: butt;
1041
 
                        stroke-linejoin: round;
1042
 
                        fill: none;
1043
 
                        }                               
1044
 
                        
1045
 
                        
1046
 
                        /* Highways - generic styles */
1047
 
                        .highway-casing {
1048
 
                        stroke-linecap: square;
1049
 
                        stroke-linejoin: round;
1050
 
                        fill: none;
1051
 
                        }
1052
 
                        
1053
 
                        .highway-core {
1054
 
                        stroke-linecap: square;
1055
 
                        stroke-linejoin: round;
1056
 
                        fill: none;
1057
 
                        }
1058
 
                        
1059
 
                        .highway-motorway-junction {
1060
 
                        fill: yellow;
1061
 
                        stroke: #4D5D73;
1062
 
                        stroke-width: 3px;
1063
 
                        }
1064
 
                        
1065
 
                        .highway-motorway-junction-caption {
1066
 
                        fill: black;
1067
 
                        stroke: blue;
1068
 
                        stroke-width: 0.2px;
1069
 
                        font-family: "DejaVu Sans";
1070
 
                        font-size: 10px;
1071
 
                        font-weight: bold;
1072
 
                        display: none;
1073
 
                        }
1074
 
                        
1075
 
                        .highway-ref {
1076
 
                        fill: #606060;
1077
 
                        stroke: white;
1078
 
                        font-family: "DejaVu Sans";
1079
 
                        font-weight: normal;
1080
 
                        text-anchor: middle;
1081
 
                        }
1082
 
                        
1083
 
                        .highway-name {
1084
 
                        fill: black;
1085
 
                        font-family: "DejaVu Sans";
1086
 
                        font-weight: normal;
1087
 
                        stroke: white;
1088
 
                        text-anchor: middle;
1089
 
                        }
1090
 
                        
1091
 
                        .bridge-casing {
1092
 
                        stroke-linecap: butt;
1093
 
                        stroke-linejoin: round;
1094
 
                        stroke: #707070;
1095
 
                        fill: none;
1096
 
                        marker-start: url(#bridge-casing-start);
1097
 
                        marker-end: url(#bridge-casing-end);
1098
 
                        }
1099
 
                        
1100
 
                        .bridge-core {
1101
 
                        stroke-linecap: butt;
1102
 
                        stroke-linejoin: round;
1103
 
                        stroke: #ffffff;
1104
 
                        fill: none;
1105
 
                        }
1106
 
                        
1107
 
                        .tunnel-casing {
1108
 
                        stroke-linecap: butt;
1109
 
                        stroke-linejoin: round;
1110
 
                        fill: none;
1111
 
                        }
1112
 
                        
1113
 
                        .tunnel-core {
1114
 
                        stroke-linecap: butt;
1115
 
                        stroke-linejoin: round;
1116
 
                        fill: none;
1117
 
                        }
1118
 
                        
1119
 
                        .tunnel { stroke-dasharray: 1.6, 1.6; }
1120
 
                        
1121
 
                        
1122
 
                        .railway-rail-casing                    { stroke-width: 16.0px;  stroke: #b0b0b0; }
1123
 
                        .railway-rail-1-core                    { stroke-width: 8.0px;  stroke: #ffffff; }
1124
 
                        .railway-rail-2-core                    { stroke-width: 24.0px; stroke: #b0b0b0; stroke-dasharray: 2.4, 24.0; }
1125
 
                        
1126
 
                        .railway-light-rail-casing              { stroke-width: 8.0px; stroke: #606060; }
1127
 
                        .railway-light-rail-core                { stroke-width: 7.0px; stroke: #606060; }
1128
 
                        
1129
 
                        .railway-subway-casing                  { stroke-width: 8.0px; stroke: #b0b0b0; }
1130
 
                        .railway-subway-core                    { stroke-width: 7.0px; stroke: #ffffff; stroke-dasharray: 3, 9; }
1131
 
                        
1132
 
                        .railway-tram-casing                    { stroke-width: 6.0px; stroke: #606060; }
1133
 
                        .railway-tram-core                      { stroke-width: 5.5px; stroke: #606060; }
1134
 
                        
1135
 
                        .railway-narrow-gauge-casing            { stroke-width: 6.0px; stroke: #b0b0b0; }
1136
 
                        .railway-narrow-gauge-core              { stroke-width: 5.5px; stroke: #b0b0b0; }
1137
 
                        
1138
 
                        .railway-preserved-casing               { stroke-width: 6.0px; stroke: #606060; }
1139
 
                        .railway-preserved-core                 { stroke-width: 5.5px; stroke: #606060; }
1140
 
                        
1141
 
                        .railway-monorail-casing                { stroke-width: 6.0px; stroke: #606060; }
1142
 
                        .railway-monorail-core                  { stroke-width: 5.5px; stroke: #bf5bc3; }
1143
 
                        
1144
 
                        .highway-motorway-casing                { stroke-width: 22px; stroke: #202020; }
1145
 
                        .highway-motorway-area-casing           { stroke-width: 2px; }
1146
 
                        .highway-motorway-core                  { stroke-width: 20px; stroke: #809BC0; }
1147
 
                        .highway-motorway-area                  { fill: #809BC0; }
1148
 
                        
1149
 
                        .highway-motorway-link-casing           { stroke-width: 9px; stroke: #202020; }
1150
 
                        .highway-motorway-link-area-casing      { stroke-width: 0.5px; }
1151
 
                        .highway-motorway-link-core             { stroke-width: 8.5px; stroke: #809BC0; }
1152
 
                        .highway-motorway-link-area             { fill: #809BC0; }
1153
 
                        
1154
 
                        .highway-trunk-casing                   { stroke-width: 18px; stroke: #202020; }
1155
 
                        .highway-trunk-area-casing              { stroke-width: 2px; }
1156
 
                        .highway-trunk-core                     { stroke-width: 16px; stroke: #7fc97f; }
1157
 
                        .highway-trunk-area                     { fill: #7fc97f; }
1158
 
                        
1159
 
                        .highway-trunk-link-casing              { stroke-width: 10px; stroke: #202020; }
1160
 
                        .highway-trunk-link-core                { stroke-width: 8px; stroke: #7FC97F; }
1161
 
                        .highway-trunk-link-area                { fill: #7FC97F; }
1162
 
                        
1163
 
                        .highway-primary-casing                 { stroke-width: 14px; stroke: #202020; }
1164
 
                        .highway-primary-area-casing            { stroke-width: 1px; }
1165
 
                        .highway-primary-core                   { stroke-width: 13px; stroke: #e46d71; }
1166
 
                        .highway-primary-area                   { fill: #e46d71; }
1167
 
                        
1168
 
                        .highway-primary-link-casing            { stroke-width: 6px; stroke: #202020; }
1169
 
                        .highway-primary-link-area-casing       { stroke-width: 0.5px; }
1170
 
                        .highway-primary-link-core              { stroke-width: 5.5px; stroke: #e46d71; }
1171
 
                        .highway-primary-link-area              { fill: #e46d71; }
1172
 
                        
1173
 
                        .highway-secondary-casing               { stroke-width: 12px; stroke: #202020; }
1174
 
                        .highway-secondary-area-casing          { stroke-width: 1px; }
1175
 
                        .highway-secondary-core                 { stroke-width: 11px; stroke: #FDBF6F; }
1176
 
                        .highway-secondary-area                 { fill: #FDBF6F; }
1177
 
                        
1178
 
                        .highway-secondary-link-casing          { stroke-width: 6px; stroke: #202020; }
1179
 
                        .highway-secondary-link-area-casing     { stroke-width: 1px; }
1180
 
                        .highway-secondary-link-core            { stroke-width: 5.5px; stroke: #FDBF6F; }
1181
 
                        .highway-secondary-link-area            { fill: #FDBF6F; }
1182
 
                        
1183
 
                        .highway-tertiary-casing                { stroke-width: 5px;  stroke: #202020; }
1184
 
                        .highway-tertiary-area-casing           { stroke-width: 0.25px; }
1185
 
                        .highway-tertiary-core                  { stroke-width: 4.75px;  stroke: #ffff90; }
1186
 
                        .highway-tertiary-area                  { fill: #ffff90; }
1187
 
                        
1188
 
                        .highway-tertiary-link-casing           { stroke-width: 5px;  stroke: #202020; }
1189
 
                        .highway-tertiary-link-area-casing      { stroke-width: 0.25px; }
1190
 
                        .highway-tertiary-link-core             { stroke-width: 4.75px;  stroke: #ffff90; }
1191
 
                        .highway-tertiary-link-area             { fill: #ffff90; }
1192
 
                        
1193
 
                        .highway-unclassified-casing            { stroke-width: 5px; stroke: #c0c0c0; }
1194
 
                        .highway-unclassified-area-casing       { stroke-width: 3.8px; }
1195
 
                        .highway-unclassified-core              { stroke-width: 1.2px; stroke: #ffffff; }
1196
 
                        .highway-ford-core                      { stroke-width: 1.2px; stroke: #b5d6f1; stroke-linecap: butt; }
1197
 
                        .highway-unclassified-area              { fill: #ffffff; }
1198
 
                        .highway-road-core                      { stroke-width: 1.2px; stroke: #d0d0d0; }
1199
 
                        .highway-road-area                      { fill: #d0d0d0; }
1200
 
                        
1201
 
                        .highway-service-casing                 { stroke-width: 3px; stroke: #202020; }
1202
 
                        .highway-service-area-casing            { stroke-width: 0.5px; }
1203
 
                        .highway-service-core                   { stroke-width: 2.5px; stroke: #ffffff; }
1204
 
                        .highway-service-area                   { fill: #ffffff; }
1205
 
                        
1206
 
                        .highway-unsurfaced-casing              { stroke-width: 4px; stroke: #202020; stroke-dasharray: 1, .5; }
1207
 
                        .highway-unsurfaced-area-casing         { stroke-width: 0.5px; }
1208
 
                        .highway-unsurfaced-core                { stroke-width: 3.5px; stroke: #ffffff; }
1209
 
                        .highway-unsurfaced-area                { fill: #ffffff; }
1210
 
                        
1211
 
                        .highway-track-casing                   { stroke-width: 3px; stroke: #d79331; }
1212
 
                        .highway-track-area-casing              { stroke-width: 0.5px; }
1213
 
                        .highway-track-core                     { stroke-width: 2.5px; stroke: #ffffff; }
1214
 
                        .highway-track-area                     { fill: #ffffff; }
1215
 
                        
1216
 
                        .highway-track-grade1-casing            { stroke: #c0c0c0; }
1217
 
                        .highway-track-grade2-casing            { }
1218
 
                        .highway-track-grade3-casing            { stroke-dasharray: 1.6, 4.0; stroke-linecap: butt; }
1219
 
                        .highway-track-grade4-casing            { stroke-dasharray: 2.8, 8.0; stroke-linecap: butt; }
1220
 
                        .highway-track-grade5-casing            { stroke-dasharray: 2.8, 8.0; stroke-linecap: butt; }
1221
 
                        
1222
 
                        .highway-byway-1-casing                 { stroke-width: 2px;     stroke: #505050;  stroke-dasharray: 1.4, 0.4; stroke-linecap: butt;}
1223
 
                        .highway-byway-1-area-casing            { stroke-width: 0.4px; }
1224
 
                        .highway-byway-2-casing                 { stroke-width: 1.6px;   stroke: #efadaa; }
1225
 
                        .highway-byway-2-area-casing            { stroke-width: 0.0px; }
1226
 
                        .highway-byway-3-casing                 { stroke-width: 2.8px;   stroke: #505050;  stroke-dasharray: 0.2, 1.6; stroke-dashoffset: 1.2; stroke-linecap: butt; }
1227
 
                        .highway-byway-3-area-casing            { stroke-width: 1.4px; }
1228
 
                        .highway-byway-1-core                   { stroke-width: 0.8px;   stroke: #efadaa; }
1229
 
                        .highway-byway-area                   { fill: #efadaa; }
1230
 
                        
1231
 
                        .highway-bridleway-casing               { stroke-width: 0.5px;   stroke: #707070;  stroke-dasharray: 1.4, 0.4; stroke-linecap: butt; }
1232
 
                        .highway-bridleway-area-casing          { stroke-width: 0.0px; }
1233
 
                        .highway-bridleway-core                 { stroke-width: 0.5px;   stroke: #d3cb98; }
1234
 
                        .highway-bridleway-area                 { fill: #d3cb98; }
1235
 
                        
1236
 
                        .highway-cycleway-casing                { stroke-width: 0.5px;   stroke: #202020; }
1237
 
                        .highway-cycleway-area-casing           { stroke-width: 0.0px; }
1238
 
                        .highway-cycleway-core                  { stroke-width: 0.5px;   stroke: #d1fad1; }
1239
 
                        .highway-cycleway-area                  { fill: #d1fad1; }
1240
 
                        
1241
 
                        .highway-cycleroad-casing               { stroke-width: 4px;  stroke: #707070; }
1242
 
                        .highway-cycleroad-area-casing          { stroke-width: 0.5px; }
1243
 
                        .highway-cycleroad-core-3               { stroke-width: 3.5px;   stroke: #d1fad1; }
1244
 
                        .highway-cycleroad-area-3               { fill: #d1fad1; }
1245
 
 
1246
 
                        .highway-pedestrian-casing              { stroke-width: 4px; stroke: #707070; }
1247
 
                        .highway-pedestrian-area-casing         { stroke-width: 0.5px; }
1248
 
                        .highway-pedestrian-core                { stroke-width: 3.5px; stroke: #e5e0c2; }
1249
 
                        .highway-pedestrian-area                { fill: #e5e0c2; }
1250
 
                        
1251
 
                        .highway-footway-casing                 { stroke-width: 0.5px;   stroke: #202020; }
1252
 
                        .highway-footway-area-casing            { stroke-width: 0.0px; }
1253
 
                        .highway-footway-core                   { stroke-width: 0.5px;   stroke: #e5e0c2; }
1254
 
                        .highway-footway-area                   { fill: #e5e0c2; }
1255
 
                        
1256
 
                        /* render unmarked paths in the same color as highway=road */
1257
 
                        .highway-path-core                      { stroke-width: 0.5px;   stroke: #d0d0d0; }
1258
 
                        .highway-path-area                      { fill: #d0d0d0; }
1259
 
                        
1260
 
                        .highway-steps-casing                   { stroke-width: 1.2px;   stroke: #202020; }
1261
 
                        .highway-steps-core                     { stroke-width: 1.1px;   stroke: #e5e0c2; stroke-dasharray: 0.6, 0.2; stroke-linecap: butt;}
1262
 
                        
1263
 
                        .highway-scramble-core                  { stroke-width: 0.6px;   stroke: #707070; stroke-linecap: butt;}
1264
 
                        
1265
 
                        
1266
 
                        
1267
 
                        /* Aeroways */
1268
 
                        .apron {
1269
 
                        stroke-width: 0.3px;
1270
 
                        stroke: none;
1271
 
                        fill: #f0f0f0;
1272
 
                        }
1273
 
 
1274
 
                        .aeroway.core {
1275
 
                        stroke: #d4dcbd;
1276
 
                        }
1277
 
 
1278
 
                        .aeroway.casing {
1279
 
                        stroke: #000000;
1280
 
                        }
1281
 
 
1282
 
                        .taxiway, .runway {
1283
 
                        stroke-linecap: butt;
1284
 
                        stroke-linejoin: round;
1285
 
                        fill: none;
1286
 
                        }
1287
 
 
1288
 
                        .taxiway.core {
1289
 
                        stroke-width: 2px;
1290
 
                        }
1291
 
                        
1292
 
                        .taxiway.casing {
1293
 
                        stroke-width: 3px;
1294
 
                        }
1295
 
                        
1296
 
                        .runway.core {
1297
 
                        stroke-width: 5px;
1298
 
                        }
1299
 
                        
1300
 
                        .runway.casing {
1301
 
                        stroke-width: 7px;
1302
 
                        }
1303
 
                        
1304
 
                        /* not in use at this level? */
1305
 
                        /*
1306
 
                        .aeroway-aerodrome-caption {
1307
 
                        fill: black;
1308
 
                        stroke: white;
1309
 
                        stroke-width: 0.3px;
1310
 
                        font-family: "DejaVu Sans";
1311
 
                        font-size: 6px;
1312
 
                        font-weight: bold;
1313
 
                        }
1314
 
                        
1315
 
                        .aeroway-airport-caption {
1316
 
                        fill: black;
1317
 
                        stroke: white;
1318
 
                        stroke-width: 0.3px;
1319
 
                        font-family: "DejaVu Sans";
1320
 
                        font-size: 10px;
1321
 
                        font-weight: bold;
1322
 
                        text-anchor: middle;
1323
 
                        }
1324
 
                        */
1325
 
                        
1326
 
                        /* Waterways */
1327
 
                        .waterway-casing {
1328
 
                        stroke-linecap: round;
1329
 
                        stroke-linejoin: round;
1330
 
                        stroke: #b0b0b0;
1331
 
                        fill: none;
1332
 
                        }
1333
 
                        
1334
 
                        .waterway-core {
1335
 
                        stroke-linecap: round;
1336
 
                        stroke-linejoin: round;
1337
 
                        stroke: #b5d6f1;
1338
 
                        fill: none;
1339
 
                        }
1340
 
                        
1341
 
                        .waterway-riverbank {
1342
 
                        fill: #b5d6f1;
1343
 
                        stroke: #b0b0b0;
1344
 
                        stroke-width: 0px;
1345
 
                        }
1346
 
                        
1347
 
                        .waterway-river-casing          { stroke-width: 10px; }
1348
 
                        .waterway-river-core            { stroke-width: 10px; }
1349
 
                        .waterway-river-tunnel-core     { stroke-width: 8px; stroke-dasharray: 15, 15; }
1350
 
                        
1351
 
                        .waterway-stream-casing         { stroke-width: 3px; }
1352
 
                        .waterway-stream-core           { stroke-width: 3px; }
1353
 
                        .waterway-stream-tunnel-core    { stroke-width: 2.25px; stroke-dasharray: 6, 6; }
1354
 
                        
1355
 
                        .waterway-canal-casing          { stroke-width: 10px; }
1356
 
                        .waterway-canal-core            { stroke-width: 10px; }
1357
 
                        .waterway-canal-tunnel-core     { stroke-width: 8px; stroke-dasharray: 15, 15; }
1358
 
                        
1359
 
                        .waterway-drain-casing          { stroke-width: 4px; }
1360
 
                        .waterway-drain-core            { stroke-width: 4px; }
1361
 
                        .waterway-drain-tunnel-core     { stroke-width: 3px; stroke-dasharray: 6, 6; }
1362
 
                        
1363
 
                        .waterway-ditch-casing          { stroke-width: 1.2px; }
1364
 
                        .waterway-ditch-core            { stroke-width: 1.2px; }
1365
 
                        .waterway-ditch-tunnel-core     { stroke-width: 1.1px; stroke-dasharray: 6, 6; }
1366
 
                        
1367
 
                        
1368
 
                        /* Generic under-construction style - makes any way dashed */
1369
 
                        .under-construction { stroke-dasharray: 16, 26; }
1370
 
                        .wrong-under-construction { stroke-width: 6px; stroke: #ffffff; stroke-dasharray: 25, 25; fill:none; }
1371
 
                        
1372
 
 
1373
 
                        /* Ferry */
1374
 
                        .route-ferry {
1375
 
                        stroke-width: 2px;
1376
 
                        stroke-dasharray: 3,2;
1377
 
                        stroke-linecap: butt;
1378
 
                        stroke-linejoin: round;
1379
 
                        stroke: #707070;
1380
 
                        fill: none;
1381
 
                        }
1382
 
                        
1383
 
                        
1384
 
                        /* Place names */
1385
 
                        /* General style for place names */
1386
 
                        .place-caption {
1387
 
                        fill: black;
1388
 
                        stroke: none;
1389
 
                        font-family: "DejaVu Sans";
1390
 
                        font-weight: bold;
1391
 
                        text-anchor: middle;
1392
 
                        }
1393
 
                        
1394
 
                        .caption-casing {
1395
 
                        fill: white;
1396
 
                        stroke: white;
1397
 
                        font-family: "DejaVu Sans";
1398
 
                        font-weight: bold;
1399
 
                        text-anchor: middle;
1400
 
                        stroke-miterlimit: 1.5;
1401
 
                        }
1402
 
                        
1403
 
                        .caption-core {
1404
 
                        stroke: white;
1405
 
                        stroke-width: 0px;
1406
 
                        font-family: "DejaVu Sans";
1407
 
                        font-weight: bold;
1408
 
                        text-anchor: middle;
1409
 
                        stroke-miterlimit: 1.5;
1410
 
                        }
1411
 
                        
1412
 
                        .island-caption         { font-size: 65px; }
1413
 
                        .county-caption         { font-size: 150px; }
1414
 
                        .city-caption           { font-size: 100px; }
1415
 
                        .town-caption           { font-size: 65px; }
1416
 
                        
1417
 
                        
1418
 
                        .largefeature-caption-casing        { stroke-width: 25px; font-size: 50px; }
1419
 
                        .largefeature-caption-core          { fill: #4040ff;      font-size: 50px; }
1420
 
                        
1421
 
                        /* Natural */
1422
 
                        .natural.water, .coastline {
1423
 
                        fill: #b5d6f1;
1424
 
                        }
1425
 
 
1426
 
                        .natural.water {
1427
 
                        stroke: #b0b0b0;
1428
 
                        stroke-width: 0px;
1429
 
                        }
1430
 
                        
1431
 
                        .coastline {
1432
 
                        stroke: #b5d6f1;
1433
 
                        stroke-width: 1.5px;
1434
 
                        }
1435
 
 
1436
 
                        .glacier {
1437
 
                        fill: #fafaff;
1438
 
                        stroke: lightblue;
1439
 
                        stroke-width: 1.5px;
1440
 
                        }
1441
 
                        
1442
 
                        .natural.land {
1443
 
                        fill: #f8f8f8;
1444
 
                        stroke: #e0e0e0;
1445
 
                        stroke-width: 0.1px;
1446
 
                        }
1447
 
                        
1448
 
                        .heath {
1449
 
                        fill: #ffffc0;
1450
 
                        stroke: #ffff90;
1451
 
                        stroke-width: 0.2px;
1452
 
                        }
1453
 
                        
1454
 
                        .bog {
1455
 
                        fill: #946e50;
1456
 
                        stroke: #3f1f06;
1457
 
                        stroke-width: 0.2px;
1458
 
                        }
1459
 
                        
1460
 
                        /* Landuse */
1461
 
                        .landuse {
1462
 
                        stroke: none;
1463
 
                        fill: #f0f0f0;
1464
 
                        }
1465
 
                        
1466
 
                        /* selecting with the landuse class is possibly redundant here, .. */
1467
 
                        /*  but safer since it's more specific than just .landuse and .. */
1468
 
                        /*  won't be dependent on ordering here in the CSS */
1469
 
                        .landuse.wood {
1470
 
                        fill: #6fc18e;
1471
 
                        stroke: #6fc18e;
1472
 
                        stroke-width: 0.2px;
1473
 
                        }
1474
 
                        
1475
 
                        .landuse.cemetery {
1476
 
                        fill: #bde3cb;
1477
 
                        stroke: #e4e4e4;
1478
 
                        stroke-width: 0.2px;
1479
 
                        }
1480
 
                        
1481
 
                        .landuse.field {
1482
 
                        fill: #bde3cb;
1483
 
                        stroke: #6fc13d;
1484
 
                        stroke-width: 0.2px;
1485
 
                        }
1486
 
                        
1487
 
                        .landuse.residential {
1488
 
                        fill: #e4e4e4;
1489
 
                        }
1490
 
                        
1491
 
                        .landuse.industrial {
1492
 
                        fill: #ecd8ff;
1493
 
                        stroke: #e4e4e4;
1494
 
                        stroke-width: 0.2px;
1495
 
                        }
1496
 
                        
1497
 
                        .landuse.commercial {
1498
 
                        fill: #ffffc0;
1499
 
                        stroke: #e4e4e4;
1500
 
                        stroke-width: 0.2px;
1501
 
                        }
1502
 
                        
1503
 
                        .landuse.retail {
1504
 
                        fill: #ffebeb;
1505
 
                        stroke: #e4e4e4;
1506
 
                        stroke-width: 0.2px;
1507
 
                        }
1508
 
                        
1509
 
                        .landuse.runway {
1510
 
                        stroke-width: 0.3px;
1511
 
                        stroke: #808080;
1512
 
                        fill: #d4dcbd;
1513
 
                        }
1514
 
                        
1515
 
                        .landuse.runway.disused {
1516
 
                        stroke-dasharray: 1, 1;
1517
 
                        }
1518
 
                        
1519
 
                        .landuse.runway.dismantled {
1520
 
                        fill: #fcffef;
1521
 
                        stroke-dasharray: 0.3, 1.7;
1522
 
                        opacity: 0.5;
1523
 
                        }
1524
 
 
1525
 
                        .landuse.conservation {
1526
 
                        fill: #cfeca8;
1527
 
                        stroke: #6fc18e;
1528
 
                        stroke-width: 0.2px
1529
 
                        }
1530
 
                        
1531
 
                        /* Leisure, sport */
1532
 
                        .leisure, .sport {
1533
 
                        stroke: #6fc18e;
1534
 
                        stroke-width: 0.2px;
1535
 
                        }
1536
 
 
1537
 
                        .leisure-park, .nature_reserve {
1538
 
                        fill: #c7f1a3;
1539
 
                        }
1540
 
                        
1541
 
                        .stadium, .leisure.track, .sport {
1542
 
                        fill: #bde3cb;
1543
 
                        }
1544
 
                        
1545
 
                        .parking {
1546
 
                        fill: #ffffc0;
1547
 
                        stroke: #e9dd72;
1548
 
                        stroke-width: 0.2px;
1549
 
                        }
1550
 
                        
1551
 
                        
1552
 
                        
1553
 
                        /* Non-physical boundaries */
1554
 
                        .boundary {
1555
 
                        stroke-linecap: round;
1556
 
                        stroke-linejoin: round;
1557
 
                        fill: none;
1558
 
                        }
1559
 
                        
1560
 
                        .boundary-level-1-casing {
1561
 
                        stroke-width: 56px;
1562
 
                        stroke: #ffff00;
1563
 
                        opacity: 0.5;
1564
 
                        }
1565
 
                        
1566
 
                        .boundary-level-1-core {
1567
 
                        stroke-width: 8px;
1568
 
                        stroke: #f9574b;
1569
 
                        stroke-dasharray: 48, 16, 16, 16;
1570
 
                        }
1571
 
                        
1572
 
                        .boundary-level-2-casing {
1573
 
                        stroke-width: 24px;
1574
 
                        stroke: #ffff00;
1575
 
                        opacity: 0.5;
1576
 
                        }
1577
 
                        
1578
 
                        .boundary-level-2-core {
1579
 
                        stroke-width: 8px;
1580
 
                        stroke: #f9574b;
1581
 
                        stroke-dasharray: 48, 48;
1582
 
                        }
1583
 
                        
1584
 
                        .boundary-level-3-core {
1585
 
                        stroke-width: 8px;
1586
 
                        stroke: #f9574b;
1587
 
                        }
1588
 
                        
1589
 
                        .boundary-level-4-core {
1590
 
                        stroke-width: 8px;
1591
 
                        stroke: #f9574b;
1592
 
                        stroke-dasharray: 48, 16, 16, 16;
1593
 
                        }
1594
 
                        
1595
 
                        .boundary-nationalpark-core {
1596
 
                        stroke-width: 8px;
1597
 
                        stroke: #4ef94b;
1598
 
                        stroke-dasharray: 48, 16, 16, 16;
1599
 
                        }
1600
 
                        
1601
 
                        
1602
 
                        /* Racetracks */
1603
 
                        .highway-raceway-casing {
1604
 
                        stroke-width: 2px;
1605
 
                        stroke-linecap: butt;
1606
 
                        stroke-linejoin: round;
1607
 
                        fill: none;
1608
 
                        stroke: #101010;
1609
 
                        }
1610
 
                        
1611
 
                        .highway-raceway-casing-disused {
1612
 
                        stroke-width: 2px;
1613
 
                        stroke-linecap: butt;
1614
 
                        stroke-linejoin: round;
1615
 
                        fill: none;
1616
 
                        stroke: #808080;
1617
 
                        stroke-dasharray: 1, 1;
1618
 
                        }
1619
 
                        
1620
 
                        .highway-raceway-casing-dismantled {
1621
 
                        stroke-width: 2px;
1622
 
                        stroke-linecap: butt;
1623
 
                        stroke-linejoin: round;
1624
 
                        fill: none;
1625
 
                        stroke: #808080;
1626
 
                        stroke-dasharray: 0.3, 1.7;
1627
 
                        opacity: 0.5;
1628
 
                        }
1629
 
                        
1630
 
                        .highway-raceway-core {
1631
 
                        stroke-width: 1.5px;
1632
 
                        stroke-linecap: butt;
1633
 
                        stroke-linejoin: round;
1634
 
                        fill: none;
1635
 
                        stroke: #f0f0f0;
1636
 
                        }
1637
 
                        
1638
 
                        .highway-raceway-core-disused {
1639
 
                        stroke-width: 1.5px;
1640
 
                        stroke-linecap: butt;
1641
 
                        stroke-linejoin: round;
1642
 
                        fill: none;
1643
 
                        stroke-dasharray: 1, 1;
1644
 
                        stroke: #f0f0f0;
1645
 
                        }
1646
 
                        
1647
 
                        .highway-raceway-core-dismantled {
1648
 
                        stroke-width: 1.5px;
1649
 
                        stroke-linecap: butt;
1650
 
                        stroke-linejoin: round;
1651
 
                        fill: none;
1652
 
                        stroke: #ffffff;
1653
 
                        stroke-dasharray: 0.3, 1.7;
1654
 
                        opacity: 0.5;
1655
 
                        }
1656
 
                        
1657
 
                        .landuse.raceway {
1658
 
                        stroke-width: 0.3px;
1659
 
                        stroke-linecap: butt;
1660
 
                        stroke-linejoin: round;
1661
 
                        fill: #f0f0f0;
1662
 
                        stroke: #101010;
1663
 
                        }
1664
 
                        
1665
 
                        .landuse.raceway.disused {
1666
 
                        stroke-width: 0.3px;
1667
 
                        stroke-linecap: butt;
1668
 
                        stroke-linejoin: round;
1669
 
                        fill: #f0f0f0;
1670
 
                        stroke: #808080;
1671
 
                        stroke-dasharray: 1, 1;
1672
 
                        }
1673
 
                        
1674
 
                        .landuse.raceway.dismantled {
1675
 
                        stroke-width: 0.3px;
1676
 
                        stroke-linecap: butt;
1677
 
                        stroke-linejoin: round;
1678
 
                        fill: #ffffff;
1679
 
                        stroke: #808080;
1680
 
                        stroke-dasharray: 0.3, 1.7;
1681
 
                        opacity: 0.5;
1682
 
                        }
1683
 
                        
1684
 
                        /* Tourism */
1685
 
                        .attraction {
1686
 
                        fill: #f2caea;
1687
 
                        stroke: #ff00ff;
1688
 
                        stroke-width: 0px;
1689
 
                        }
1690
 
                        .green_area {
1691
 
                        fill: #c7f1a3;
1692
 
                        stroke: #6fc18e;
1693
 
                        stroke-width: 0.2px;
1694
 
                        }
1695
 
 
1696
 
                        .military-area {
1697
 
                        fill: #d0d050;
1698
 
                        stroke: #e4e4e4;
1699
 
                        stroke-width: 0.2px;
1700
 
                        }
1701
 
                        
1702
 
                        /* Building */
1703
 
                        .building {
1704
 
                        fill: #e0e0e0;
1705
 
                        stroke: #d0d0d0;
1706
 
                        stroke-width: 0.2px;
1707
 
                        }
1708
 
                        
1709
 
                        .building-block {
1710
 
                        fill: #F3D6B6;
1711
 
                        stroke: #6a5a8e;
1712
 
                        stroke-width: 0.2px;
1713
 
                        }
1714
 
                        
1715
 
                        .building-residential {
1716
 
                        fill: #c95e2a;
1717
 
                        stroke: #800000;
1718
 
                        stroke-width: 0.2px;
1719
 
                        }
1720
 
                        
1721
 
                        /* Aerialways */
1722
 
                        .aerialway-line {
1723
 
                        fill: none;
1724
 
                        stroke: #000000;
1725
 
                        stroke-width: 1px;
1726
 
                        }
1727
 
                        
1728
 
                        .aerialway-struts {
1729
 
                        fill:none;
1730
 
                        stroke: #000000;
1731
 
                        stroke-width: 5px;
1732
 
                        stroke-dasharray: 0.5, 10;
1733
 
                        }
1734
 
                        
1735
 
                        /* Map decoration */
1736
 
                        .map-grid-line {
1737
 
                        fill: none;
1738
 
                        stroke: #8080ff;
1739
 
                        stroke-width: 0.1px;
1740
 
                        stroke-opacity: 0.5;
1741
 
                        }
1742
 
                        
1743
 
                        .map-border-casing {
1744
 
                        fill: none;
1745
 
                        stroke: #8080ff;
1746
 
                        stroke-width: 3px;
1747
 
                        stroke-miterlimit: 4;
1748
 
                        stroke-dasharray: none;
1749
 
                        stroke-opacity: 1;
1750
 
                        stroke-linecap: round;
1751
 
                        }
1752
 
                        
1753
 
                        .map-border-core {
1754
 
                        fill: none;
1755
 
                        fill-opacity: 1;
1756
 
                        fill-rule: nonzero;
1757
 
                        stroke: #ffffff;
1758
 
                        stroke-width: 2px;
1759
 
                        stroke-miterlimit: 0;
1760
 
                        stroke-dashoffset: -0.5px;
1761
 
                        stroke-opacity: 1;
1762
 
                        }
1763
 
                        
1764
 
                        .map-scale-casing {
1765
 
                        fill: none;
1766
 
                        stroke: #8080ff;
1767
 
                        stroke-width: 4px;
1768
 
                        stroke-linecap: butt;
1769
 
                        }
1770
 
                        
1771
 
                        .map-scale-core {
1772
 
                        fill: none;
1773
 
                        stroke: #ffffff;
1774
 
                        stroke-width: 3px;
1775
 
                        stroke-linecap: butt;
1776
 
                        }
1777
 
                        
1778
 
                        .map-scale-bookend {
1779
 
                        fill: none;
1780
 
                        stroke: #8080ff;
1781
 
                        stroke-width: 1px;
1782
 
                        stroke-linecap: butt;
1783
 
                        }
1784
 
                        
1785
 
                        .map-scale-caption {
1786
 
                        font-family: "DejaVu Sans";
1787
 
                        font-size: 10px;
1788
 
                        fill: #8080ff;
1789
 
                        }
1790
 
                        
1791
 
                        <!-- map background must be the same for all zooms or else empty tile detection will fail -->
1792
 
                        .map-background {
1793
 
                        fill: #f8f8f8;
1794
 
                        stroke: none;
1795
 
                        }
1796
 
                        
1797
 
                        .map-title {
1798
 
                        font-family: "DejaVu Sans";
1799
 
                        font-size: 20px;
1800
 
                        text-anchor: middle;
1801
 
                        fill: black;
1802
 
                        }
1803
 
                        
1804
 
                        .map-title-background {
1805
 
                        fill: white;
1806
 
                        }
1807
 
                        
1808
 
                        .map-marginalia-background {
1809
 
                        fill: white;
1810
 
                        }
1811
 
                        
1812
 
                        .highway-tunnel-ends {
1813
 
                        stroke-opacity: 0;
1814
 
                        fill: none;
1815
 
                        marker-start: url(#marker-tunnel-start);
1816
 
                        marker-end: url(#marker-tunnel-end);
1817
 
                        }
1818
 
                        
1819
 
                        /* Osmarender built-in styles - do not remove */
1820
 
                        .osmarender-stroke-linecap-round { stroke-linecap: round; }
1821
 
                        .osmarender-stroke-linecap-butt { stroke-linecap: butt; }
1822
 
                        .osmarender-mask-black { stroke: black; }
1823
 
                        .osmarender-mask-white { stroke: white; }
1824
 
                        .osmarender-no-marker-start { marker-start: none; }
1825
 
                        .osmarender-no-marker-end { marker-end: none; }
1826
 
                </style>
1827
 
        </defs>
1828
 
</rules>