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

Last change on this file since 8707 was 8707, checked in by Klumbumbus, 8 years ago

new ford icon (https://github.com/nebulon42/osmic-josm-style/, CC0), see https://trac.openstreetmap.org/changeset/31533/subversion, remove incline from preset

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