source: josm/trunk/styles/standard/elemstyles.mapcss@ 7598

Last change on this file since 7598 was 7598, checked in by Don-vip, 10 years ago

fix #10590 - add presets + new icons for amenity=shower and leisure=firepit (PD/CC0, patch by Klumbumbus)

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