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

Last change on this file since 8865 was 8865, checked in by Klumbumbus, 9 years ago

fix #11896 - add amenity=compressed_air to preset and mappaint style

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