source: josm/trunk/styles/standard/elemstyles.xml@ 6701

Last change on this file since 6701 was 6686, checked in by Don-vip, 11 years ago

fix #9575 - support predefined character classes in MapCSS regular expressions (\d, \D, \s, \S, \w, \W)

File size: 102.3 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<rules xmlns="http://josm.openstreetmap.de/mappaint-style-1.0"
3 name="standard" icon="dialogs/mappaint/josm_small.png">
4<!--
5A little help:
61. every rule starts with <rule> and ends with </rule>
72. every rule needs a condition
8 -k for the key (required)
9 -v for the value as a string
10 -b for the values yes / no (boolean, will also understand true, 1 and false, 0 respectively)
11 Both -v and -b are optional (but recommended). If both are ommitted, the rule will apply to all
12 tags with the given key - don't forget to set a priority if other rules could also apply.
133. line attributes
14 - width absolute width in pixel in every zoom level
15 - realwidth relative width which will be scaled in meters, integer
16 - colour
17 - priority
18 - dashed x - dashed line, length of dashes / spaces in x pixels
19 - dashed x,y - dashed line, x length of dashes / spaces in y pixels
20 - dashedcolour second (background) colour of a dashed line
214. linemod attributes
22 - all line attributes
23 - mode ('over' or 'under')
24 - width can be specified relative to modified way:
25 +x - <x> pixels are added to way size
26 -x - <x> pixels are subtracted from way size
27 x% - the size is <x> percent of modified way
28 If the size is <= 1 the minimum size of 1 is used.
295. area attributes
30 - colour
31 - priority
32 - closed (true or false - when true the area style is ignored for unclosed ways)
336. icon attributes
34 - icon (path to icon)
35 - relative to the icon path
36 - URL's are also supported to allow remote icons (are cached locally)
37 - priority
38 - annonate (true or false)
397. scale_min / scale_max
40 - zoom scale for display (currently unused)
41
42Using both area and line attributes for the same key/value pair does work. For areas
43first the best matching area rule is searched and the best matching line rule is
44connected with it. They need not have the same key/value pair.
45
46The colours can consist of the two components - name and hex code (e.g. water#0000ff).
47If both are given, the color name is introduced in preferences with that value. If only
48code is given (e.g. #0000ff), it is used directly. If only name is given, either user
49modified preferences or previous value is used. The 6 hex digit color code can also
50be appended by a hex value of the alpha channel (thus having 8 hex digits instead of 6).
51
52Linemod's are drawn over or under the line they are associated with and modify the
53appearance. There can be multiple linemod's for one way (contrary to line styles,
54where only one applies). When drawn over a way either a very small width must be choosen
55or an alpha value must be used for the colour field (otherwise the original way is
56not visible). When the mod is under the way, then it must be wide enough to be visible
57on the sides of the way or the waystyles itself must use alpha channel (which may
58look strange).
59
60If a key/value pair matches more than one rule, the "rule that wins" is unpredicted
61in case they have same priority! Using priority settings helps to solve conflicts.
62
63For external files the <rules> should have following elements:
64- author the author of the style
65- version a version number of some sort (e.g. creation date)
66- description what is your style meant to be
67- shortdescription very short description
68- link a link to a helpful website (optional)
69- name is the name of the style
70- icon icon to display in style choosing dialog
71- The fields description, shortdescription and link may also be localized (e.g. de.link)
72-->
73
74 <rule>
75 <condition k="restriction" v="no_left_turn"/>
76 <icon annotate="true" src="vehicle/restriction/turn_restrictions/no_left_turn.png"/>
77 <!--icon annotate="true" src="vehicle/restriction/turn_restrictions/ireland/no_left_turn.png"/-->
78 </rule>
79 <rule>
80 <condition k="restriction" v="no_right_turn"/>
81 <icon annotate="true" src="vehicle/restriction/turn_restrictions/no_right_turn.png"/>
82 <!--icon annotate="true" src="vehicle/restriction/turn_restrictions/ireland/no_right_turn.png"/-->
83 </rule>
84 <rule>
85 <condition k="restriction" v="no_straight_on"/>
86 <icon annotate="true" src="vehicle/restriction/turn_restrictions/no_straight_on.png"/>
87 <!--icon annotate="true" src="vehicle/restriction/turn_restrictions/ireland/no_straight_on.png"/-->
88 </rule>
89 <rule>
90 <condition k="restriction" v="no_u_turn"/>
91 <icon annotate="true" src="vehicle/restriction/turn_restrictions/no_u_turn.png"/>
92 <!--icon annotate="true" src="vehicle/restriction/turn_restrictions/ireland/no_u_turn.png"/-->
93 </rule>
94 <rule>
95 <condition k="restriction" v="only_left_turn"/>
96 <icon annotate="true" src="vehicle/restriction/turn_restrictions/only_left_turn.png"/>
97 </rule>
98 <rule>
99 <condition k="restriction" v="only_right_turn"/>
100 <icon annotate="true" src="vehicle/restriction/turn_restrictions/only_right_turn.png"/>
101 </rule>
102 <rule>
103 <condition k="restriction" v="only_straight_on"/>
104 <icon annotate="true" src="vehicle/restriction/turn_restrictions/only_straight_on.png"/>
105 </rule>
106
107
108 <!-- mark some specials that should be fixed - they are already the default and therefore shouldn't be tagged -->
109 <rule>
110 <condition k="oneway"/>
111 <!-- no line or area, as this is a highway=xy, railway=xy, .... -->
112 <icon annotate="true" src="misc/deprecated.png"/>
113 </rule>
114 <rule>
115 <condition k="bridge" b="yes"/>
116 <linemod mode="over" width="+4" colour="bridge#00008080" dashed="false"/>
117 <icon annotate="true" src="vehicle/viaduct.png"/>
118 </rule>
119 <rule>
120 <condition k="bridge" b="no"/>
121 <line width="2" realwidth="5" dashed="true" colour="deprecated#ff0000" priority="-50000"/>
122 <icon annotate="true" src="misc/deprecated.png"/>
123 </rule>
124 <rule>
125 <condition k="bridge" v="viaduct"/>
126 <linemod mode="over" width="+4" colour="bridge#00008080" dashed="false"/>
127 <icon annotate="true" src="vehicle/viaduct.png"/>
128 </rule>
129 <rule>
130 <condition k="bridge" v="aqueduct"/>
131 <linemod mode="over" width="+4" colour="bridge#00008080" dashed="false"/>
132 <icon annotate="true" src="nautical/aqueduct.png"/>
133 </rule>
134 <rule>
135 <condition k="bridge" v="swing"/>
136 <linemod mode="over" width="+4" colour="bridge#00008080" dashed="false"/>
137 <icon annotate="true" src="vehicle/viaduct.png"/>
138 </rule>
139 <rule>
140 <condition k="tunnel" b="yes"/>
141 <linemod mode="over" width="+4" colour="bridge#00008080" dashed="false"/>
142 <icon annotate="true" src="misc/deprecated.png"/>
143 </rule>
144 <rule>
145 <condition k="tunnel" b="no"/>
146 <line width="2" realwidth="5" dashed="true" colour="deprecated#ff0000"/>
147 <icon annotate="true" src="misc/deprecated.png"/>
148 </rule>
149 <rule>
150 <condition k="cutting" b="no"/>
151 <line width="2" realwidth="5" dashed="true" colour="deprecated#ff0000"/>
152 <icon annotate="true" src="misc/deprecated.png"/>
153 </rule>
154 <rule>
155 <condition k="embankment" b="no"/>
156 <line width="2" realwidth="5" dashed="true" colour="deprecated#ff0000"/>
157 <icon annotate="true" src="misc/deprecated.png"/>
158 </rule>
159
160<!--restrictions tags -->
161<!--the restrictions rules should be placed before the path rule! -->
162
163 <rule>
164 <condition k="access" b="no"/>
165 <linemod mode="under" width="+2" colour="no#ff8080" dashed="2"/>
166 <icon src="vehicle/restriction/access.png" priority="-100"/>
167 </rule>
168 <rule>
169 <condition k="access" v="permissive"/>
170 <linemod mode="under" width="+2" colour="permissive#80ff80" dashed="2"/>
171 <icon annotate="true" src="misc/no_icon.png" priority="-100"/>
172 </rule>
173 <rule>
174 <condition k="access" v="private"/>
175 <linemod mode="under" width="+2" colour="private#ff8080" dashed="2"/>
176 <icon annotate="true" src="misc/no_icon.png" priority="-100"/>
177 </rule>
178 <rule>
179 <condition k="access" v="destination"/>
180 <linemod mode="under" width="+2" colour="destination#8080ff" dashed="2"/>
181 <icon annotate="true" src="misc/no_icon.png" priority="-100"/>
182 </rule>
183
184 <rule>
185 <condition k="bicycle" b="no"/>
186 <icon src="vehicle/restriction/bicycle.png" priority="-100"/>
187 </rule>
188 <rule>
189 <condition k="bicycle" v="designated"/>
190 <!-- see trac #1559 <line width="1" realwidth="2" colour="bicycle#ff00ff"/>-->
191 <icon annotate="true" src="vehicle/restriction/bicycle-designated.png" priority="-100"/>
192 </rule>
193
194 <rule>
195 <condition k="foot" b="no"/>
196 <icon src="vehicle/restriction/foot.png" priority="-100"/>
197 </rule>
198 <rule>
199 <condition k="foot" v="designated"/>
200 <!-- see trac #1559 <line width="1" realwidth="1" colour="foot#00ff00"/>-->
201 <icon annotate="true" src="vehicle/restriction/foot-designated.png" priority="-100"/>
202 </rule>
203
204 <rule>
205 <condition k="goods" b="no"/>
206 <icon src="vehicle/restriction/goods.png" priority="-100"/>
207 </rule>
208
209 <rule>
210 <condition k="hgv" b="no"/>
211 <icon src="vehicle/restriction/goods.png" priority="-100"/>
212 </rule>
213
214 <rule>
215 <condition k="horse" b="no"/>
216 <icon src="vehicle/restriction/horse.png" priority="-100"/>
217 </rule>
218 <rule>
219 <condition k="horse" v="designated"/>
220 <!-- see trac #1559 <line width="1" realwidth="2" colour="horse#c08000"/>-->
221 <icon src="vehicle/restriction/horse-designated.png" priority="-100"/>
222 </rule>
223
224 <rule>
225 <condition k="motorcycle" b="no"/>
226 <icon src="vehicle/restriction/motorbike.png" priority="-100"/>
227 </rule>
228
229 <rule>
230 <condition k="motorcar" b="no"/>
231 <icon src="vehicle/restriction/motorcar.png" priority="-100"/>
232 </rule>
233
234 <rule>
235 <condition k="psv" b="no"/>
236 <icon src="vehicle/restriction/psv.png" priority="-100"/>
237 </rule>
238
239 <rule>
240 <condition k="motorboat" b="no"/>
241 <icon src="misc/no_icon.png" priority="-100"/>
242 </rule>
243
244 <rule>
245 <condition k="boat" b="no"/>
246 <icon src="misc/no_icon.png" priority="-100"/>
247 </rule>
248
249 <rule>
250 <condition k="noexit" b="yes"/>
251 <icon src="vehicle/restriction/dead_end.png" priority="-100"/>
252 </rule>
253
254 <rule>
255 <condition k="maxweight"/>
256 <icon src="vehicle/restriction/maxweight.png"/>
257 </rule>
258
259 <rule>
260 <condition k="maxheight"/>
261 <icon src="vehicle/restriction/maxheight.png"/>
262 </rule>
263
264 <rule>
265 <condition k="maxwidth"/>
266 <icon src="vehicle/restriction/maxwidth.png"/>
267 </rule>
268
269 <rule>
270 <condition k="maxlength"/>
271 <icon src="vehicle/restriction/maxlength.png"/>
272 </rule>
273
274 <rule>
275 <condition k="maxspeed"/>
276 <icon src="vehicle/restriction/speed.png" priority="-100"/>
277 </rule>
278
279 <rule>
280 <condition k="minspeed"/>
281 <icon src="vehicle/restriction/minspeed.png"/>
282 </rule>
283
284 <rule>
285 <condition k="maxstay"/>
286 <icon src="misc/no_icon.png" priority="-100"/>
287 </rule>
288
289 <rule>
290 <condition k="toll"/>
291 <icon src="misc/no_icon.png" priority="-100"/>
292 </rule>
293
294 <rule>
295 <condition k="barrier"/>
296 <icon annotate="true" src="vehicle/restriction/barrier.png" priority="-10"/>
297 </rule>
298 <rule>
299 <condition k="barrier" v="bollard"/>
300 <icon annotate="true" src="vehicle/restriction/bollard.png"/>
301 <line width="3" colour="barrier#F0F050" dashed="3,9"/>
302 </rule>
303 <rule>
304 <condition k="barrier" v="gate"/>
305 <icon annotate="true" src="vehicle/gate.png"/>
306 </rule>
307 <rule>
308 <condition k="barrier" v="hedge"/>
309 <icon annotate="true" src="misc/deprecated.png"/>
310 <line width="3" colour="barrier#F0F050"/>
311 </rule>
312 <rule>
313 <condition k="barrier" v="stile"/>
314 <icon annotate="true" src="vehicle/stile.png"/>
315 </rule>
316 <rule>
317 <condition k="barrier" v="turnstile"/>
318 <icon annotate="true" src="vehicle/turnstile.png"/>
319 </rule>
320 <rule>
321 <condition k="barrier" v="fence"/>
322 <icon annotate="true" src="misc/no_icon.png"/>
323 <line width="3" colour="barrier#F0F050"/>
324 </rule>
325 <rule>
326 <condition k="barrier" v="cycle_barrier"/>
327 <icon annotate="true" src="vehicle/cycle_barrier.png"/>
328 </rule>
329 <rule>
330 <condition k="barrier" v="lift_gate"/>
331 <icon annotate="true" src="vehicle/lift_gate.png"/>
332 </rule>
333 <rule>
334 <condition k="barrier" v="wall"/>
335 <icon annotate="true" src="misc/deprecated.png"/>
336 <line width="3" colour="barrier#F0F050"/>
337 </rule>
338 <rule>
339 <condition k="barrier" v="toll_booth"/>
340 <icon annotate="true" src="vehicle/toll_booth.png"/>
341 <area colour="barrier#F0F050" closed="true"/>
342 </rule>
343 <rule>
344 <condition k="barrier" v="kissing_gate"/>
345 <icon annotate="true" src="misc/no_icon.png"/>
346 </rule>
347 <rule>
348 <condition k="barrier" v="city_wall"/>
349 <icon annotate="true" src="misc/deprecated.png"/>
350 <line width="3" colour="barrier#F0F050"/>
351 </rule>
352 <rule>
353 <condition k="barrier" v="entrance"/>
354 <icon annotate="true" src="vehicle/entrance.png"/>
355 </rule>
356 <rule>
357 <condition k="barrier" v="retaining_wall"/>
358 <icon annotate="true" src="misc/deprecated.png"/>
359 <line width="3" colour="barrier#F0F050"/>
360 </rule>
361 <rule>
362 <condition k="barrier" v="cattle_grid"/>
363 <icon annotate="true" src="vehicle/cattle_grid.png"/>
364 </rule>
365 <rule>
366 <condition k="barrier" v="block"/>
367 <icon annotate="true" src="vehicle/block.png"/>
368 <line width="3" colour="barrier#F0F050"/>
369 </rule>
370 <rule>
371 <condition k="barrier" v="border_control"/>
372 <icon annotate="true" src="vehicle/border_control.png"/>
373 </rule>
374 <rule>
375 <condition k="barrier" v="bump_gate"/>
376 <icon annotate="true" src="misc/no_icon.png"/>
377 </rule>
378 <rule>
379 <condition k="barrier" v="sally_port"/>
380 <icon annotate="true" src="vehicle/sally_port.png"/>
381 </rule>
382 <rule>
383 <condition k="barrier" v="portcullis"/>
384 <icon annotate="true" src="misc/no_icon.png"/>
385 </rule>
386 <rule>
387 <condition k="barrier" v="spikes"/>
388 <icon annotate="true" src="misc/no_icon.png"/>
389 </rule>
390 <rule>
391 <condition k="barrier" v="bus_trap"/>
392 <icon annotate="true" src="misc/no_icon.png"/>
393 </rule>
394 <rule>
395 <condition k="barrier" v="drawbridge"/>
396 <icon annotate="true" src="misc/no_icon.png"/>
397 </rule>
398 <rule>
399 <condition k="barrier" v="hampshire_gate"/>
400 <icon annotate="true" src="misc/no_icon.png"/>
401 </rule>
402
403<!-- highway tags -->
404
405 <rule>
406 <condition k="motorroad" b="yes"/>
407 <linemod mode="under" width="+4" colour="motorroad#0000c0"/>
408 </rule>
409
410 <rule>
411 <condition k="highway" v="motorway"/>
412 <line width="3" realwidth="8" colour="motorway#809bc0"/>
413 <icon annotate="true" src="misc/deprecated.png"/>
414 </rule>
415
416 <rule>
417 <condition k="highway" v="motorway_link"/>
418 <line width="3" realwidth="5" colour="motorway#809bc0"/>
419 <icon annotate="true" src="misc/deprecated.png"/>
420 </rule>
421
422 <rule>
423 <condition k="highway" v="trunk"/>
424 <line width="3" realwidth="8" colour="trunk#7fc97f"/>
425 <icon annotate="true" src="misc/deprecated.png"/>
426 </rule>
427
428 <rule>
429 <condition k="highway" v="trunk_link"/>
430 <line width="3" realwidth="5" colour="trunk#7fc97f"/>
431 <icon annotate="true" src="misc/deprecated.png"/>
432 </rule>
433
434 <rule>
435 <condition k="highway" v="primary"/>
436 <line width="3" realwidth="8" colour="primary#fb805f"/>
437 <icon annotate="true" src="misc/deprecated.png"/>
438 </rule>
439
440 <rule>
441 <condition k="highway" v="primary_link"/>
442 <line width="3" realwidth="5" colour="primary#fb805f"/>
443 <icon annotate="true" src="misc/deprecated.png"/>
444 </rule>
445
446 <rule>
447 <condition k="highway" v="secondary"/>
448 <line width="3" realwidth="6" colour="secondary#fdbf6f"/>
449 <icon annotate="true" src="misc/deprecated.png"/>
450 </rule>
451
452 <rule>
453 <condition k="highway" v="secondary_link"/>
454 <line width="3" realwidth="5" colour="secondary#fdbf6f"/>
455 <icon annotate="true" src="misc/deprecated.png"/>
456 </rule>
457
458 <rule>
459 <condition k="highway" v="tertiary"/>
460 <line width="2" realwidth="5" colour="tertiary#f7f496"/>
461 <icon annotate="true" src="misc/deprecated.png"/>
462 </rule>
463
464 <rule>
465 <condition k="highway" v="tertiary_link"/>
466 <line width="2" realwidth="4" colour="tertiary#f7f496"/>
467 <icon annotate="true" src="misc/deprecated.png"/>
468 </rule>
469
470 <rule>
471 <condition k="highway" v="unclassified"/>
472 <line width="2" realwidth="5" colour="street#c0c0c0"/>
473 <icon annotate="true" src="misc/deprecated.png"/>
474 </rule>
475
476 <rule>
477 <condition k="highway" v="road"/>
478 <line width="2" realwidth="5" dashed="true" colour="deprecated#ff0000"/>
479 <icon annotate="true" src="misc/deprecated.png"/>
480 </rule>
481
482 <rule>
483 <condition k="highway" v="unsurfaced"/>
484 <line width="1" realwidth="3" colour="street#c0c0c0"/>
485 <icon annotate="true" src="misc/deprecated.png"/>
486 </rule>
487
488 <rule>
489 <condition k="highway" v="track"/>
490 <line width="1" realwidth="3" colour="highway_track#006600" priority="-10000"/>
491 <icon annotate="true" src="misc/deprecated.png"/>
492 </rule>
493
494 <rule>
495 <condition k="highway" v="residential"/>
496 <line width="2" realwidth="5" colour="street#c0c0c0"/>
497 <icon annotate="true" src="misc/deprecated.png"/>
498 </rule>
499
500 <rule>
501 <condition k="highway" v="living_street"/>
502 <line width="2" realwidth="3" colour="street#c0c0c0" dashed="9" dashedcolour="livingdashed#00ff00"/>
503 <icon annotate="true" src="misc/deprecated.png"/>
504 </rule>
505
506 <rule>
507 <condition k="highway" v="service"/>
508 <line width="1" realwidth="3" colour="service#809bc0"/>
509 <icon annotate="true" src="misc/deprecated.png"/>
510 </rule>
511
512 <rule>
513 <condition k="highway" v="bridleway"/>
514 <line width="1" realwidth="2" colour="horse#c08000"/>
515 <icon annotate="true" src="misc/deprecated.png"/>
516 </rule>
517
518 <rule>
519 <condition k="highway" v="cycleway"/>
520 <line width="1" realwidth="2" colour="bicycle#b100ff"/>
521 <icon annotate="true" src="misc/deprecated.png"/>
522 </rule>
523
524 <rule>
525 <condition k="highway" v="footway"/>
526 <line width="1" realwidth="1" colour="foot#00ff00"/>
527 <icon annotate="true" src="misc/deprecated.png"/>
528 </rule>
529
530 <rule>
531 <condition k="highway" v="path"/>
532 <line width="1" realwidth="1" dashed="true" colour="foot#00ff00"/>
533 <icon annotate="true" src="misc/deprecated.png"/>
534 </rule>
535
536 <!-- display path with bicycle/foot=designated/official as if it was cycleway/footway -->
537 <rule>
538 <condition k="highway" v="path"/>
539 <condition k="bicycle" v="designated"/>
540 <line width="1" realwidth="2" colour="bicycle#b100ff" priority="100"/>
541 </rule>
542
543 <rule>
544 <condition k="highway" v="path"/>
545 <condition k="bicycle" v="official"/>
546 <line width="1" realwidth="2" colour="bicycle#b100ff" priority="100"/>
547 </rule>
548
549 <rule>
550 <condition k="highway" v="path"/>
551 <condition k="foot" v="designated"/>
552 <line width="1" realwidth="1" colour="foot#00ff00" priority="100"/>
553 </rule>
554
555 <rule>
556 <condition k="highway" v="path"/>
557 <condition k="foot" v="official"/>
558 <line width="1" realwidth="1" colour="foot#00ff00" priority="100"/>
559 </rule>
560
561 <rule>
562 <condition k="highway" v="path"/>
563 <condition k="bicycle" v="designated"/>
564 <condition k="foot" v="designated"/>
565 <line width="1" realwidth="2" colour="bicycle#b100ff" dashedcolour="foot#00ff00" dashed="14,14" priority="200"/>
566 </rule>
567
568 <rule>
569 <condition k="highway" v="path"/>
570 <condition k="bicycle" v="official"/>
571 <condition k="foot" v="official"/>
572 <line width="1" realwidth="2" colour="bicycle#b100ff" dashedcolour="foot#00ff00" dashed="14,14" priority="200"/>
573 </rule>
574
575 <rule>
576 <condition k="highway" v="pedestrian"/>
577 <line width="3" realwidth="5" colour="foot#00ff00"/>
578 <icon annotate="true" src="misc/deprecated.png"/>
579 </rule>
580
581 <rule>
582 <condition k="highway" v="pedestrian"/>
583 <condition k="area" b="yes"/>
584 <line width="3" realwidth="5" colour="foot#00ff00"/>
585 <area colour="foot#00ff00" closed="true"/>
586 <icon annotate="true" src="misc/deprecated.png"/>
587 </rule>
588
589 <rule>
590 <condition k="highway" v="steps"/>
591 <line width="1" realwidth="1" dashed="1" colour="foot#00ff00"/>
592 <icon annotate="true" src="transport/steps.png"/>
593 </rule>
594
595 <rule>
596 <condition k="highway" v="bus_guideway"/>
597 <line width="1" colour="rail#404040" dashed="true"/>
598 <icon annotate="true" src="misc/deprecated.png"/>
599 </rule>
600
601 <rule>
602 <condition k="direction" v="clockwise"/>
603 <icon annotate="true" src="vehicle/restriction/roundabout_left.png" priority="10000"/>
604 </rule>
605
606 <rule>
607 <condition k="highway" v="mini_roundabout"/>
608 <icon annotate="true" src="vehicle/restriction/roundabout_right.png"/>
609 <!--icon annotate="true" src="vehicle/restriction/roundabout_left.png"/-->
610 </rule>
611
612 <rule>
613 <condition k="highway" v="stop"/>
614 <icon annotate="true" src="vehicle/restriction/stop.png"/>
615 </rule>
616
617 <rule>
618 <condition k="highway" v="give_way"/>
619 <icon annotate="true" src="vehicle/restriction/right_of_way.png"/>
620 </rule>
621
622 <rule>
623 <condition k="highway" v="traffic_signals"/>
624 <icon annotate="true" src="vehicle/restriction/traffic-light.png"/>
625 </rule>
626
627 <rule>
628 <condition k="highway" v="street_lamp"/>
629 <icon annotate="true" src="misc/streetlamp.png"/>
630 </rule>
631
632 <rule>
633 <condition k="highway" v="speed_camera"/>
634 <icon annotate="true" src="vehicle/restriction/speed_trap.png"/>
635 </rule>
636
637 <rule>
638 <condition k="traffic_sign" v="city_limit"/>
639 <icon annotate="true" src="vehicle/restriction/citylimit.png"/>
640 </rule>
641
642 <rule>
643 <condition k="highway" v="crossing"/>
644 <icon annotate="true" src="vehicle/zebra_crossing.png"/>
645 </rule>
646
647 <rule>
648 <condition k="highway" v="incline"/>
649 <icon annotate="true" src="vehicle/restriction/incline.png"/>
650 </rule>
651
652 <rule>
653 <condition k="highway" v="incline_steep"/>
654 <icon annotate="true" src="vehicle/restriction/incline.png"/>
655 </rule>
656
657 <rule>
658 <condition k="highway" v="motorway_junction"/>
659 <icon annotate="true" src="vehicle/exit.png"/>
660 </rule>
661
662 <rule>
663 <condition k="highway" v="services"/>
664 <area colour="services#c0c0c0"/>
665 <icon annotate="true" src="vehicle/services.png"/>
666 </rule>
667
668 <rule>
669 <condition k="highway" v="rest_area"/>
670 <area colour="services#c0c0c0"/>
671 <icon annotate="true" src="vehicle/parking.png"/>
672 </rule>
673
674 <rule>
675 <condition k="highway" v="ford"/>
676 <line width="2" realwidth="5" colour="ford#ff0000"/>
677 <icon annotate="true" src="vehicle/ford.png"/>
678 </rule>
679
680 <rule>
681 <condition k="ford" v="yes"/>
682 <linemod mode="over" width="2" realwidth="5" colour="water#0000ff" dashed="true"/>
683 <icon annotate="true" src="vehicle/ford.png"/>
684 </rule>
685
686 <rule>
687 <condition k="highway" v="bus_stop"/>
688 <icon annotate="true" src="transport/bus_small.png"/>
689 </rule>
690
691 <rule>
692 <condition k="highway" v="platform"/>
693 <icon annotate="true" src="misc/deprecated.png"/>
694 <line width="2" colour="highway_platform#c0c0c0"/>
695 <area colour="highway_platform#c0c0c0" closed="true"/>
696 </rule>
697
698 <rule>
699 <condition k="highway" v="turning_circle"/>
700 <icon annotate="true" src="vehicle/turning_circle.png"/>
701 </rule>
702
703 <rule>
704 <condition k="highway" v="passing_place"/>
705 <icon annotate="true" src="vehicle/passing_place.png"/>
706 </rule>
707
708 <rule>
709 <condition k="highway" v="construction"/>
710 <line width="2" realwidth="5" colour="construction#ffff00" dashed="true" priority="10"/>
711 <icon src="misc/construction.png" priority="10"/>
712 </rule>
713
714 <rule>
715 <condition k="highway" v="emergency_access_point"/>
716 <icon src="service/emergency_access_point.png"/>
717 <area colour="emergency_access_point#c0c0c0"/>
718 </rule>
719
720<!-- traffic_calming tag -->
721
722 <rule>
723 <condition k="traffic_calming"/>
724 <icon annotate="true" src="vehicle/traffic_calming.png" priority="-5"/>
725 </rule>
726
727 <rule>
728 <condition k="traffic_calming" v="chicane"/>
729 <icon annotate="true" src="vehicle/chicane.png"/>
730 </rule>
731
732 <rule>
733 <condition k="highway" v="choker"/>
734 <icon annotate="true" src="vehicle/passing_place.png"/>
735 </rule>
736
737 <rule>
738 <condition k="highway" v="cushion"/>
739 <icon annotate="true" src="vehicle/passing_place.png"/>
740 </rule>
741
742<!-- junction tag -->
743
744 <rule>
745 <condition k="junction" v="roundabout"/>
746 <icon annotate="true" src="vehicle/restriction/roundabout_right.png"/>
747 </rule>
748
749<!-- cycleway tags -->
750
751 <rule>
752 <condition k="cycleway" v="lane"/>
753 <linemod width="+0" mode="over" colour="bicycle#b100ff" dashed="8,14"/>
754 <icon annotate="true" src="misc/deprecated.png"/>
755 </rule>
756
757 <rule>
758 <condition k="cycleway" v="opposite_lane"/>
759 <linemod width="+0" mode="over" colour="bicycle#b100ff" dashed="8,14"/>
760 <icon annotate="true" src="misc/deprecated.png"/>
761 </rule>
762
763 <rule>
764 <condition k="cycleway" v="track"/>
765 <linemod width="+0" mode="over" colour="bicycle#b100ff" dashed="14,14"/>
766 <icon annotate="true" src="misc/deprecated.png"/>
767 </rule>
768
769 <rule>
770 <condition k="cycleway" v="opposite_track"/>
771 <linemod width="+0" mode="over" colour="bicycle#b100ff" dashed="14,14"/>
772 <icon annotate="true" src="misc/deprecated.png"/>
773 </rule>
774
775 <rule>
776 <condition k="cycleway" v="opposite"/>
777 <linemod width="+0" mode="over" colour="bicycle#b100ff" dashed="4,10"/>
778 <icon annotate="true" src="misc/deprecated.png"/>
779 </rule>
780
781<!-- tracktype tags -->
782
783 <rule>
784 <condition k="highway" v="track"/>
785 <condition k="tracktype" v="grade1"/>
786 <line width="1" realwidth="3" dashed="2" colour="highway_track#006600"/>
787 <icon annotate="true" src="misc/deprecated.png"/>
788 </rule>
789
790 <rule>
791 <condition k="highway" v="track"/>
792 <condition k="tracktype" v="grade2"/>
793 <line width="1" realwidth="3" dashed="4" colour="highway_track#006600"/>
794 <icon annotate="true" src="misc/deprecated.png"/>
795 </rule>
796
797 <rule>
798 <condition k="highway" v="track"/>
799 <condition k="tracktype" v="grade3"/>
800 <line width="1" realwidth="3" dashed="6" colour="highway_track#006600"/>
801 <icon annotate="true" src="misc/deprecated.png"/>
802 </rule>
803
804 <rule>
805 <condition k="highway" v="track"/>
806 <condition k="tracktype" v="grade4"/>
807 <line width="1" realwidth="3" dashed="8" colour="highway_track#006600"/>
808 <icon annotate="true" src="misc/deprecated.png"/>
809 </rule>
810
811 <rule>
812 <condition k="highway" v="track"/>
813 <condition k="tracktype" v="grade5"/>
814 <line width="1" realwidth="3" dashed="10" colour="highway_track#006600"/>
815 <icon annotate="true" src="misc/deprecated.png"/>
816 </rule>
817
818<!--waterway tags -->
819
820 <rule>
821 <condition k="waterway" v="river"/>
822 <line width="2" realwidth="5" colour="water#0000ff"/>
823 <icon annotate="true" src="misc/deprecated.png"/>
824 </rule>
825
826 <rule>
827 <condition k="waterway" v="riverbank"/>
828 <line width="1" colour="riverbank#0000cf" priority="10000"/>
829 <area colour="riverbank#0000cf" priority="10000"/>
830 <icon annotate="true" src="misc/deprecated.png"/>
831 </rule>
832
833 <rule>
834 <condition k="waterway" v="canal"/>
835 <line width="2" realwidth="2" colour="water#0000ff"/>
836 <icon annotate="true" src="misc/deprecated.png"/>
837 </rule>
838
839 <rule>
840 <condition k="waterway" v="wadi"/>
841 <line width="2" realwidth="2" colour="water#0000ff" dashed="true"/>
842 <icon annotate="true" src="misc/deprecated.png"/>
843 </rule>
844
845 <rule>
846 <condition k="waterway" v="stream"/>
847 <line width="1" realwidth="1" colour="stream#6600cc"/>
848 <icon annotate="true" src="misc/deprecated.png"/>
849 </rule>
850
851 <rule>
852 <condition k="waterway" v="ditch"/>
853 <line width="1" realwidth="1" colour="water#0000ff"/>
854 <icon annotate="true" src="misc/deprecated.png"/>
855 </rule>
856 <rule>
857 <condition k="waterway" v="drain"/>
858 <line width="1" realwidth="1" colour="water#0000ff"/>
859 <icon annotate="true" src="misc/deprecated.png"/>
860 </rule>
861
862 <rule>
863 <condition k="waterway" v="dock"/>
864 <area colour="dock#0000cf"/>
865 <icon annotate="true" src="nautical/boatyard.png"/>
866 </rule>
867
868 <rule>
869 <condition k="waterway" v="lock_gate"/>
870 <icon annotate="true" src="nautical/lock_gate.png"/>
871 </rule>
872
873 <rule>
874 <condition k="waterway" v="turning_point"/>
875 <icon annotate="true" src="nautical/turning.png"/>
876 </rule>
877
878 <rule>
879 <condition k="waterway" v="boatyard"/>
880 <icon annotate="true" src="nautical/boatyard.png"/>
881 <area colour="manmade#d8d8d8"/>
882 </rule>
883
884 <rule>
885 <condition k="waterway" v="water_point"/>
886 <icon annotate="true" src="accommodation/camping/water.png"/>
887 </rule>
888
889 <rule>
890 <condition k="waterway" v="waste_disposal"/>
891 <icon annotate="true" src="accommodation/camping/wastewater.png"/>
892 </rule>
893
894 <rule>
895 <condition k="waterway" v="mooring"/>
896 <icon annotate="true" src="nautical/marina.png"/>
897 </rule>
898
899 <rule>
900 <condition k="waterway" v="weir"/>
901 <icon annotate="true" src="nautical/weir.png"/>
902 <line width="2" colour="manmade#d8d8d8"/>
903 </rule>
904
905 <rule>
906 <condition k="waterway" v="rapids"/>
907 <icon annotate="true" src="misc/no_icon.png"/>
908 <line width="2" colour="rapids#8080ff"/>
909 </rule>
910
911 <rule>
912 <condition k="waterway" v="dam"/>
913 <icon annotate="true" src="nautical/dam.png"/>
914 <line width="2" colour="manmade#d8d8d8"/>
915 <area colour="manmade#d8d8d8" closed="true"/>
916 </rule>
917
918 <rule>
919 <condition k="waterway" v="waterfall"/>
920 <icon annotate="true" src="nautical/waterfall.png"/>
921 <line width="2" colour="manmade#d8d8d8"/>
922 <!-- it's not possible to have both line and area, line seems more likely -->
923 </rule>
924
925<!-- railway tags -->
926
927 <rule>
928 <condition k="railway" v="station"/>
929 <area colour="railwaypoint#f7efb7"/>
930 <icon annotate="true" src="transport/railway_station.png"/>
931 </rule>
932
933 <rule>
934 <condition k="railway" v="halt"/>
935 <icon annotate="true" src="transport/railway_small.png"/>
936 </rule>
937
938 <rule>
939 <condition k="railway" v="tram_station"/>
940 <area colour="railwaypoint#f7efb7"/>
941 <icon annotate="true" src="transport/railway_station.png"/>
942 </rule>
943
944 <rule>
945 <condition k="railway" v="tram_stop"/>
946 <icon annotate="true" src="transport/tram.png"/>
947 </rule>
948
949 <rule>
950 <condition k="railway" v="subway_entrance"/>
951 <area colour="railwaypoint#f7efb7"/>
952 <icon annotate="true" src="transport/underground.png"/>
953 </rule>
954
955 <rule>
956 <condition k="railway" v="crossing"/>
957 <area colour="railwaypoint#f7efb7"/>
958 <icon annotate="true" src="vehicle/crossing_small.png"/>
959 </rule>
960
961 <rule>
962 <condition k="railway" v="level_crossing"/>
963 <area colour="railwaypoint#f7efb7"/>
964 <icon annotate="true" src="vehicle/crossing.png"/>
965 </rule>
966
967 <rule>
968 <condition k="railway" v="rail"/>
969 <line width="2" colour="rail#404040" dashed="true" dashedcolour="raildashed#ffffff"/>
970 <icon annotate="true" src="misc/deprecated.png"/>
971 </rule>
972
973 <rule>
974 <condition k="railway" v="rail"/>
975 <condition k="service" v="siding"/>
976 <line width="1" colour="rail#404040" dashed="true" dashedcolour="raildashed#ffffff" priority="2"/>
977 <icon annotate="true" src="misc/deprecated.png"/>
978 </rule>
979
980 <rule>
981 <condition k="railway" v="rail"/>
982 <condition k="service" v="yard"/>
983 <line width="1" colour="railyard#552200" dashed="true" dashedcolour="raildashed#ffffff" priority="2"/>
984 <icon annotate="true" src="misc/deprecated.png"/>
985 </rule>
986
987 <rule>
988 <condition k="railway" v="rail"/>
989 <condition k="service" v="spur"/>
990 <line width="1" colour="railyard#552200" dashed="true" dashedcolour="raildashed#ffffff" priority="2"/>
991 <icon annotate="true" src="misc/deprecated.png"/>
992 </rule>
993
994 <rule>
995 <condition k="railway" v="tram"/>
996 <!-- prefer way types over tram - draw tram as overlay in joined cases -->
997 <line width="1" colour="otherrail#808080" dashed="true" priority="-10000"/>
998 <linemod mode="over" width="1" colour="railover#202020" dashed="true"/>
999 <icon annotate="true" src="misc/deprecated.png"/>
1000 </rule>
1001
1002 <rule>
1003 <condition k="railway" v="light_rail"/>
1004 <line width="2" colour="otherrail#808080" dashed="true"/>
1005 <icon annotate="true" src="misc/deprecated.png"/>
1006 </rule>
1007
1008 <rule>
1009 <condition k="railway" v="subway"/>
1010 <line width="1" colour="subway#606060" dashed="true"/>
1011 <icon annotate="true" src="misc/deprecated.png"/>
1012 </rule>
1013
1014 <rule>
1015 <condition k="railway" v="preserved"/>
1016 <line width="1" colour="oldrail#404040" dashed="true"/>
1017 <icon annotate="true" src="misc/deprecated.png"/>
1018 </rule>
1019
1020 <!-- disused often appears together with highway=xy -->
1021 <!-- -> normal display with line, linemod for combinations -->
1022 <rule>
1023 <condition k="railway" v="disused"/>
1024 <line width="1" colour="oldrail#404040" dashed="true" priority="-10000"/>
1025 <linemod mode="over" width="1" colour="oldrail#404040" dashed="true"/>
1026 <icon annotate="true" src="misc/deprecated.png"/>
1027 </rule>
1028
1029 <!-- abandoned often appears together with highway=xy -->
1030 <!-- -> normal display with line, linemod for combinations -->
1031 <rule>
1032 <condition k="railway" v="abandoned"/>
1033 <line width="1" colour="oldrail#404040" dashed="true" priority="-10000"/>
1034 <linemod mode="over" width="1" colour="oldrail#404040" dashed="true"/>
1035 <icon annotate="true" src="misc/deprecated.png"/>
1036 </rule>
1037
1038 <rule>
1039 <condition k="railway" v="narrow_gauge"/>
1040 <line width="1" colour="rail#404040" dashed="true"/>
1041 <icon annotate="true" src="misc/deprecated.png"/>
1042 </rule>
1043
1044 <rule>
1045 <condition k="railway" v="monorail"/>
1046 <line width="1" colour="rail#404040" dashed="true"/>
1047 <icon annotate="true" src="misc/deprecated.png"/>
1048 </rule>
1049
1050 <rule>
1051 <condition k="railway" v="turntable"/>
1052 <icon annotate="true" src="transport/turntable.png"/>
1053 <area colour="rail#404040"/>
1054 </rule>
1055
1056 <rule>
1057 <condition k="railway" v="buffer_stop"/>
1058 <icon annotate="true" src="transport/buffer_stop.png"/>
1059 <area colour="rail#404040"/>
1060 </rule>
1061
1062 <rule>
1063 <condition k="railway" v="platform"/>
1064 <icon annotate="true" src="misc/deprecated.png"/>
1065 <line width="2" colour="rail#404040"/>
1066 <area colour="rail#404040" closed="true"/>
1067 </rule>
1068
1069 <rule>
1070 <condition k="railway" v="funicular"/>
1071 <line width="1" colour="rail#404040" dashed="true"/>
1072 <icon annotate="true" src="misc/deprecated.png"/>
1073 </rule>
1074
1075 <rule>
1076 <condition k="service" v="yard"/>
1077 <icon annotate="true" src="misc/deprecated.png"/>
1078 </rule>
1079
1080 <rule>
1081 <condition k="service" v="siding"/>
1082 <icon annotate="true" src="misc/deprecated.png"/>
1083 </rule>
1084
1085 <rule>
1086 <condition k="service" v="spur"/>
1087 <icon annotate="true" src="misc/deprecated.png"/>
1088 </rule>
1089
1090<!--aeroway tags -->
1091
1092 <rule>
1093 <condition k="aeroway" v="aerodrome"/>
1094 <line width="2" colour="aeroway#660000" dashed="true"/>
1095 <area colour="aeroway#660000"/>
1096 <icon annotate="true" src="transport/airport.png"/>
1097 </rule>
1098
1099 <rule>
1100 <condition k="aeroway" v="terminal"/>
1101 <area colour="terminal#bb0000"/>
1102 <icon annotate="true" src="transport/airport/terminal.png"/>
1103 </rule>
1104
1105 <rule>
1106 <condition k="aeroway" v="helipad"/>
1107 <area colour="aeroway_dark#330000"/>
1108 <icon annotate="true" src="transport/airport/helipad.png"/>
1109 </rule>
1110
1111 <rule>
1112 <condition k="aeroway" v="runway"/>
1113 <line width="3" realwidth="10" colour="aeroway_dark#330000"/>
1114 <icon annotate="true" src="transport/airport/runway.png"/>
1115 </rule>
1116
1117 <rule>
1118 <condition k="aeroway" v="taxiway"/>
1119 <line width="2" realwidth="10" colour="aeroway#660000"/>
1120 <icon annotate="true" src="transport/airport/taxiway.png"/>
1121 </rule>
1122
1123 <rule>
1124 <condition k="aeroway" v="apron"/>
1125 <area colour="aeroway_light#990000"/>
1126 <icon annotate="true" src="transport/airport/apron.png"/>
1127 </rule>
1128
1129 <rule>
1130 <condition k="aeroway" v="hangar"/>
1131 <area colour="aeroway_light#990000"/>
1132 <icon annotate="true" src="transport/airport/hangar.png"/>
1133 </rule>
1134
1135 <rule>
1136 <condition k="aeroway" v="gate"/>
1137 <icon annotate="true" src="transport/airport/gate.png"/>
1138 </rule>
1139
1140 <rule>
1141 <condition k="aeroway" v="windsock"/>
1142 <icon annotate="true" src="transport/airport/windsock.png"/>
1143 </rule>
1144
1145<!--aerialway tags -->
1146
1147 <rule>
1148 <condition k="aerialway" v="cable_car"/>
1149 <line width="1" colour="aerialway#663300" dashed="9"/>
1150 <icon annotate="true" src="transport/aerialway/cable_car.png"/>
1151 </rule>
1152
1153 <rule>
1154 <condition k="aerialway" v="gondola"/>
1155 <line width="1" colour="aerialway#663300" dashed="9"/>
1156 <icon annotate="true" src="transport/aerialway/gondola.png"/>
1157 </rule>
1158
1159 <rule>
1160 <condition k="aerialway" v="chair_lift"/>
1161 <line width="1" colour="aerialway#663300" dashed="6"/>
1162 <icon annotate="true" src="transport/aerialway/chair_lift.png"/>
1163 </rule>
1164
1165 <rule>
1166 <condition k="aerialway" v="drag_lift"/>
1167 <line width="1" colour="aerialway#663300" dashed="3"/>
1168 <icon annotate="true" src="transport/aerialway/drag_lift.png"/>
1169 </rule>
1170
1171 <rule>
1172 <condition k="aerialway" v="station"/>
1173 <area colour="aerialway#663300"/>
1174 <icon annotate="true" src="transport/aerialway/station.png"/>
1175 </rule>
1176
1177 <rule>
1178 <condition k="aerialway" v="pylon"/>
1179 <area colour="aerialway#663300"/>
1180 <icon annotate="true" src="misc/landmark/power/tower_small.png"/>
1181 </rule>
1182
1183 <rule>
1184 <condition k="aerialway" v="goods"/>
1185 <line width="1" colour="aerialway#663300" dashed="1"/>
1186 <icon annotate="true" src="transport/aerialway/goods.png"/>
1187 </rule>
1188
1189<!-- piste tags -->
1190
1191 <rule>
1192 <condition k="piste:difficulty" v="easy"/>
1193 <!--
1194 Show piste indication as linemod if there is already another line
1195 style in place (e.g. from highway=track), otherwise add a proper line
1196 style that looks the same.
1197 If the proper line style applies, the linemod is suppressed, so it
1198 renders only one style for each way.
1199 -->
1200 <line width="6" colour="piste_easy#0000ff" priority="-100000"/>
1201 <linemod width="6" mode="under" colour="piste_easy#0000ff"/>
1202 <area colour="piste_easy#0000ff" closed="true"/>
1203 <icon src="sport/skiing.png"/>
1204 </rule>
1205
1206 <rule>
1207 <condition k="piste:difficulty" v="intermediate"/>
1208 <line width="6" colour="piste_intermediate#ff0000" priority="-100000"/>
1209 <linemod width="6" mode="under" colour="piste_intermediate#ff0000"/>
1210 <area colour="piste_intermediate#ff0000" closed="true"/>
1211 <icon src="sport/skiing.png"/>
1212 </rule>
1213
1214 <rule>
1215 <condition k="piste:difficulty" v="advanced"/>
1216 <line width="6" colour="piste_advanced#606060" priority="-100000"/>
1217 <linemod width="6" mode="under" colour="piste_advanced#606060"/>
1218 <area colour="piste_advanced#606060" closed="true"/>
1219 <icon src="sport/skiing.png"/>
1220 </rule>
1221
1222 <rule>
1223 <condition k="piste:difficulty" v="expert"/>
1224 <line width="6" colour="piste_expert#606060" priority="-100000"/>
1225 <linemod width="6" mode="under" colour="piste_expert#606060"/>
1226 <area colour="piste_expert#606060" closed="true"/>
1227 <icon src="sport/skiing.png"/>
1228 </rule>
1229
1230 <rule>
1231 <condition k="piste:difficulty" v="freeride"/>
1232 <line width="6" colour="piste_freeride#ffff00" priority="-100000"/>
1233 <linemod width="6" mode="under" colour="piste_freeride#ffff00"/>
1234 <area colour="piste_freeride#ffff00" closed="true"/>
1235 <icon src="sport/skiing.png"/>
1236 </rule>
1237
1238 <rule>
1239 <condition k="piste:difficulty" v="novice"/>
1240 <line width="6" colour="piste_novice#00ff00" priority="-100000"/>
1241 <linemod width="6" mode="under" colour="piste_novice#00ff00"/>
1242 <area colour="piste_novice#00ff00" closed="true"/>
1243 <icon src="sport/skiing.png"/>
1244 </rule>
1245
1246<!--power tags -->
1247
1248 <rule>
1249 <condition k="power" v="tower"/>
1250 <icon annotate="true" src="misc/landmark/power/tower_small.png"/>
1251 <area colour="power#eeeeee"/>
1252 </rule>
1253
1254 <rule>
1255 <condition k="power" v="pole"/>
1256 <icon annotate="true" src="misc/landmark/power/pole.png"/>
1257 </rule>
1258
1259 <rule>
1260 <condition k="power" v="line"/>
1261 <line width="1" colour="power#eeeeee"/>
1262 <icon annotate="true" src="misc/deprecated.png"/>
1263 </rule>
1264
1265 <rule>
1266 <condition k="power" v="minor_line"/>
1267 <line width="1" colour="power#eeeeee"/>
1268 <icon annotate="true" src="misc/deprecated.png"/>
1269 </rule>
1270
1271 <rule>
1272 <condition k="power" v="plant"/>
1273 <icon annotate="true" src="misc/landmark/power.png"/>
1274 <area colour="power#eeeeee"/>
1275 </rule>
1276
1277 <rule>
1278 <condition k="power" v="sub_station"/>
1279 <icon annotate="true" src="misc/landmark/power.png"/>
1280 <area colour="power#eeeeee"/>
1281 </rule>
1282
1283 <rule>
1284 <condition k="power" v="substation"/>
1285 <icon annotate="true" src="misc/landmark/power.png"/>
1286 <area colour="power#eeeeee"/>
1287 </rule>
1288
1289 <rule>
1290 <condition k="power" v="cable_distribution_cabinet"/>
1291 <icon annotate="true" src="misc/landmark/power.png"/>
1292 </rule>
1293
1294 <rule>
1295 <condition k="power" v="transformer"/>
1296 <icon annotate="true" src="misc/landmark/power/transformer.png"/>
1297 <area colour="power#eeeeee"/>
1298 </rule>
1299
1300 <!-- power_source is deprecated by the wiki, but still in use -->
1301 <rule>
1302 <condition k="power_source" v="wind"/>
1303 <icon annotate="true" src="misc/landmark/power/wind.png"/>
1304 <area colour="power#eeeeee"/>
1305 </rule>
1306
1307 <rule>
1308 <condition k="power_source" v="hydro"/>
1309 <icon annotate="true" src="misc/landmark/power/hydro.png"/>
1310 <area colour="power#eeeeee"/>
1311 </rule>
1312
1313 <rule>
1314 <condition k="power_source" v="fossil"/>
1315 <icon annotate="true" src="misc/landmark/power/fossil.png"/>
1316 <area colour="power#eeeeee"/>
1317 </rule>
1318
1319 <rule>
1320 <condition k="power_source" v="coal"/>
1321 <icon annotate="true" src="misc/landmark/power/fossil.png"/>
1322 <area colour="power#eeeeee"/>
1323 </rule>
1324
1325 <rule>
1326 <condition k="power_source" v="gas"/>
1327 <icon annotate="true" src="misc/landmark/power/fossil.png"/>
1328 <area colour="power#eeeeee"/>
1329 </rule>
1330
1331 <rule>
1332 <condition k="power_source" v="photovoltaic"/>
1333 <icon annotate="true" src="misc/landmark/power/fossil.png"/>
1334 <area colour="power#eeeeee"/>
1335 </rule>
1336
1337 <rule>
1338 <condition k="power_source" v="nuclear"/>
1339 <icon annotate="true" src="misc/landmark/power/nuclear.png"/>
1340 <area colour="power#eeeeee"/>
1341 </rule>
1342
1343 <!-- generator:source replaces power_source -->
1344 <rule>
1345 <condition k="generator:source" v="wind"/>
1346 <icon annotate="true" src="misc/landmark/power/wind.png"/>
1347 <area colour="power#eeeeee"/>
1348 </rule>
1349
1350 <rule>
1351 <condition k="generator:source" v="hydro"/>
1352 <icon annotate="true" src="misc/landmark/power/hydro.png"/>
1353 <area colour="power#eeeeee"/>
1354 </rule>
1355
1356 <rule>
1357 <condition k="generator:source" v="coal"/>
1358 <icon annotate="true" src="misc/landmark/power/fossil.png"/>
1359 <area colour="power#eeeeee"/>
1360 </rule>
1361
1362 <rule>
1363 <condition k="generator:source" v="gas"/>
1364 <icon annotate="true" src="misc/landmark/power/fossil.png"/>
1365 <area colour="power#eeeeee"/>
1366 </rule>
1367
1368 <rule>
1369 <condition k="generator:source" v="nuclear"/>
1370 <icon annotate="true" src="misc/landmark/power/nuclear.png"/>
1371 <area colour="power#eeeeee"/>
1372 </rule>
1373
1374 <rule>
1375 <condition k="power" v="generator"/>
1376 <icon annotate="true" src="misc/landmark/power.png" priority="-10000"/>
1377 <area colour="power#eeeeee"/>
1378 </rule>
1379
1380<!--man_made tags -->
1381
1382 <rule>
1383 <condition k="man_made" v="beacon"/>
1384 <icon annotate="true" src="misc/landmark/beacon.png"/>
1385 <area colour="manmade#d8d8d8"/>
1386 </rule>
1387
1388 <rule>
1389 <condition k="man_made" v="chimney"/>
1390 <icon annotate="true" src="misc/landmark/chimney.png"/>
1391 <area colour="manmade#d8d8d8"/>
1392 </rule>
1393
1394 <rule>
1395 <condition k="man_made" v="crane"/>
1396 <area colour="manmade#d8d8d8"/>
1397 <icon annotate="true" src="misc/landmark/crane.png"/>
1398 </rule>
1399
1400 <rule>
1401 <condition k="man_made" v="flagpole"/>
1402 <area colour="manmade#d8d8d8"/>
1403 <icon annotate="true" src="misc/flag.png"/>
1404 </rule>
1405
1406 <rule>
1407 <condition k="man_made" v="gasometer"/>
1408 <icon annotate="true" src="misc/landmark/gasometer.png"/>
1409 <area colour="manmade#d8d8d8"/>
1410 </rule>
1411
1412 <rule>
1413 <condition k="man_made" v="groyne"/>
1414 <icon annotate="true" src="nautical/groyne.png"/>
1415 <area colour="manmade#d8d8d8" closed="true"/>
1416 </rule>
1417
1418 <rule>
1419 <condition k="man_made" v="lighthouse"/>
1420 <icon annotate="true" src="misc/landmark/lighthouse.png"/>
1421 <area colour="manmade#d8d8d8"/>
1422 </rule>
1423
1424 <rule>
1425 <condition k="man_made" v="monitoring_station"/>
1426 <icon annotate="true" src="misc/landmark/measurement_station.png"/>
1427 <area colour="manmade#d8d8d8"/>
1428 </rule>
1429
1430 <rule>
1431 <condition k="man_made" v="mineshaft"/>
1432 <icon annotate="true" src="misc/landmark/mine.png"/>
1433 <area colour="manmade#d8d8d8"/>
1434 </rule>
1435
1436 <rule>
1437 <condition k="man_made" v="adit"/>
1438 <icon annotate="true" src="misc/landmark/adit.png"/>
1439 <area colour="manmade#d8d8d8"/>
1440 </rule>
1441
1442 <rule>
1443 <condition k="man_made" v="pier"/>
1444 <area colour="pier#660000" closed="true"/>
1445 <line width="2" colour="pier#660000"/>
1446 <icon annotate="true" src="nautical/pier.png"/>
1447 </rule>
1448
1449 <rule>
1450 <condition k="man_made" v="pipeline"/>
1451 <line width="2" colour="pipeline#660000"/>
1452 <icon annotate="true" src="misc/deprecated.png"/>
1453 </rule>
1454
1455 <rule>
1456 <condition k="man_made" v="petroleum_well"/>
1457 <icon annotate="true" src="misc/no_icon.png"/>
1458 </rule>
1459
1460 <rule>
1461 <condition k="man_made" v="reservoir_covered"/>
1462 <icon annotate="true" src="misc/landmark/reservoir_covered.png"/>
1463 <area colour="manmade#d8d8d8"/>
1464 </rule>
1465
1466 <rule>
1467 <condition k="man_made" v="surveillance"/>
1468 <icon annotate="true" src="misc/surveillance.png"/>
1469 <area colour="manmade#d8d8d8"/>
1470 </rule>
1471
1472 <rule>
1473 <condition k="man_made" v="survey_point"/>
1474 <icon annotate="true" src="misc/landmark/survey_point.png"/>
1475 <area colour="manmade#d8d8d8"/>
1476 </rule>
1477
1478 <rule>
1479 <condition k="man_made" v="tower"/>
1480 <icon annotate="true" src="misc/landmark/tower.png"/>
1481 <area colour="manmade#d8d8d8"/>
1482 </rule>
1483
1484 <rule>
1485 <condition k="man_made" v="wastewater_plant"/>
1486 <area colour="manmade#d8d8d8"/>
1487 <icon annotate="true" src="misc/landmark/wastewater_plant.png"/>
1488 </rule>
1489
1490 <rule>
1491 <condition k="man_made" v="watermill"/>
1492 <icon annotate="true" src="misc/landmark/watermill.png"/>
1493 <area colour="manmade#d8d8d8"/>
1494 </rule>
1495
1496 <rule>
1497 <condition k="man_made" v="water_tower"/>
1498 <icon annotate="true" src="misc/landmark/water_tower.png"/>
1499 <area colour="manmade#d8d8d8"/>
1500 </rule>
1501
1502 <rule>
1503 <condition k="man_made" v="water_well"/>
1504 <icon annotate="true" src="misc/landmark/water_well.png"/>
1505 <area colour="manmade#d8d8d8"/>
1506 </rule>
1507
1508 <rule>
1509 <condition k="man_made" v="windmill"/>
1510 <icon annotate="true" src="misc/landmark/windmill.png"/>
1511 <area colour="manmade#d8d8d8"/>
1512 </rule>
1513
1514 <rule>
1515 <condition k="man_made" v="works"/>
1516 <icon annotate="true" src="misc/landmark/works.png"/>
1517 <area colour="manmade#d8d8d8"/>
1518 </rule>
1519
1520 <rule>
1521 <condition k="man_made" v="water_works"/>
1522 <icon annotate="true" src="misc/landmark/water_works.png"/>
1523 <area colour="manmade#d8d8d8"/>
1524 </rule>
1525
1526<!--leisure tags -->
1527
1528 <rule>
1529 <condition k="leisure" v="sports_centre"/>
1530 <icon annotate="true" src="sport/centre.png"/>
1531 <area colour="leisure#c7f1a3"/>
1532 </rule>
1533
1534 <rule>
1535 <condition k="leisure" v="golf_course"/>
1536 <icon annotate="true" src="sport/golf.png"/>
1537 <area colour="leisure#c7f1a3"/>
1538 </rule>
1539
1540 <rule>
1541 <condition k="leisure" v="stadium"/>
1542 <icon annotate="true" src="sport/stadium.png"/>
1543 <area colour="leisure#c7f1a3"/>
1544 </rule>
1545
1546 <rule>
1547 <condition k="leisure" v="track"/>
1548 <icon annotate="true" src="sport/track.png"/>
1549 <area colour="leisure#c7f1a3" closed="true"/>
1550 <line width="2" colour="leisure#c7f1a3"/>
1551 </rule>
1552
1553 <rule>
1554 <condition k="leisure" v="pitch"/>
1555 <icon annotate="true" src="sport/pitch.png"/>
1556 <area colour="leisure#c7f1a3"/>
1557 </rule>
1558
1559 <rule>
1560 <condition k="leisure" v="water_park"/>
1561 <icon annotate="true" src="leisure/water_park.png"/>
1562 <area colour="leisure#c7f1a3"/>
1563 </rule>
1564
1565 <rule>
1566 <condition k="leisure" v="marina"/>
1567 <icon annotate="true" src="nautical/marina.png"/>
1568 <area colour="marina#0070cf"/>
1569 </rule>
1570
1571 <rule>
1572 <condition k="leisure" v="slipway"/>
1573 <icon annotate="true" src="nautical/slipway.png"/>
1574 <area colour="leisure#c7f1a3"/>
1575 </rule>
1576
1577 <rule>
1578 <condition k="leisure" v="fishing"/>
1579 <icon annotate="true" src="sport/fishing.png"/>
1580 <area colour="leisure#c7f1a3"/>
1581 </rule>
1582
1583 <rule>
1584 <condition k="leisure" v="nature_reserve"/>
1585 <icon annotate="true" src="leisure/nature_reserve.png"/>
1586 <area colour="leisure#c7f1a3"/>
1587 </rule>
1588
1589 <rule>
1590 <condition k="leisure" v="park"/>
1591 <icon annotate="true" src="leisure/park.png"/>
1592 <area colour="leisure#c7f1a3"/>
1593 </rule>
1594
1595 <rule>
1596 <condition k="leisure" v="playground"/>
1597 <icon annotate="true" src="leisure/playground.png"/>
1598 <area colour="leisure#c7f1a3"/>
1599 </rule>
1600
1601 <rule>
1602 <condition k="leisure" v="garden"/>
1603 <icon annotate="true" src="leisure/garden.png"/>
1604 <area colour="leisure#c7f1a3"/>
1605 </rule>
1606
1607 <rule>
1608 <condition k="leisure" v="common"/>
1609 <icon annotate="true" src="leisure/common.png"/>
1610 <area colour="leisure#c7f1a3"/>
1611 </rule>
1612
1613 <rule>
1614 <condition k="leisure" v="swimming_pool"/>
1615 <icon annotate="true" src="sport/pool.png"/>
1616 <area colour="leisure#c7f1a3"/>
1617 </rule>
1618
1619 <rule>
1620 <condition k="leisure" v="miniature_golf"/>
1621 <icon annotate="true" src="sport/golf.png"/>
1622 <area colour="leisure#c7f1a3"/>
1623 </rule>
1624
1625 <rule>
1626 <condition k="leisure" v="dog_park"/>
1627 <icon annotate="true" src="leisure/dog.png"/>
1628 <area colour="leisure#c7f1a3"/>
1629 </rule>
1630
1631 <rule>
1632 <condition k="leisure" v="ice_rink"/>
1633 <icon annotate="true" src="sport/hockey.png"/>
1634 <area colour="leisure#c7f1a3"/>
1635 </rule>
1636
1637 <rule>
1638 <condition k="leisure" v="sauna"/>
1639 <icon annotate="true" src="leisure/sauna.png"/>
1640 <area colour="leisure#c7f1a3"/>
1641 </rule>
1642
1643<!--amenity tags -->
1644
1645 <rule>
1646 <condition k="amenity" v="pub"/>
1647 <icon annotate="true" src="food/pub.png"/>
1648 <area colour="amenity#ecba52"/>
1649 </rule>
1650
1651 <rule>
1652 <condition k="amenity" v="biergarten"/>
1653 <icon annotate="true" src="food/biergarten.png"/>
1654 <area colour="amenity#ecba52"/>
1655 </rule>
1656
1657 <rule>
1658 <condition k="amenity" v="nightclub"/>
1659 <icon annotate="true" src="leisure/nightclub.png"/>
1660 <area colour="amenity#ecba52"/>
1661 </rule>
1662
1663 <rule>
1664 <condition k="amenity" v="stripclub"/>
1665 <icon annotate="true" src="leisure/stripclub.png"/>
1666 <area colour="amenity#ecba52"/>
1667 </rule>
1668
1669 <rule>
1670 <condition k="amenity" v="brothel"/>
1671 <icon annotate="true" src="leisure/stripclub.png"/>
1672 <area colour="amenity#ecba52"/>
1673 </rule>
1674
1675 <rule>
1676 <condition k="amenity" v="cafe"/>
1677 <icon annotate="true" src="food/cafe.png"/>
1678 <area colour="amenity#ecba52"/>
1679 </rule>
1680
1681 <rule>
1682 <condition k="amenity" v="restaurant"/>
1683 <icon annotate="true" src="food/restaurant.png"/>
1684 <area colour="amenity#ecba52"/>
1685 </rule>
1686
1687 <rule>
1688 <condition k="amenity" v="food_court"/>
1689 <icon annotate="true" src="food/restaurant.png"/>
1690 <area colour="amenity#ecba52"/>
1691 </rule>
1692
1693 <rule>
1694 <condition k="amenity" v="fast_food"/>
1695 <icon annotate="true" src="food/fastfood.png"/>
1696 <area colour="amenity#ecba52"/>
1697 </rule>
1698
1699 <rule>
1700 <condition k="amenity" v="bar"/>
1701 <icon annotate="true" src="food/bar.png"/>
1702 <area colour="amenity#ecba52"/>
1703 </rule>
1704
1705 <rule>
1706 <condition k="amenity" v="ice_cream"/>
1707 <icon annotate="true" src="food/icecream.png"/>
1708 <area colour="amenity#ecba52"/>
1709 </rule>
1710
1711 <rule>
1712 <condition k="amenity" v="motorcycle_parking"/>
1713 <icon annotate="true" src="vehicle/parking/motorbike.png" priority="20000"/>
1714 <area colour="amenity_traffic#f7efb7"/>
1715 </rule>
1716
1717 <rule>
1718 <condition k="amenity" v="bicycle_parking"/>
1719 <icon annotate="true" src="vehicle/parking/bicycle.png" priority="20000"/>
1720 <area colour="amenity_traffic#f7efb7"/>
1721 </rule>
1722
1723 <rule>
1724 <condition k="parking" v="park_and_ride"/>
1725 <icon annotate="true" src="vehicle/parking/park_ride.png" priority="20000"/>
1726 <area colour="amenity_traffic#f7efb7"/>
1727 </rule>
1728
1729 <rule>
1730 <condition k="parking" v="multi-storey"/>
1731 <icon annotate="true" src="vehicle/parking/multi-storey.png" priority="10000"/>
1732 <area colour="amenity_traffic#f7efb7"/>
1733 </rule>
1734
1735 <rule>
1736 <condition k="parking" v="underground"/>
1737 <icon annotate="true" src="vehicle/parking/underground.png" priority="10000"/>
1738 <area colour="amenity_traffic#f7efb7"/>
1739 </rule>
1740
1741 <rule>
1742 <condition k="parking" v="surface"/>
1743 <icon annotate="true" src="vehicle/parking.png"/>
1744 <area colour="amenity_traffic#f7efb7"/>
1745 </rule>
1746
1747 <rule>
1748 <condition k="amenity" v="parking"/>
1749 <icon annotate="true" src="vehicle/parking.png"/>
1750 <area colour="amenity_traffic#f7efb7"/>
1751 </rule>
1752
1753 <rule>
1754 <condition k="amenity" v="parking_space"/>
1755 <icon annotate="true" src="vehicle/parking.png" priority="-500" />
1756 <area colour="amenity_traffic#f7efb7"/>
1757 </rule>
1758
1759 <rule>
1760 <condition k="amenity" v="parking_space"/>
1761 <condition k="wheelchair" b="yes"/>
1762 <icon annotate="true" src="vehicle/parking/handicapped.png"/>
1763 <area colour="amenity_traffic#f7efb7"/>
1764 </rule>
1765
1766 <rule>
1767 <condition k="amenity" v="bicycle_rental"/>
1768 <icon annotate="true" src="vehicle/rental/bicycle.png"/>
1769 <area colour="amenity_traffic#f7efb7"/>
1770 </rule>
1771
1772 <rule>
1773 <condition k="amenity" v="car_rental"/>
1774 <icon annotate="true" src="vehicle/rental/car.png"/>
1775 <area colour="amenity_traffic#f7efb7"/>
1776 </rule>
1777
1778 <rule>
1779 <condition k="amenity" v="car_sharing"/>
1780 <icon annotate="true" src="vehicle/car_sharing.png"/>
1781 <area colour="amenity_traffic#f7efb7"/>
1782 </rule>
1783
1784 <rule>
1785 <condition k="amenity" v="car_wash"/>
1786 <area colour="amenity_traffic#f7efb7"/>
1787 <icon annotate="true" src="vehicle/car_wash.png"/>
1788 </rule>
1789
1790 <rule>
1791 <condition k="amenity" v="taxi"/>
1792 <icon annotate="true" src="transport/taxi.png"/>
1793 <area colour="amenity_traffic#f7efb7"/>
1794 </rule>
1795
1796 <rule>
1797 <condition k="amenity" v="fuel"/>
1798 <icon annotate="true" src="vehicle/fuel.png" priority="10000"/>
1799 <area colour="amenity_traffic#f7efb7" priority="10000"/>
1800 </rule>
1801
1802 <rule>
1803 <condition k="amenity" v="charging_station"/>
1804 <icon annotate="true" src="accommodation/camping/hookup.png" priority="1000"/>
1805 </rule>
1806
1807 <rule>
1808 <condition k="amenity" v="grit_bin"/>
1809 <icon annotate="true" src="misc/grit_bin.png"/>
1810 </rule>
1811
1812 <rule>
1813 <condition k="amenity" v="telephone"/>
1814 <icon annotate="true" src="service/telephone.png"/>
1815 <area colour="amenity_light#f7efb7"/>
1816 </rule>
1817
1818 <rule>
1819 <condition k="amenity" v="clock"/>
1820 <icon annotate="true" src="service/clock.png"/>
1821 </rule>
1822
1823 <!-- Rule to delete by end of 2013 if this deprecated tag has finally been replaced by emergency=phone below-->
1824 <rule>
1825 <condition k="amenity" v="emergency_phone"/>
1826 <icon annotate="true" src="vehicle/emergency_phone.png"/>
1827 <area colour="amenity_light#f7efb7"/>
1828 </rule>
1829
1830 <rule>
1831 <condition k="emergency" v="phone"/>
1832 <icon annotate="true" src="vehicle/emergency_phone.png"/>
1833 <area colour="amenity_light#f7efb7"/>
1834 </rule>
1835
1836 <rule>
1837 <condition k="emergency" v="aed"/>
1838 <icon annotate="true" src="presets/aed.svg"/>
1839 <area colour="amenity_light#f7efb7"/>
1840 </rule>
1841
1842 <rule>
1843 <condition k="emergency" v="defibrillator"/>
1844 <icon annotate="true" src="presets/aed.svg"/>
1845 <area colour="amenity_light#f7efb7"/>
1846 </rule>
1847
1848 <rule>
1849 <condition k="amenity" v="toilets"/>
1850 <icon annotate="true" src="service/toilets.png"/>
1851 <area colour="amenity_light#f7efb7"/>
1852 </rule>
1853
1854 <rule>
1855 <condition k="amenity" v="recycling"/>
1856 <icon annotate="true" src="service/recycling.png"/>
1857 <area colour="amenity_light#f7efb7"/>
1858 </rule>
1859
1860 <rule>
1861 <condition k="amenity" v="waste_basket"/>
1862 <icon annotate="true" src="service/recycling/trash-bin.png"/>
1863 </rule>
1864
1865 <rule>
1866 <condition k="amenity" v="waste_disposal"/>
1867 <icon annotate="true" src="service/recycling/waste_disposal.png"/>
1868 </rule>
1869
1870 <rule>
1871 <condition k="amenity" v="public_building"/>
1872 <icon annotate="true" src="service.png"/>
1873 <area colour="amenity_light#f7efb7"/>
1874 </rule>
1875
1876 <rule>
1877 <condition k="amenity" v="embassy"/>
1878 <icon annotate="true" src="service/administration/embassy.png"/>
1879 <area colour="amenity_light#f7efb7"/>
1880 </rule>
1881
1882 <rule>
1883 <condition k="amenity" v="townhall"/>
1884 <icon annotate="true" src="service.png"/>
1885 <area colour="amenity_light#f7efb7"/>
1886 </rule>
1887
1888 <rule>
1889 <condition k="amenity" v="community_centre"/>
1890 <icon annotate="true" src="service/community_centre.png"/>
1891 <area colour="amenity_light#f7efb7"/>
1892 </rule>
1893
1894 <rule>
1895 <condition k="amenity" v="drinking_water"/>
1896 <icon annotate="true" src="food/drinking_water.png"/>
1897 <area colour="light_water#00005f"/>
1898 </rule>
1899
1900 <rule>
1901 <condition k="amenity" v="fountain"/>
1902 <icon annotate="true" src="misc/landmark/spring.png"/>
1903 <area colour="light_water#00005f"/>
1904 </rule>
1905
1906 <rule>
1907 <condition k="religion" v="bahai"/>
1908 <icon annotate="true" src="religion/bahai.png"/>
1909 </rule>
1910
1911 <rule>
1912 <condition k="religion" v="buddhist"/>
1913 <icon annotate="true" src="religion/buddhism.png"/>
1914 </rule>
1915
1916 <rule>
1917 <condition k="religion" v="christian"/>
1918 <icon annotate="true" src="religion/church.png"/>
1919 </rule>
1920
1921 <rule>
1922 <condition k="religion" v="hindu"/>
1923 <icon annotate="true" src="religion/hinduism.png"/>
1924 </rule>
1925
1926 <rule>
1927 <condition k="religion" v="jain"/>
1928 <icon annotate="true" src="religion/jainism.png"/>
1929 </rule>
1930
1931 <rule>
1932 <condition k="religion" v="jewish"/>
1933 <icon annotate="true" src="religion/jewish.png"/>
1934 </rule>
1935
1936 <rule>
1937 <condition k="religion" v="muslim"/>
1938 <icon annotate="true" src="religion/muslim.png"/>
1939 </rule>
1940
1941 <rule>
1942 <condition k="religion" v="sikh"/>
1943 <icon annotate="true" src="religion/sikhism.png"/>
1944 </rule>
1945
1946 <rule>
1947 <condition k="religion" v="shinto"/>
1948 <icon annotate="true" src="religion/shinto.png"/>
1949 </rule>
1950
1951 <rule>
1952 <condition k="religion" v="spiritualist"/>
1953 <icon annotate="true" src="misc/no_icon.png"/>
1954 </rule>
1955
1956 <rule>
1957 <condition k="religion" v="taoist"/>
1958 <icon annotate="true" src="religion/taoism.png"/>
1959 </rule>
1960
1961 <rule>
1962 <condition k="religion" v="unitarian"/>
1963 <icon annotate="true" src="misc/no_icon.png"/>
1964 </rule>
1965
1966 <rule>
1967 <condition k="religion" v="zoroastrian"/>
1968 <icon annotate="true" src="misc/no_icon.png"/>
1969 </rule>
1970
1971 <rule>
1972 <condition k="amenity" v="place_of_worship"/>
1973 <icon annotate="true" src="religion.png" priority="-10000"/>
1974 <area colour="amenity_light#f7efb7" priority="-10000"/>
1975 </rule>
1976
1977 <rule>
1978 <condition k="amenity" v="grave_yard"/>
1979 <icon annotate="true" src="rendering/landuse/cemetery.png"/>
1980 <area colour="amenity_light#f7efb7"/>
1981 </rule>
1982
1983 <rule>
1984 <condition k="amenity" v="crematorium"/>
1985 <area colour="amenity_light#f7efb7"/>
1986 <icon annotate="true" src="misc/no_icon.png"/>
1987 </rule>
1988
1989 <rule>
1990 <condition k="amenity" v="post_office"/>
1991 <icon annotate="true" src="service/post_office.png"/>
1992 <area colour="amenity_light#f7efb7"/>
1993 </rule>
1994
1995 <rule>
1996 <condition k="amenity" v="post_box"/>
1997 <icon annotate="true" src="service/post_box.png"/>
1998 <area colour="amenity_light#f7efb7"/>
1999 </rule>
2000
2001 <rule>
2002 <condition k="amenity" v="studio"/>
2003 <icon annotate="true" src="service/studio.png"/>
2004 <area colour="amenity_light#f7efb7"/>
2005 </rule>
2006
2007 <rule>
2008 <condition k="amenity" v="school"/>
2009 <icon annotate="true" src="education/school.png"/>
2010 <area colour="amenity_light#f7efb7"/>
2011 </rule>
2012
2013 <rule>
2014 <condition k="amenity" v="university"/>
2015 <icon annotate="true" src="education/university.png"/>
2016 <area colour="amenity_light#f7efb7"/>
2017 </rule>
2018
2019 <rule>
2020 <condition k="amenity" v="college"/>
2021 <icon annotate="true" src="education/college.png"/>
2022 <area colour="amenity_light#f7efb7"/>
2023 </rule>
2024
2025 <rule>
2026 <condition k="amenity" v="kindergarten"/>
2027 <icon annotate="true" src="education/kindergarten.png"/>
2028 <area colour="amenity_light#f7efb7"/>
2029 </rule>
2030
2031 <rule>
2032 <condition k="amenity" v="driving_school"/>
2033 <icon annotate="true" src="education/driving_school.png"/>
2034 <area colour="amenity_light#f7efb7"/>
2035 </rule>
2036
2037 <rule>
2038 <condition k="amenity" v="pharmacy"/>
2039 <area colour="health#eeeeee"/>
2040 <icon annotate="true" src="health/pharmacy.png"/>
2041 </rule>
2042
2043 <rule>
2044 <condition k="amenity" v="hospital"/>
2045 <area colour="health#eeeeee"/>
2046 <icon annotate="true" src="health/hospital.png"/>
2047 </rule>
2048
2049 <rule>
2050 <condition k="amenity" v="clinic"/>
2051 <area colour="health#eeeeee"/>
2052 <icon annotate="true" src="health/hospital.png"/>
2053 </rule>
2054
2055 <rule>
2056 <condition k="amenity" v="nursery"/>
2057 <area colour="health#eeeeee"/>
2058 <icon annotate="true" src="misc/no_icon.png"/>
2059 </rule>
2060
2061 <rule>
2062 <condition k="amenity" v="baby_hatch"/>
2063 <icon annotate="true" src="health/baby_hatch.png"/>
2064 <area colour="health#eeeeee"/>
2065 </rule>
2066
2067 <rule>
2068 <condition k="amenity" v="doctors"/>
2069 <area colour="health#eeeeee"/>
2070 <icon annotate="true" src="health/doctor.png"/>
2071 </rule>
2072
2073 <rule>
2074 <condition k="amenity" v="dentist"/>
2075 <area colour="health#eeeeee"/>
2076 <icon annotate="true" src="health/dentist.png"/>
2077 </rule>
2078
2079 <rule>
2080 <condition k="amenity" v="veterinary"/>
2081 <area colour="health#eeeeee"/>
2082 <icon annotate="true" src="health/veterinary.png"/>
2083 </rule>
2084
2085 <rule>
2086 <condition k="amenity" v="library"/>
2087 <area colour="amenity_light#f7efb7"/>
2088 <icon annotate="true" src="shop/rental/library.png"/>
2089 </rule>
2090
2091 <rule>
2092 <condition k="amenity" v="police"/>
2093 <area colour="amenity_light#f7efb7"/>
2094 <icon annotate="true" src="service/police.png"/>
2095 </rule>
2096
2097 <rule>
2098 <condition k="amenity" v="fire_station"/>
2099 <area colour="amenity_light#f7efb7"/>
2100 <icon annotate="true" src="service/firebrigade.png"/>
2101 </rule>
2102
2103 <rule>
2104 <condition k="amenity" v="bus_station"/>
2105 <icon annotate="true" src="transport/bus.png"/>
2106 <area colour="amenity_light#f7efb7"/>
2107 </rule>
2108
2109 <rule>
2110 <condition k="amenity" v="ferry_terminal"/>
2111 <icon annotate="true" src="nautical/ferry.png"/>
2112 <area colour="amenity_light#f7efb7"/>
2113 </rule>
2114
2115 <rule>
2116 <condition k="amenity" v="theatre"/>
2117 <area colour="amenity_light#f7efb7"/>
2118 <icon annotate="true" src="leisure/theater.png"/>
2119 </rule>
2120
2121 <rule>
2122 <condition k="amenity" v="cinema"/>
2123 <area colour="amenity_light#f7efb7"/>
2124 <icon annotate="true" src="leisure/cinema.png"/>
2125 </rule>
2126
2127 <rule>
2128 <condition k="amenity" v="arts_centre"/>
2129 <area colour="amenity_light#f7efb7"/>
2130 <icon annotate="true" src="service/arts_centre.png"/>
2131 </rule>
2132
2133 <rule>
2134 <condition k="amenity" v="courthouse"/>
2135 <area colour="amenity_light#f7efb7"/>
2136 <icon annotate="true" src="service/administration/court_of_law.png"/>
2137 </rule>
2138
2139 <rule>
2140 <condition k="amenity" v="prison"/>
2141 <area colour="amenity_light#f7efb7"/>
2142 <icon annotate="true" src="service/administration/prison.png"/>
2143 </rule>
2144
2145 <rule>
2146 <condition k="amenity" v="bank"/>
2147 <area colour="amenity_light#f7efb7"/>
2148 <icon annotate="true" src="money/bank.png"/>
2149 </rule>
2150
2151 <rule>
2152 <condition k="amenity" v="bureau_de_change"/>
2153 <area colour="amenity_light#f7efb7"/>
2154 <icon annotate="true" src="money/exchange.png"/>
2155 </rule>
2156
2157 <rule>
2158 <condition k="amenity" v="atm"/>
2159 <area colour="amenity_light#f7efb7"/>
2160 <icon annotate="true" src="money/atm.png"/>
2161 </rule>
2162
2163 <rule>
2164 <condition k="amenity" v="bench"/>
2165 <line colour="amenity_light#f7efb7"/>
2166 <icon annotate="true" src="leisure/bench.png"/>
2167 </rule>
2168
2169 <rule>
2170 <condition k="amenity" v="bbq"/>
2171 <area colour="amenity_light#f7efb7"/>
2172 <icon annotate="true" src="leisure/bbq.png"/>
2173 </rule>
2174
2175 <rule>
2176 <condition k="emergency" v="fire_hydrant"/>
2177 <icon annotate="true" src="service/fire_hydrant.png"/>
2178 </rule>
2179
2180 <rule>
2181 <condition k="amenity" v="shelter"/>
2182 <area colour="amenity_light#f7efb7"/>
2183 <icon annotate="true" src="accommodation/shelter.png"/>
2184 </rule>
2185
2186 <rule>
2187 <condition k="amenity" v="hunting_stand"/>
2188 <area colour="amenity_light#f7efb7"/>
2189 <icon annotate="true" src="hunting_stand.png"/>
2190 </rule>
2191
2192 <rule>
2193 <condition k="amenity" v="marketplace"/>
2194 <area colour="amenity_light#f7efb7"/>
2195 <icon annotate="true" src="place/marketplace.png"/>
2196 </rule>
2197
2198 <rule>
2199 <condition k="amenity" v="wlan"/>
2200 <icon annotate="true" src="wlan.png"/>
2201 <area colour="amenity_light#f7efb7"/>
2202 </rule>
2203
2204 <rule>
2205 <condition k="vending" v="excrement_bags"/>
2206 <icon annotate="true" src="service/excrement_bags.png"/>
2207 </rule>
2208
2209 <rule>
2210 <condition k="amenity" v="vending_machine"/>
2211 <icon src="transport/ticket-machine.png" priority="-10"/>
2212 <area colour="amenity_light#f7efb7"/>
2213 </rule>
2214
2215<!--office tags -->
2216
2217 <rule>
2218 <condition k="office" v="company"/>
2219 <icon annotate="true" src="icons/office_blue.png"/>
2220 <area colour="office#de5696"/>
2221 </rule>
2222
2223 <rule>
2224 <condition k="office" v="government"/>
2225 <icon annotate="true" src="icons/office_pink.png"/>
2226 <area colour="office#de5696"/>
2227 </rule>
2228
2229<!--shop tags -->
2230
2231 <rule>
2232 <condition k="shop" v="supermarket"/>
2233 <icon annotate="true" src="shop/supermarket.png"/>
2234 <area colour="shop#00005f"/>
2235 </rule>
2236
2237 <rule>
2238 <condition k="shop" v="convenience"/>
2239 <icon annotate="true" src="shop/convenience.png"/>
2240 <area colour="shop#00005f"/>
2241 </rule>
2242
2243 <rule>
2244 <condition k="shop" v="bakery"/>
2245 <icon annotate="true" src="shop/groceries/bakery.png"/>
2246 <area colour="shop#00005f"/>
2247 </rule>
2248
2249 <rule>
2250 <condition k="shop" v="butcher"/>
2251 <icon annotate="true" src="shop/groceries/butcher.png"/>
2252 <area colour="shop#00005f"/>
2253 </rule>
2254
2255 <rule>
2256 <condition k="shop" v="bicycle"/>
2257 <icon annotate="true" src="sport/bicycle.png"/>
2258 <area colour="shop#00005f"/>
2259 </rule>
2260
2261 <rule>
2262 <condition k="shop" v="doityourself"/>
2263 <icon annotate="true" src="shop/diy_store.png"/>
2264 <area colour="shop#00005f"/>
2265 </rule>
2266
2267 <rule>
2268 <condition k="shop" v="dry_cleaning"/>
2269 <icon annotate="true" src="shop/laundry.png"/>
2270 <area colour="shop#00005f"/>
2271 </rule>
2272
2273 <rule>
2274 <condition k="shop" v="laundry"/>
2275 <icon annotate="true" src="shop/laundry.png"/>
2276 <area colour="shop#00005f"/>
2277 </rule>
2278
2279 <rule>
2280 <condition k="shop" v="outdoor"/>
2281 <icon annotate="true" src="shop/sports/outdoor.png"/>
2282 <area colour="shop#00005f"/>
2283 </rule>
2284
2285 <rule>
2286 <condition k="shop" v="kiosk"/>
2287 <icon annotate="true" src="shop/kiosk.png"/>
2288 <area colour="shop#00005f"/>
2289 </rule>
2290
2291 <rule>
2292 <condition k="shop" v="alcohol"/>
2293 <icon annotate="true" src="shop/beverages.png"/>
2294 <area colour="shop#00005f"/>
2295 </rule>
2296
2297 <rule>
2298 <condition k="shop" v="beverages"/>
2299 <icon annotate="true" src="shop/beverages.png"/>
2300 <area colour="shop#00005f"/>
2301 </rule>
2302
2303 <rule>
2304 <condition k="shop" v="books"/>
2305 <icon annotate="true" src="shop/rental/library.png"/>
2306 <area colour="shop#00005f"/>
2307 </rule>
2308
2309 <rule>
2310 <condition k="shop" v="boutique"/>
2311 <icon annotate="true" src="shop/boutique.png"/>
2312 <area colour="shop#00005f"/>
2313 </rule>
2314
2315 <rule>
2316 <condition k="shop" v="car"/>
2317 <icon annotate="true" src="transport/car.png"/>
2318 <area colour="shop#00005f"/>
2319 </rule>
2320
2321 <rule>
2322 <condition k="shop" v="car_dealer"/>
2323 <icon annotate="true" src="transport/car.png"/>
2324 <area colour="shop#00005f"/>
2325 </rule>
2326
2327 <rule>
2328 <condition k="shop" v="car_repair"/>
2329 <icon annotate="true" src="vehicle/repair_shop.png"/>
2330 <area colour="shop#00005f"/>
2331 </rule>
2332
2333 <rule>
2334 <condition k="shop" v="tyres"/>
2335 <icon annotate="true" src="vehicle/tyres.png"/>
2336 <area colour="shop#00005f"/>
2337 </rule>
2338
2339 <rule>
2340 <condition k="shop" v="chemist"/>
2341 <icon annotate="true" src="shop/chemist.png"/>
2342 <area colour="shop#00005f"/>
2343 </rule>
2344
2345 <rule>
2346 <condition k="shop" v="clothes"/>
2347 <icon annotate="true" src="shop/clothes.png"/>
2348 <area colour="shop#00005f"/>
2349 </rule>
2350
2351 <rule>
2352 <condition k="shop" v="computer"/>
2353 <icon annotate="true" src="shop/computer.png"/>
2354 <area colour="shop#00005f"/>
2355 </rule>
2356
2357 <rule>
2358 <condition k="shop" v="confectionery"/>
2359 <icon annotate="true" src="shop/groceries/confectionery.png"/>
2360 <area colour="shop#00005f"/>
2361 </rule>
2362
2363 <rule>
2364 <condition k="shop" v="copyshop"/>
2365 <icon annotate="true" src="shop/copyshop.png"/>
2366 <area colour="shop#00005f"/>
2367 </rule>
2368
2369 <rule>
2370 <condition k="shop" v="curtain"/>
2371 <icon annotate="true" src="shop/curtain.png"/>
2372 <area colour="shop#00005f"/>
2373 </rule>
2374
2375 <rule>
2376 <condition k="shop" v="cycle_repair"/>
2377 <icon annotate="true" src="sport/bicycle.png"/>
2378 <area colour="shop#00005f"/>
2379 </rule>
2380
2381 <rule>
2382 <condition k="shop" v="department_store"/>
2383 <icon annotate="true" src="shop/mall.png"/>
2384 <area colour="shop#00005f"/>
2385 </rule>
2386
2387 <rule>
2388 <condition k="shop" v="deli"/>
2389 <icon annotate="true" src="shop/groceries/deli.png"/>
2390 <area colour="shop#00005f"/>
2391 </rule>
2392
2393 <rule>
2394 <condition k="shop" v="electronics"/>
2395 <icon annotate="true" src="shop/electronics.png"/>
2396 <area colour="shop#00005f"/>
2397 </rule>
2398
2399 <rule>
2400 <condition k="shop" v="erotic"/>
2401 <icon annotate="true" src="shop/erotic.png"/>
2402 <area colour="shop#00005f"/>
2403 </rule>
2404
2405 <rule>
2406 <condition k="shop" v="furniture"/>
2407 <icon annotate="true" src="shop/furniture.png"/>
2408 <area colour="shop#00005f"/>
2409 </rule>
2410
2411 <rule>
2412 <condition k="shop" v="fabric"/>
2413 <icon annotate="true" src="shop/fabric.png"/>
2414 <area colour="shop#00005f"/>
2415 </rule>
2416
2417 <rule>
2418 <condition k="shop" v="florist"/>
2419 <icon annotate="true" src="shop/florist.png"/>
2420 <area colour="shop#00005f"/>
2421 </rule>
2422
2423 <rule>
2424 <condition k="shop" v="frame"/>
2425 <icon annotate="true" src="shop/frame.png"/>
2426 <area colour="shop#00005f"/>
2427 </rule>
2428
2429 <rule>
2430 <condition k="shop" v="greengrocer"/>
2431 <icon annotate="true" src="shop/groceries/greengrocer.png"/>
2432 <area colour="shop#00005f"/>
2433 </rule>
2434
2435 <rule>
2436 <!-- superseeded by greengrocer -->
2437 <condition k="shop" v="groceries"/>
2438 <icon annotate="true" src="misc/deprecated.png"/>
2439 <area colour="deprecated#ff0000"/>
2440 </rule>
2441
2442 <rule>
2443 <condition k="shop" v="garden_centre"/>
2444 <icon annotate="true" src="shop/garden_centre.png"/>
2445 <area colour="shop#00005f"/>
2446 </rule>
2447
2448 <rule>
2449 <condition k="shop" v="hairdresser"/>
2450 <icon annotate="true" src="shop/hairdresser.png"/>
2451 <area colour="shop#00005f"/>
2452 </rule>
2453
2454 <rule>
2455 <condition k="shop" v="hardware"/>
2456 <icon annotate="true" src="shop/hardware.png"/>
2457 <area colour="shop#00005f"/>
2458 </rule>
2459
2460 <rule>
2461 <condition k="shop" v="hearing_aids"/>
2462 <icon annotate="true" src="shop/hearing_aids.png"/>
2463 <area colour="shop#00005f"/>
2464 </rule>
2465
2466 <rule>
2467 <condition k="shop" v="hifi"/>
2468 <icon annotate="true" src="shop/hifi.png"/>
2469 <area colour="shop#00005f"/>
2470 </rule>
2471
2472 <rule>
2473 <condition k="shop" v="jewelry"/>
2474 <icon annotate="true" src="shop/jewelry.png"/>
2475 <area colour="shop#00005f"/>
2476 </rule>
2477
2478 <rule>
2479 <condition k="shop" v="kitchen"/>
2480 <icon annotate="true" src="shop/kitchen.png"/>
2481 <area colour="shop#00005f"/>
2482 </rule>
2483
2484 <rule>
2485 <condition k="shop" v="mall"/>
2486 <icon annotate="true" src="shop/mall.png"/>
2487 <area colour="shop#00005f"/>
2488 </rule>
2489
2490 <rule>
2491 <condition k="shop" v="mobile_phone"/>
2492 <icon annotate="true" src="shop/mobile_phone.png"/>
2493 <area colour="shop#00005f"/>
2494 </rule>
2495
2496 <rule>
2497 <condition k="shop" v="motorcycle"/>
2498 <icon annotate="true" src="vehicle/motorbike.png"/>
2499 <area colour="shop#00005f"/>
2500 </rule>
2501
2502 <rule>
2503 <condition k="shop" v="musical_instrument"/>
2504 <icon annotate="true" src="shop/musical_instrument.png"/>
2505 <area colour="shop#00005f"/>
2506 </rule>
2507
2508 <rule>
2509 <condition k="shop" v="newsagent"/>
2510 <icon annotate="true" src="shop/kiosk.png"/>
2511 <area colour="shop#00005f"/>
2512 </rule>
2513
2514 <rule>
2515 <condition k="shop" v="optician"/>
2516 <icon annotate="true" src="shop/optician.png"/>
2517 <area colour="shop#00005f"/>
2518 </rule>
2519
2520 <rule>
2521 <condition k="shop" v="paint"/>
2522 <icon annotate="true" src="shop/paint.png"/>
2523 <area colour="shop#00005f"/>
2524 </rule>
2525
2526 <rule>
2527 <condition k="shop" v="pawnbroker"/>
2528 <icon annotate="true" src="presets/pawnbroker.svg"/>
2529 <area colour="shop#00005f"/>
2530 </rule>
2531
2532 <rule>
2533 <condition k="shop" v="seafood"/>
2534 <icon annotate="true" src="shop/groceries/seafood.png"/>
2535 <area colour="shop#00005f"/>
2536 </rule>
2537
2538 <rule>
2539 <condition k="shop" v="shoes"/>
2540 <icon annotate="true" src="shop/shoes.png"/>
2541 <area colour="shop#00005f"/>
2542 </rule>
2543
2544 <rule>
2545 <condition k="shop" v="sports"/>
2546 <icon annotate="true" src="sport/multi.png"/>
2547 <area colour="shop#00005f"/>
2548 </rule>
2549
2550 <rule>
2551 <condition k="shop" v="stationery"/>
2552 <icon annotate="true" src="shop/stationery.png"/>
2553 <area colour="shop#00005f"/>
2554 </rule>
2555
2556 <rule>
2557 <condition k="shop" v="tailor"/>
2558 <icon annotate="true" src="shop/tailor.png"/>
2559 <area colour="shop#00005f"/>
2560 </rule>
2561
2562 <rule>
2563 <condition k="shop" v="travel_agency"/>
2564 <icon annotate="true" src="place/island.png"/>
2565 <area colour="shop#00005f"/>
2566 </rule>
2567
2568 <rule>
2569 <condition k="shop" v="toys"/>
2570 <icon annotate="true" src="shop/toys.png"/>
2571 <area colour="shop#00005f"/>
2572 </rule>
2573
2574 <rule>
2575 <condition k="shop" v="vacuum_cleaner"/>
2576 <icon annotate="true" src="shop/vacuum_cleaner.png"/>
2577 <area colour="shop#00005f"/>
2578 </rule>
2579
2580 <rule>
2581 <condition k="shop" v="variety_store"/>
2582 <icon annotate="true" src="shop/variety_store.png"/>
2583 <area colour="shop#00005f"/>
2584 </rule>
2585
2586 <rule>
2587 <condition k="shop" v="video"/>
2588 <icon annotate="true" src="shop/video.png"/>
2589 <area colour="shop#00005f"/>
2590 </rule>
2591
2592 <!-- duplicate of shopping_centre? -->
2593 <rule>
2594 <condition k="shop" v="shopping_centre"/>
2595 <icon annotate="true" src="shop/mall.png"/>
2596 <area colour="shop#00005f"/>
2597 </rule>
2598
2599<!--tourism tags -->
2600
2601 <rule>
2602 <condition k="tourism" v="hotel"/>
2603 <icon annotate="true" src="accommodation.png"/>
2604 <area colour="hotel#e1a0a2"/>
2605 </rule>
2606
2607 <rule>
2608 <condition k="tourism" v="motel"/>
2609 <icon annotate="true" src="accommodation/motel.png"/>
2610 <area colour="hotel#e1a0a2"/>
2611 </rule>
2612
2613 <rule>
2614 <condition k="tourism" v="guest_house"/>
2615 <icon annotate="true" src="accommodation/guest_house.png"/>
2616 <area colour="hotel#e1a0a2"/>
2617 </rule>
2618
2619 <rule>
2620 <condition k="tourism" v="hostel"/>
2621 <icon annotate="true" src="accommodation/hostel.png"/>
2622 <area colour="hotel#e1a0a2"/>
2623 </rule>
2624
2625 <rule>
2626 <condition k="tourism" v="chalet"/>
2627 <icon annotate="true" src="accommodation/chalet.png"/>
2628 <area colour="hotel#e1a0a2"/>
2629 </rule>
2630
2631 <rule>
2632 <condition k="tourism" v="alpine_hut"/>
2633 <icon annotate="true" src="accommodation/alpine_hut.png"/>
2634 <area colour="hotel#e1a0a2"/>
2635 </rule>
2636
2637 <rule>
2638 <condition k="tourism" v="camp_site"/>
2639 <icon annotate="true" src="accommodation/camping.png"/>
2640 <area colour="hotel#e1a0a2"/>
2641 </rule>
2642
2643 <rule>
2644 <condition k="tourism" v="caravan_site"/>
2645 <icon annotate="true" src="accommodation/camping/caravan.png"/>
2646 <area colour="hotel#e1a0a2"/>
2647 </rule>
2648
2649 <rule>
2650 <condition k="tourism" v="picnic_site"/>
2651 <icon annotate="true" src="leisure/picnic.png"/>
2652 <area colour="tourism#e180a2"/>
2653 </rule>
2654
2655 <rule>
2656 <condition k="tourism" v="viewpoint"/>
2657 <icon annotate="true" src="sightseeing/viewpoint.png"/>
2658 <area colour="tourism#e180a2"/>
2659 </rule>
2660
2661 <rule>
2662 <condition k="tourism" v="theme_park"/>
2663 <icon annotate="true" src="leisure/theme_park.png"/>
2664 <area colour="tourism#e180a2"/>
2665 </rule>
2666
2667 <rule>
2668 <condition k="tourism" v="attraction"/>
2669 <icon annotate="true" src="sightseeing.png"/>
2670 <area colour="tourism#e180a2"/>
2671 </rule>
2672
2673 <rule>
2674 <condition k="tourism" v="zoo"/>
2675 <icon annotate="true" src="leisure/zoo.png"/>
2676 <area colour="tourism#e180a2"/>
2677 </rule>
2678
2679 <rule>
2680 <condition k="tourism" v="artwork"/>
2681 <icon annotate="true" src="service/arts_centre.png"/>
2682 <line width="2" colour="tourism#e180a2"/>
2683 <area colour="tourism#e180a2"/>
2684 </rule>
2685
2686 <rule>
2687 <condition k="tourism" v="museum"/>
2688 <icon annotate="true" src="sightseeing/museum.png"/>
2689 <area colour="tourism#e180a2"/>
2690 </rule>
2691
2692<!-- information tags -->
2693 <rule>
2694 <condition k="information" v="guidepost"/>
2695 <icon annotate="true" src="misc/information/guidepost.png" priority="10"/>
2696 </rule>
2697
2698 <rule>
2699 <condition k="information" v="office"/>
2700 <icon annotate="true" src="misc/information/informationoffice.png" priority="10"/>
2701 <area colour="tourism#e180a2"/>
2702 </rule>
2703
2704 <rule>
2705 <condition k="information" v="map"/>
2706 <icon annotate="true" src="misc/information/map.png" priority="10"/>
2707 </rule>
2708
2709 <rule>
2710 <condition k="information" v="board"/>
2711 <icon annotate="true" src="misc/information/board.png" priority="10"/>
2712 </rule>
2713
2714 <rule>
2715 <condition k="tourism" v="information"/>
2716 <icon annotate="true" src="misc/information.png"/>
2717 <area colour="tourism#e180a2"/>
2718 </rule>
2719
2720<!--historic tags -->
2721
2722 <rule>
2723 <condition k="historic" v="castle"/>
2724 <icon annotate="true" src="sightseeing/castle.png"/>
2725 <area colour="historic#663300"/>
2726 </rule>
2727
2728 <rule>
2729 <condition k="historic" v="monument"/>
2730 <icon annotate="true" src="sightseeing/monument.png"/>
2731 <area colour="historic#663300"/>
2732 </rule>
2733
2734 <rule>
2735 <condition k="historic" v="memorial"/>
2736 <icon annotate="true" src="sightseeing/memorial.png"/>
2737 <area colour="historic#663300"/>
2738 </rule>
2739
2740 <rule>
2741 <condition k="historic" v="archaeological_site"/>
2742 <icon annotate="true" src="sightseeing/archaeological.png"/>
2743 <area colour="historic#663300"/>
2744 </rule>
2745
2746 <rule>
2747 <condition k="historic" v="ruins"/>
2748 <icon annotate="true" src="sightseeing/ruins.png"/>
2749 <area colour="historic#663300"/>
2750 </rule>
2751
2752 <rule>
2753 <condition k="historic" v="battlefield"/>
2754 <icon annotate="true" src="sightseeing/battlefield.png"/>
2755 <area colour="historic#663300"/>
2756 </rule>
2757
2758 <rule>
2759 <condition k="geological" v="palaeontological_site"/>
2760 <icon annotate="true" src="historic/palaeontological_site.png"/>
2761 <area colour="historic#663300"/>
2762 </rule>
2763
2764 <rule>
2765 <condition k="historic" v="wayside_cross"/>
2766 <icon annotate="true" src="religion/wayside_cross.png"/>
2767 <area colour="historic#663300"/>
2768 </rule>
2769
2770 <rule>
2771 <condition k="historic" v="wayside_shrine"/>
2772 <icon annotate="true" src="religion/wayside_shrine.png"/>
2773 <area colour="historic#663300"/>
2774 </rule>
2775
2776 <rule>
2777 <condition k="historic" v="boundary_stone"/>
2778 <icon annotate="true" src="historic/boundary_stone.png"/>
2779 <area colour="historic#663300"/>
2780 </rule>
2781
2782<!--landuse tags -->
2783
2784 <rule>
2785 <condition k="landuse" v="farm"/>
2786 <area colour="green#b1e0c2"/>
2787 <icon annotate="true" src="misc/landmark/farm.png"/>
2788 </rule>
2789
2790 <rule>
2791 <condition k="landuse" v="farmland"/>
2792 <area colour="green#b1e0c2"/>
2793 <icon annotate="true" src="misc/no_icon.png"/>
2794 </rule>
2795
2796 <rule>
2797 <condition k="landuse" v="meadow"/>
2798 <area colour="green#b1e0c2"/>
2799 <icon annotate="true" src="misc/no_icon.png"/>
2800 </rule>
2801
2802 <rule>
2803 <condition k="landuse" v="vineyard"/>
2804 <area colour="green#b1e0c2"/>
2805 <icon annotate="true" src="shop/groceries/fruits.png"/>
2806 </rule>
2807
2808 <rule>
2809 <condition k="landuse" v="orchard"/>
2810 <area colour="green#b1e0c2"/>
2811 </rule>
2812
2813 <rule>
2814 <condition k="landuse" v="quarry"/>
2815 <area colour="quarry#888888"/>
2816 <icon src="misc/landmark/mine.png"/>
2817 </rule>
2818
2819 <rule>
2820 <condition k="landuse" v="landfill"/>
2821 <area colour="landfill#663300"/>
2822 <icon src="misc/no_icon.png"/>
2823 </rule>
2824
2825 <rule>
2826 <condition k="landuse" v="basin"/>
2827 <area colour="basin#0000bf"/>
2828 <icon src="misc/no_icon.png"/>
2829 </rule>
2830
2831 <rule>
2832 <condition k="landuse" v="reservoir"/>
2833 <area colour="basin#0000bf"/>
2834 <icon src="misc/no_icon.png"/>
2835 </rule>
2836
2837 <rule>
2838 <condition k="landuse" v="forest"/>
2839 <area colour="forest#b1efc8"/>
2840 <icon src="misc/landmark/trees.png"/>
2841 </rule>
2842
2843 <rule>
2844 <condition k="landuse" v="allotments"/>
2845 <area colour="green#b1e0c2"/>
2846 <icon src="misc/landmark/plant.png"/>
2847 </rule>
2848
2849 <rule>
2850 <condition k="landuse" v="greenhouse_horticulture"/>
2851 <area colour="green#b1e0c2"/>
2852 <icon src="misc/landuse/greenhouse_horticulture.png"/>
2853 </rule>
2854
2855 <rule>
2856 <condition k="landuse" v="grass"/>
2857 <area colour="green#b1e0c2"/>
2858 <icon src="misc/landmark/plant.png"/>
2859 </rule>
2860
2861 <rule>
2862 <condition k="landuse" v="residential"/>
2863 <area colour="residential#f0f0f0"/>
2864 <icon src="misc/landuse/residential.png"/>
2865 </rule>
2866
2867 <rule>
2868 <condition k="landuse" v="garages"/>
2869 <area colour="garages#f0f0f0"/>
2870 <icon src="misc/landuse/garages.png"/>
2871 </rule>
2872
2873 <rule>
2874 <condition k="landuse" v="farmyard"/>
2875 <area colour="farmyard#f0f0f0"/>
2876 <icon src="misc/no_icon.png"/>
2877 </rule>
2878
2879
2880 <rule>
2881 <condition k="landuse" v="retail"/>
2882 <area colour="retail#ffc4ee"/>
2883 <icon src="shop/mall.png"/>
2884 </rule>
2885
2886 <rule>
2887 <condition k="landuse" v="commercial"/>
2888 <area colour="retail#ffc4ee"/>
2889 <icon src="misc/landuse/commercial.png"/>
2890 </rule>
2891
2892 <rule>
2893 <condition k="landuse" v="industrial"/>
2894 <area colour="industrial#ecd8ff"/>
2895 <icon src="misc/landmark/works.png"/>
2896 </rule>
2897
2898 <rule>
2899 <condition k="landuse" v="brownfield"/>
2900 <area colour="brownfield#ecba32"/>
2901 <icon src="misc/no_icon.png"/>
2902 </rule>
2903
2904 <rule>
2905 <condition k="landuse" v="greenfield"/>
2906 <area colour="greenfield#b1ec5c"/>
2907 <icon src="misc/no_icon.png"/>
2908 </rule>
2909
2910 <rule>
2911 <condition k="landuse" v="railway"/>
2912 <area colour="railland#888888"/>
2913 <icon src="transport/railway_station.png"/>
2914 </rule>
2915
2916 <rule>
2917 <condition k="landuse" v="construction"/>
2918 <area colour="construction#ffff00"/>
2919 <line width="1" colour="construction#ffff00" dashed="true"/>
2920 <icon src="misc/construction.png"/>
2921 </rule>
2922
2923 <rule>
2924 <condition k="landuse" v="military"/>
2925 <area colour="military#b62c2c"/>
2926 <icon src="vehicle/tank.png"/>
2927 </rule>
2928
2929 <rule>
2930 <condition k="landuse" v="cemetery"/>
2931 <area colour="cemetery#b1efc8"/>
2932 <icon src="rendering/landuse/cemetery.png"/>
2933 </rule>
2934
2935 <rule>
2936 <condition k="landuse" v="village_green"/>
2937 <area colour="green#b1e0c2"/>
2938 <icon src="leisure/common.png"/>
2939 </rule>
2940
2941 <rule>
2942 <condition k="landuse" v="recreation_ground"/>
2943 <area colour="green#b1e0c2"/>
2944 <icon src="leisure/common.png"/>
2945 </rule>
2946
2947<!--military tags -->
2948
2949 <rule>
2950 <condition k="military" v="airfield"/>
2951 <icon src="transport/airport/airfield.png"/>
2952 <area colour="military#b62c2c"/>
2953 </rule>
2954
2955 <rule>
2956 <condition k="military" v="bunker"/>
2957 <icon src="misc/landmark/bunker.png"/>
2958 <area colour="military#b62c2c"/>
2959 </rule>
2960
2961 <rule>
2962 <condition k="military" v="barracks"/>
2963 <icon src="misc/no_icon.png"/>
2964 <area colour="military#b62c2c"/>
2965 </rule>
2966
2967 <rule>
2968 <condition k="military" v="danger_area"/>
2969 <icon src="misc/danger.png"/>
2970 <area colour="military#b62c2c"/>
2971 </rule>
2972
2973 <rule>
2974 <condition k="military" v="range"/>
2975 <icon src="misc/landmark/range.png"/>
2976 <area colour="military#b62c2c"/>
2977 </rule>
2978
2979<!--natural tags -->
2980
2981 <rule>
2982 <condition k="natural" v="spring"/>
2983 <icon annotate="true" src="misc/landmark/spring.png"/>
2984 <area colour="light_water#00005f"/>
2985 </rule>
2986
2987 <rule>
2988 <condition k="natural" v="saddle"/>
2989 <icon annotate="true" src="presets/saddle.svg"/>
2990 </rule>
2991
2992 <rule>
2993 <condition k="natural" v="peak"/>
2994 <area colour="peak#663300"/>
2995 <icon annotate="true" src="presets/peak.svg"/>
2996 </rule>
2997
2998 <rule>
2999 <condition k="natural" v="glacier"/>
3000 <icon annotate="true" src="misc/landmark/glacier_small.png"/>
3001 <area colour="glacier#ffffff"/>
3002 </rule>
3003
3004 <rule>
3005 <condition k="natural" v="volcano"/>
3006 <icon annotate="true" src="misc/landmark/volcano_small.png"/>
3007 <area colour="volcano#5f0000"/>
3008 </rule>
3009
3010 <rule>
3011 <condition k="natural" v="cliff"/>
3012 <icon src="misc/cliff.png"/>
3013 <line width="2" colour="natural#002f00"/>
3014 <area colour="natural#002f00" closed="true"/>
3015 </rule>
3016
3017 <rule>
3018 <condition k="natural" v="scree"/>
3019 <icon src="misc/no_icon.png"/>
3020 <area colour="natural#002f00"/>
3021 </rule>
3022
3023 <rule>
3024 <condition k="natural" v="scrub"/>
3025 <icon src="misc/no_icon.png"/>
3026 <area colour="scrub#007000"/>
3027 </rule>
3028
3029 <rule>
3030 <condition k="natural" v="fell"/>
3031 <icon src="misc/no_icon.png"/>
3032 <area colour="natural#002f00"/>
3033 </rule>
3034
3035 <rule>
3036 <condition k="natural" v="heath"/>
3037 <icon src="misc/no_icon.png"/>
3038 <area colour="heath#ffffc0"/>
3039 </rule>
3040
3041 <rule>
3042 <condition k="natural" v="tree_row"/>
3043 <icon src="misc/no_icon.png"/>
3044 <line width="2" colour="woodarea#008000"/>
3045 </rule>
3046
3047 <rule>
3048 <condition k="natural" v="wood"/>
3049 <icon src="misc/landmark/trees.png"/>
3050 <area colour="woodarea#008000"/>
3051 </rule>
3052
3053 <rule>
3054 <condition k="natural" v="grassland"/>
3055 <icon src="misc/no_icon.png"/>
3056 <area colour="green#b1e0c2"/>
3057 </rule>
3058
3059 <rule>
3060 <condition k="natural" v="wetland"/>
3061 <icon src="misc/no_icon.png"/>
3062 <area colour="marsh#4f4ff3"/>
3063 </rule>
3064
3065 <rule>
3066 <condition k="natural" v="water"/>
3067 <icon src="nautical/water.png"/>
3068 <area colour="water#0000ff"/>
3069 </rule>
3070
3071 <rule>
3072 <condition k="natural" v="coastline"/>
3073 <icon src="misc/coastline.png"/>
3074 <line width="1" colour="water#0000ff"/>
3075 </rule>
3076
3077 <rule>
3078 <condition k="natural" v="mud"/>
3079 <icon src="misc/mud.png"/>
3080 <area colour="mud#cba762"/>
3081 </rule>
3082
3083 <rule>
3084 <condition k="natural" v="beach"/>
3085 <icon src="misc/beach.png"/>
3086 <area colour="beach#f8dba2"/>
3087 </rule>
3088
3089 <rule>
3090 <condition k="natural" v="sand"/>
3091 <icon src="misc/no_icon.png"/>
3092 <area colour="sand#f8dba2"/>
3093 </rule>
3094
3095 <rule>
3096 <condition k="natural" v="bay"/>
3097 <icon src="misc/bay.png"/>
3098 <area colour="natural#002f00"/>
3099 </rule>
3100
3101 <rule>
3102 <condition k="natural" v="land"/>
3103 <icon src="misc/no_icon.png"/>
3104 <area colour="natural#002f00"/>
3105 </rule>
3106
3107 <rule>
3108 <condition k="natural" v="cave_entrance"/>
3109 <icon src="misc/landmark/cave_entrance.png"/>
3110 <area colour="natural#002f00"/>
3111 </rule>
3112
3113 <rule>
3114 <condition k="natural" v="tree"/>
3115 <icon src="misc/landmark/trees.png"/>
3116 </rule>
3117
3118 <rule>
3119 <condition k="natural" v="tree"/>
3120 <condition k="type" v="conifer"/>
3121 <icon src="misc/landmark/trees_conifer.png" priority="10"/>
3122 </rule>
3123
3124 <rule>
3125 <condition k="natural" v="tree"/>
3126 <condition k="type" v="broad_leaved"/>
3127 <icon src="misc/landmark/trees_broad_leaved.png" priority="10"/>
3128 </rule>
3129
3130 <rule>
3131 <condition k="natural" v="tree"/>
3132 <condition k="type" v="palm"/>
3133 <icon src="misc/landmark/trees_palm.png" priority="10"/>
3134 </rule>
3135
3136<!--route tags -->
3137
3138 <rule>
3139 <condition k="route" v="bus"/>
3140 <line width="1" colour="route#809bc0" dashed="true"/>
3141 <icon annotate="true" src="misc/deprecated.png"/>
3142 </rule>
3143
3144 <rule>
3145 <condition k="route" v="ferry"/>
3146 <line width="1" colour="route#809bc0" dashed="true"/>
3147 <icon annotate="true" src="misc/deprecated.png"/>
3148 </rule>
3149
3150 <rule>
3151 <condition k="route" v="flight"/>
3152 <line width="1" colour="route#809bc0" dashed="true"/>
3153 <icon annotate="true" src="misc/deprecated.png"/>
3154 </rule>
3155
3156 <rule>
3157 <condition k="route" v="ncn"/>
3158 <line width="1" colour="route#809bc0" dashed="true"/>
3159 <icon annotate="true" src="misc/deprecated.png"/>
3160 </rule>
3161
3162 <rule>
3163 <condition k="route" v="subsea"/>
3164 <line width="1" colour="route#809bc0" dashed="true"/>
3165 <icon annotate="true" src="misc/deprecated.png"/>
3166 </rule>
3167
3168 <rule>
3169 <condition k="route" v="ski"/>
3170 <line width="1" colour="route#809bc0" dashed="true"/>
3171 <icon annotate="true" src="misc/deprecated.png"/>
3172 </rule>
3173
3174 <rule>
3175 <condition k="route" v="tour"/>
3176 <line width="1" colour="route#809bc0" dashed="true"/>
3177 <icon annotate="true" src="misc/deprecated.png"/>
3178 </rule>
3179
3180 <rule>
3181 <condition k="route" v="pub_crawl"/>
3182 <line width="1" colour="route#809bc0" dashed="true"/>
3183 <icon annotate="true" src="misc/deprecated.png"/>
3184 </rule>
3185
3186<!--boundary tags -->
3187
3188 <rule>
3189 <condition k="boundary" v="national"/>
3190 <line width="1" colour="boundary#FF6600" dashed="true" priority="-10"/>
3191 <icon annotate="true" src="misc/deprecated.png"/>
3192 </rule>
3193
3194 <rule>
3195 <condition k="admin_level" v="1"/>
3196 <line width="5" colour="boundary#FF6600" dashed="true"/>
3197 </rule>
3198 <rule>
3199 <condition k="admin_level" v="2"/>
3200 <line width="5" colour="boundary#FF6600" dashed="true"/>
3201 </rule>
3202 <rule>
3203 <condition k="admin_level" v="3"/>
3204 <line width="4" colour="boundary#FF6600" dashed="true"/>
3205 </rule>
3206 <rule>
3207 <condition k="admin_level" v="4"/>
3208 <line width="4" colour="boundary#FF6600" dashed="true"/>
3209 </rule>
3210 <rule>
3211 <condition k="admin_level" v="5"/>
3212 <line width="3" colour="boundary#FF6600" dashed="true"/>
3213 </rule>
3214 <rule>
3215 <condition k="admin_level" v="6"/>
3216 <line width="3" colour="boundary#FF6600" dashed="true"/>
3217 </rule>
3218 <rule>
3219 <condition k="admin_level" v="7"/>
3220 <line width="2" colour="boundary#FF6600" dashed="true"/>
3221 </rule>
3222 <rule>
3223 <condition k="admin_level" v="8"/>
3224 <line width="2" colour="boundary#FF6600" dashed="true"/>
3225 </rule>
3226 <rule>
3227 <condition k="admin_level" v="9"/>
3228 <line width="1" colour="boundary#FF6600" dashed="true"/>
3229 </rule>
3230 <rule>
3231 <condition k="admin_level" v="10"/>
3232 <line width="1" colour="boundary#FF6600" dashed="true"/>
3233 </rule>
3234
3235 <rule>
3236 <condition k="boundary" v="administrative"/>
3237 <line width="1" colour="boundary#FF6600" dashed="true" priority="-10"/>
3238 <icon annotate="true" src="misc/deprecated.png"/>
3239 </rule>
3240
3241 <rule>
3242 <condition k="boundary" v="postal_code"/>
3243 <line width="1" colour="boundary#FF6600" dashed="true" priority="-10"/>
3244 <icon annotate="true" src="misc/deprecated.png"/>
3245 </rule>
3246
3247 <rule>
3248 <condition k="boundary" v="political"/>
3249 <line width="1" colour="boundary#FF6600" dashed="true" priority="-10"/>
3250 <icon annotate="true" src="misc/deprecated.png"/>
3251 </rule>
3252
3253 <rule>
3254 <condition k="boundary" v="national_park"/>
3255 <line width="1" colour="boundary#FF6600" dashed="true" priority="-10"/>
3256 <icon annotate="true" src="misc/deprecated.png"/>
3257 </rule>
3258
3259<!--sport tags -->
3260
3261 <rule>
3262 <condition k="sport" v="9pin"/>
3263 <area colour="sport#bde3cb"/>
3264 <icon src="sport/10pin.png"/>
3265 </rule>
3266
3267 <rule>
3268 <condition k="sport" v="10pin"/>
3269 <area colour="sport#bde3cb"/>
3270 <icon src="sport/10pin.png"/>
3271 </rule>
3272
3273 <rule>
3274 <condition k="sport" v="athletics"/>
3275 <area colour="sport#bde3cb"/>
3276 <icon src="sport/athletics.png"/>
3277 </rule>
3278
3279 <rule>
3280 <condition k="sport" v="soccer"/>
3281 <area colour="sport#bde3cb"/>
3282 <icon src="sport/soccer.png"/>
3283 </rule>
3284
3285 <rule>
3286 <condition k="sport" v="australian_football"/>
3287 <area colour="sport#bde3cb"/>
3288 <icon src="sport/soccer.png"/>
3289 </rule>
3290
3291 <rule>
3292 <condition k="sport" v="american_football"/>
3293 <area colour="sport#bde3cb"/>
3294 <icon src="sport/soccer.png"/>
3295 </rule>
3296
3297 <rule>
3298 <condition k="sport" v="canadian_football"/>
3299 <area colour="sport#bde3cb"/>
3300 <icon src="sport/soccer.png"/>
3301 </rule>
3302
3303 <rule>
3304 <condition k="sport" v="gaelic_football"/>
3305 <area colour="sport#bde3cb"/>
3306 <icon src="sport/soccer.png"/>
3307 </rule>
3308
3309 <rule>
3310 <condition k="sport" v="rugby_league"/>
3311 <area colour="sport#bde3cb"/>
3312 <icon src="sport/football.png"/>
3313 </rule>
3314
3315 <rule>
3316 <condition k="sport" v="rugby_union"/>
3317 <area colour="sport#bde3cb"/>
3318 <icon src="sport/football.png"/>
3319 </rule>
3320
3321 <rule>
3322 <condition k="sport" v="baseball"/>
3323 <area colour="sport#bde3cb"/>
3324 <icon src="sport/baseball.png"/>
3325 </rule>
3326
3327 <rule>
3328 <condition k="sport" v="basketball"/>
3329 <area colour="sport#bde3cb"/>
3330 <icon src="sport/basketball.png"/>
3331 </rule>
3332
3333 <rule>
3334 <condition k="sport" v="boules"/>
3335 <area colour="sport#bde3cb"/>
3336 <icon src="sport/boule.png"/>
3337 </rule>
3338
3339 <rule>
3340 <condition k="sport" v="bowls"/>
3341 <area colour="sport#bde3cb"/>
3342 <icon src="sport/boule.png"/>
3343 </rule>
3344
3345 <rule>
3346 <condition k="sport" v="canoe"/>
3347 <area colour="sport#bde3cb"/>
3348 <icon src="sport/canoe.png"/>
3349 </rule>
3350
3351 <rule>
3352 <condition k="sport" v="chess"/>
3353 <area colour="sport#bde3cb"/>
3354 <icon src="sport/chess.png"/>
3355 </rule>
3356
3357 <rule>
3358 <condition k="sport" v="climbing"/>
3359 <area colour="sport#bde3cb"/>
3360 <icon src="sport/climbing.png"/>
3361 </rule>
3362
3363 <rule>
3364 <condition k="sport" v="cricket"/>
3365 <area colour="sport#bde3cb"/>
3366 <icon src="sport/cricket.png"/>
3367 </rule>
3368
3369 <rule>
3370 <condition k="sport" v="cricket_nets"/>
3371 <area colour="sport#bde3cb"/>
3372 <icon src="misc/no_icon.png"/>
3373 </rule>
3374
3375 <rule>
3376 <condition k="sport" v="croquet"/>
3377 <area colour="sport#bde3cb"/>
3378 <icon src="sport/croquet.png"/>
3379 </rule>
3380
3381 <rule>
3382 <condition k="sport" v="cycling"/>
3383 <area colour="sport#bde3cb"/>
3384 <icon src="sport/cycling.png"/>
3385 </rule>
3386
3387 <rule>
3388 <condition k="sport" v="dog_racing"/>
3389 <area colour="sport#bde3cb"/>
3390 <icon src="leisure/dog.png"/>
3391 </rule>
3392
3393 <rule>
3394 <condition k="sport" v="equestrian"/>
3395 <area colour="sport#bde3cb"/>
3396 <icon src="sport/riding.png"/>
3397 </rule>
3398
3399 <rule>
3400 <condition k="sport" v="golf"/>
3401 <area colour="sport#bde3cb"/>
3402 <icon src="sport/golf.png"/>
3403 </rule>
3404
3405 <rule>
3406 <condition k="sport" v="gymnastics"/>
3407 <area colour="sport#bde3cb"/>
3408 <icon src="sport/multi.png"/>
3409 </rule>
3410
3411 <rule>
3412 <condition k="sport" v="hockey"/>
3413 <area colour="sport#bde3cb"/>
3414 <icon src="sport/hockey.png"/>
3415 </rule>
3416
3417 <rule>
3418 <condition k="sport" v="horse_racing"/>
3419 <area colour="sport#bde3cb"/>
3420 <icon src="sport/riding.png"/>
3421 </rule>
3422
3423 <rule>
3424 <condition k="sport" v="karting"/>
3425 <area colour="sport#bde3cb"/>
3426 <icon src="sport/karting.png"/>
3427 </rule>
3428
3429 <rule>
3430 <condition k="sport" v="motocross"/>
3431 <area colour="sport#bde3cb"/>
3432 <icon src="sport/motocross.png"/>
3433 </rule>
3434
3435 <rule>
3436 <condition k="sport" v="motor"/>
3437 <area colour="sport#bde3cb"/>
3438 <icon src="sport/motor.png"/>
3439 </rule>
3440
3441 <rule>
3442 <condition k="sport" v="multi"/>
3443 <area colour="sport#bde3cb"/>
3444 <icon src="sport/multi.png"/>
3445 </rule>
3446
3447 <rule>
3448 <condition k="sport" v="pelota"/>
3449 <area colour="sport#bde3cb"/>
3450 <icon src="sport/pelota.png"/>
3451 </rule>
3452
3453 <rule>
3454 <condition k="sport" v="racquet"/>
3455 <area colour="sport#bde3cb"/>
3456 <icon src="sport/racquetball.png"/>
3457 </rule>
3458
3459 <rule>
3460 <condition k="sport" v="skating"/>
3461 <area colour="sport#bde3cb"/>
3462 <icon src="sport/skating.png"/>
3463 </rule>
3464
3465 <rule>
3466 <condition k="sport" v="skateboard"/>
3467 <area colour="sport#bde3cb"/>
3468 <icon src="sport/skateboard.png"/>
3469 </rule>
3470
3471 <rule>
3472 <condition k="sport" v="swimming"/>
3473 <area colour="sport#bde3cb"/>
3474 <icon src="sport/pool.png"/>
3475 </rule>
3476
3477 <rule>
3478 <condition k="sport" v="skiing"/>
3479 <area colour="sport#bde3cb"/>
3480 <icon src="sport/skiing.png"/>
3481 </rule>
3482
3483 <rule>
3484 <condition k="sport" v="table_tennis"/>
3485 <area colour="sport#bde3cb"/>
3486 <icon src="sport/table_tennis.png"/>
3487 </rule>
3488
3489 <rule>
3490 <condition k="sport" v="tennis"/>
3491 <area colour="sport#bde3cb"/>
3492 <icon src="sport/tennis.png"/>
3493 </rule>
3494
3495 <rule>
3496 <condition k="sport" v="paintball"/>
3497 <area colour="sport#bde3cb"/>
3498 <icon annotate="true" src="misc/no_icon.png"/>
3499 </rule>
3500
3501 <rule>
3502 <condition k="sport" v="squash"/>
3503 <area colour="sport#bde3cb"/>
3504 <icon annotate="true" src="misc/no_icon.png"/>
3505 </rule>
3506
3507 <rule>
3508 <condition k="sport" v="shooting"/>
3509 <area colour="sport#bde3cb"/>
3510 <icon annotate="true" src="misc/no_icon.png"/>
3511 </rule>
3512
3513 <rule>
3514 <condition k="sport" v="volleyball"/>
3515 <area colour="sport#bde3cb"/>
3516 <icon annotate="true" src="sport/volleyball.png"/>
3517 </rule>
3518
3519 <rule>
3520 <condition k="sport" v="beachvolleyball"/>
3521 <area colour="sport#bde3cb"/>
3522 <icon annotate="true" src="sport/beachvolleyball.png"/>
3523 </rule>
3524
3525 <rule>
3526 <condition k="sport" v="bowling"/>
3527 <area colour="sport#bde3cb"/>
3528 <icon annotate="true" src="sport/10pin.png"/>
3529 </rule>
3530
3531 <rule>
3532 <condition k="sport" v="handball"/>
3533 <area colour="sport#bde3cb"/>
3534 <icon annotate="true" src="sport/handball.png"/>
3535 </rule>
3536
3537 <rule>
3538 <condition k="sport" v="rowing"/>
3539 <area colour="sport#bde3cb"/>
3540 <icon annotate="true" src="sport/rowing.png"/>
3541 </rule>
3542
3543 <rule>
3544 <condition k="sport" v="sailing"/>
3545 <area colour="sport#bde3cb"/>
3546 <icon annotate="true" src="misc/no_icon.png"/>
3547 </rule>
3548
3549 <rule>
3550 <condition k="sport" v="diving"/>
3551 <area colour="sport#bde3cb"/>
3552 <icon annotate="true" src="sport/diving.png"/>
3553 </rule>
3554
3555 <rule>
3556 <condition k="sport" v="badminton"/>
3557 <area colour="sport#bde3cb"/>
3558 <icon annotate="true" src="misc/no_icon.png"/>
3559 </rule>
3560
3561 <rule>
3562 <condition k="sport" v="archery"/>
3563 <area colour="sport#bde3cb"/>
3564 <icon annotate="true" src="sport/archery.png"/>
3565 </rule>
3566
3567 <rule>
3568 <condition k="sport" v="fishing"/>
3569 <area colour="sport#bde3cb"/>
3570 <icon annotate="true" src="sport/fishing.png"/>
3571 </rule>
3572
3573 <rule>
3574 <condition k="sport" v="safety_training"/>
3575 <area colour="sport#bde3cb"/>
3576 <icon annotate="true" src="sport/safety_training.png"/>
3577 </rule>
3578
3579 <rule>
3580 <condition k="sport" v="model_aerodrome"/>
3581 <area colour="sport#bde3cb"/>
3582 <icon annotate="true" src="transport/airport.png"/>
3583 </rule>
3584
3585 <rule>
3586 <condition k="sport" v="rc_car"/>
3587 <area colour="sport#bde3cb"/>
3588 <icon annotate="true" src="transport/car.png"/>
3589 </rule>
3590
3591<!--abutters tags -->
3592
3593<!--accessories tags -->
3594
3595<!--properties tags -->
3596
3597 <rule>
3598 <condition k="mountain_pass" b="yes"/>
3599 <line width="2" realwidth="5" dashed="true" colour="deprecated#ff0000"/>
3600 <icon src="misc/landmark/mountain_pass.png"/>
3601 </rule>
3602
3603 <!-- this will badly display otherwise well tagged footways and alike, so comment it out until we have better ways to display this in JOSM!
3604 XXX - maybe it's possible to use linemod's here?
3605 <rule>
3606 <condition k="surface" v="paved"/>
3607 <linemod mode="under" width="0" dashedcolour="#505050"/>
3608 <icon annotate="true" src="misc/deprecated.png"/>
3609 </rule>
3610 <rule>
3611 <condition k="surface" v="unpaved"/>
3612 <linemod mode="under" width="0" dashedcolour="#301000"/>
3613 <icon annotate="true" src="misc/deprecated.png"/>
3614 </rule>
3615 <rule>
3616 <condition k="surface" v="gravel"/>
3617 <linemod mode="under" width="0" dashedcolour="#100070"/>
3618 <icon annotate="true" src="misc/deprecated.png"/>
3619 </rule>
3620
3621 <rule>
3622 <condition k="surface" v="cobblestone"/>
3623 <linemod mode="under" width="0" dashedcolour="#600060"/>
3624 <icon annotate="true" src="misc/deprecated.png"/>
3625 </rule>
3626 -->
3627
3628<!--name tags -->
3629
3630<!--preferences tags -->
3631
3632<!--place tags -->
3633
3634 <rule>
3635 <condition k="place" v="continent"/>
3636 <icon annotate="true" src="place/settlement/capital.png"/>
3637 <area colour="place#8de3cb"/>
3638 </rule>
3639
3640 <rule>
3641 <condition k="place" v="country"/>
3642 <icon annotate="true" src="place/settlement/capital.png"/>
3643 <area colour="place#8de3cb"/>
3644 </rule>
3645
3646 <rule>
3647 <condition k="place" v="state"/>
3648 <icon annotate="true" src="place/settlement/capital.png"/>
3649 <area colour="place#8de3cb"/>
3650 </rule>
3651
3652 <rule>
3653 <condition k="place" v="region"/>
3654 <icon annotate="true" src="place/settlement/capital.png"/>
3655 <area colour="place#8de3cb"/>
3656 </rule>
3657
3658 <rule>
3659 <condition k="place" v="county"/>
3660 <icon annotate="true" src="place/settlement/capital.png"/>
3661 <area colour="place#8de3cb"/>
3662 </rule>
3663
3664 <rule>
3665 <condition k="place" v="city"/>
3666 <icon annotate="true" src="place/settlement/city.png"/>
3667 <area colour="place#8de3cb"/>
3668 </rule>
3669
3670 <rule>
3671 <condition k="place" v="town"/>
3672 <icon annotate="true" src="place/settlement/town.png"/>
3673 <area colour="place#8de3cb"/>
3674 </rule>
3675
3676 <rule>
3677 <condition k="place" v="village"/>
3678 <icon annotate="true" src="place/settlement/town.png"/>
3679 <area colour="place#8de3cb"/>
3680 </rule>
3681
3682 <rule>
3683 <condition k="place" v="hamlet"/>
3684 <icon annotate="true" src="place/settlement/town.png"/>
3685 <area colour="place#8de3cb"/>
3686 </rule>
3687
3688 <rule>
3689 <condition k="place" v="isolated_dwelling"/>
3690 <icon annotate="true" src="place/settlement/town.png"/>
3691 <area colour="place#8de3cb"/>
3692 </rule>
3693
3694 <rule>
3695 <condition k="place" v="neighbourhood"/>
3696 <icon annotate="true" src="place/settlement/town.png"/>
3697 <area colour="place#8de3cb"/>
3698 </rule>
3699
3700 <rule>
3701 <condition k="place" v="suburb"/>
3702 <icon annotate="true" src="place/settlement/town.png"/>
3703 <area colour="place#8de3cb"/>
3704 </rule>
3705
3706 <rule>
3707 <condition k="place" v="locality"/>
3708 <icon annotate="true" src="place/locality.png"/>
3709 <area colour="place#8de3cb"/>
3710 </rule>
3711
3712 <rule>
3713 <condition k="place" v="island"/>
3714 <icon annotate="true" src="place/island.png"/>
3715 <area colour="place#8de3cb"/>
3716 </rule>
3717
3718 <rule>
3719 <condition k="place" v="islet"/>
3720 <icon annotate="true" src="place/islet.png"/>
3721 <area colour="place#8de3cb"/>
3722 </rule>
3723
3724 <!-- special display of unreviewed tiger data (USA) -->
3725 <rule>
3726 <condition k="tiger:reviewed" v="no"/>
3727 <linemod mode="under" width="10" colour="tiger_data#80800090"/>
3728 </rule>
3729
3730 <!-- lot's of "openGeoDB:..." tags can be found in germany -->
3731 <rule>
3732 <condition k="openGeoDB:type" v="Stadt"/>
3733 <icon annotate="true" src="place/settlement/town.png"/>
3734 </rule>
3735
3736 <rule>
3737 <condition k="openGeoDB:type" v="Kreis"/>
3738 <icon annotate="true" src="place/settlement/town.png"/>
3739 </rule>
3740
3741 <rule>
3742 <condition k="openGeoDB:type" v="Gemeinde"/>
3743 <icon annotate="true" src="place/settlement/town.png"/>
3744 </rule>
3745
3746 <rule>
3747 <condition k="openGeoDB:type" v="Ort"/>
3748 <icon annotate="true" src="place/settlement/town.png"/>
3749 </rule>
3750
3751 <rule>
3752 <condition k="openGeoDB:type" v="District"/>
3753 <icon annotate="true" src="place/settlement/town.png"/>
3754 </rule>
3755
3756 <rule>
3757 <condition k="openGeoDB:location" v="locality"/>
3758 <icon annotate="true" src="place/settlement/town.png"/>
3759 </rule>
3760
3761<!--annotation tags -->
3762
3763<!-- building/entrance/address -->
3764
3765 <rule>
3766 <condition k="building"/>
3767 <icon annotate="true" src="misc/landmark/building.png" priority="-10000"/>
3768 <area colour="building#cb9999" priority="-10000"/>
3769 </rule>
3770
3771 <rule>
3772 <condition k="building" v="garage"/>
3773 <icon annotate="true" src="misc/landuse/garages.png"/>
3774 </rule>
3775
3776 <rule>
3777 <condition k="building" v="garages"/>
3778 <icon annotate="true" src="misc/landuse/garages.png"/>
3779 </rule>
3780
3781 <rule>
3782 <condition k="building" v="entrance" />
3783 <icon annotate="true" src="misc/entrance-yes.png" priority="100"/>
3784 </rule>
3785
3786 <rule>
3787 <condition k="entrance" v="yes" />
3788 <icon annotate="true" src="misc/entrance-yes.png"/>
3789 </rule>
3790
3791 <rule>
3792 <condition k="entrance" v="main" />
3793 <icon annotate="true" src="misc/entrance-main.png"/>
3794 </rule>
3795
3796 <rule>
3797 <condition k="entrance" v="service" />
3798 <icon annotate="true" src="misc/entrance-service.png"/>
3799 </rule>
3800
3801 <rule>
3802 <condition k="entrance" v="exit" />
3803 <icon annotate="true" src="misc/entrance-exit.png"/>
3804 </rule>
3805
3806 <rule>
3807 <condition k="entrance" v="emergency" />
3808 <icon annotate="true" src="misc/entrance-emergency.png"/>
3809 </rule>
3810
3811 <rule>
3812 <condition k="area" b="yes"/>
3813 <area colour="area#ffffff" priority="-10000"/>
3814 </rule>
3815
3816 <rule>
3817 <condition k="addr:housenumber"/>
3818 <icon annotate="true" src="misc/housenumber.png" priority="-50000"/>
3819 </rule>
3820
3821 <rule>
3822 <condition k="addr:postcode"/>
3823 <icon annotate="true" src="misc/housenumber.png" priority="-50000"/>
3824 </rule>
3825
3826 <rule>
3827 <condition k="addr:interpolation" v="odd"/>
3828 <line width="1" realwidth="1" dashed="15,4" colour="address#1C86EE"/>
3829 </rule>
3830
3831 <rule>
3832 <condition k="addr:interpolation" v="even"/>
3833 <line width="1" realwidth="1" dashed="4,4" colour="address#1C86EE"/>
3834 </rule>
3835
3836 <rule>
3837 <condition k="addr:interpolation" v="all"/>
3838 <line width="1" realwidth="1" dashed="1,1" colour="address#1C86EE"/>
3839 </rule>
3840
3841 <rule>
3842 <condition k="addr:interpolation" v="alphabetic"/>
3843 <line width="1" realwidth="1" dashed="1,1" colour="address#1C86EE"/>
3844 </rule>
3845
3846<!--"work in progress" tags -->
3847
3848 <rule>
3849 <condition k="fixme"/>
3850 <icon annotate="true" src="misc/fixme.png" priority="10000"/>
3851 </rule>
3852
3853 <rule>
3854 <condition k="FIXME"/>
3855 <icon annotate="true" src="misc/fixme.png" priority="10000"/>
3856 </rule>
3857
3858 <rule>
3859 <condition k="note"/>
3860 <icon annotate="true" src="misc/note.png" priority="-100000"/>
3861 </rule>
3862
3863<!--public_transport tags -->
3864 <rule>
3865 <condition k="public_transport" v="stop_position"/>
3866 <condition k="train" v="yes"/>
3867 <icon annotate="true" src="transport/railway_small.png" priority="10" />
3868 </rule>
3869
3870 <rule>
3871 <condition k="public_transport" v="stop_position"/>
3872 <condition k="tram" v="yes"/>
3873 <icon annotate="true" src="transport/tram.png" priority="8" />
3874 </rule>
3875
3876 <rule>
3877 <condition k="public_transport" v="stop_position"/>
3878 <condition k="ferry" v="yes"/>
3879 <icon annotate="true" src="transport/ferry.png" priority="7" />
3880 </rule>
3881
3882 <rule>
3883 <condition k="public_transport" v="stop_position"/>
3884 <condition k="aerial" v="yes"/>
3885 <icon annotate="true" src="transport/aerialway.png" priority="6" />
3886 </rule>
3887
3888 <rule>
3889 <condition k="public_transport" v="stop_position"/>
3890 <condition k="bus" v="yes"/>
3891 <icon annotate="true" src="transport/bus_small.png" priority="4" />
3892 </rule>
3893
3894 <rule>
3895 <condition k="public_transport" v="stop_position"/>
3896 <icon annotate="true" src="transport/railway_small.png" priority="-10"/>
3897 </rule>
3898
3899 <rule>
3900 <condition k="public_transport" v="platform"/>
3901 <condition k="train" v="yes"/>
3902 <icon annotate="true" src="transport/railway_station.png" priority="10" />
3903 <line width="1" realwidth="1" colour="service#809bc0" dashed="9" dashedcolour="livingdashed#00ff00"/>
3904 <area colour="service#809bc0" closed="true" />
3905 </rule>
3906
3907 <rule>
3908 <condition k="public_transport" v="platform"/>
3909 <condition k="tram" v="yes"/>
3910 <icon annotate="true" src="transport/railway_station.png" priority="8" />
3911 <line width="1" realwidth="1" colour="service#809bc0" dashed="9" dashedcolour="livingdashed#00ff00"/>
3912 <area colour="service#809bc0" closed="true" />
3913 </rule>
3914
3915 <rule>
3916 <condition k="public_transport" v="platform"/>
3917 <condition k="ferry" v="yes"/>
3918 <icon annotate="true" src="transport/ferry.png" priority="7" />
3919 <line width="1" realwidth="1" colour="service#809bc0" dashed="9" dashedcolour="livingdashed#00ff00"/>
3920 <area colour="service#809bc0" closed="true" />
3921 </rule>
3922
3923 <rule>
3924 <condition k="public_transport" v="platform"/>
3925 <condition k="aerial" v="yes"/>
3926 <icon annotate="true" src="transport/aerialway/station.png" priority="6" />
3927 <line width="1" realwidth="1" colour="service#809bc0" dashed="9" dashedcolour="livingdashed#00ff00"/>
3928 <area colour="service#809bc0" closed="true" />
3929 </rule>
3930
3931 <rule>
3932 <condition k="public_transport" v="platform"/>
3933 <condition k="bus" v="yes"/>
3934 <icon annotate="true" src="transport/bus_small.png" priority="4" />
3935 <line width="1" realwidth="1" colour="service#809bc0" dashed="9" dashedcolour="livingdashed#00ff00"/>
3936 <area colour="service#809bc0" closed="true" />
3937 </rule>
3938
3939 <rule>
3940 <condition k="public_transport" v="platform"/>
3941 <icon annotate="true" src="transport/bus_small.png" priority="-10"/>
3942 <line width="1" realwidth="1" colour="service#809bc0" dashed="9" dashedcolour="livingdashed#00ff00"/>
3943 <area colour="service#809bc0" closed="true" />
3944 </rule>
3945
3946<!--"deprecated" tags -->
3947
3948 <!-- historic=museum -> tourism=museum -->
3949 <!-- man_made=power_wind -> power=generator and power_source=wind -->
3950 <!-- man_made=power_hydro -> power=generator and power_source=hydro -->
3951 <!-- man_made=power_fossil -> power=generator and power_source=fossil -->
3952 <!-- man_made=power_nuclear -> power=generator and power_source=nuclear -->
3953 <!-- amenity=park_bench -> amenity=bench -->
3954 <!-- amenity=signpost -> information=guidepost -->
3955 <!-- amenity=emergency_phone -> emergency=phone -->
3956 <!-- highway minor - classification now more detailed -->
3957 <!-- highway=stile -> barrier=stile -->
3958 <!-- highway=gate -> barrier=gate -->
3959 <!-- highway=cattle_grid -> barrier=cattle_grid -->
3960 <!-- highway=toll_booth -> barrier=toll_booth -->
3961 <!-- highway=viaduct -> bridge=viaduct -->
3962 <!-- railway=viaduct -> bridge=viaduct -->
3963 <!-- waterway=aqueduct -> bridge=aqueduct -->
3964 <!-- natural=marsh -> natural=wetland -->
3965 <!-- leisure=zoo -> tourism=zoo -->
3966 <!-- power=station -> power=plant or power=sub_station -->
3967
3968</rules>
Note: See TracBrowser for help on using the repository browser.