source: josm/trunk/resources/styles/standard/elemstyles.mapcss@ 18264

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

fix #21398 - Update power plant related preset (patch by skyper)

  • add power=heliostat to preset and style
  • add a new group for power=plant with a general preset and one for each plant:source
    • multiselect with icons plant:source for general preset but no plant:method
    • correct plant:method per plant:source in individual plant presets
  • match="none" to generator:method with only one value in power:generator presets, to have working presets links without generator:method
    • move the wiki links of power:generator up, to follow common practice.
  • Property svn:eol-style set to native
File size: 138.9 KB
Line 
1/*
2Main JOSM map paint style.
3
4Originally in XML format, migrated to MapCSS.
5Documentation of MapCSS format:
6
7 https://josm.openstreetmap.de/wiki/Help/Styles/MapCSSImplementation
8
9*/
10
11meta {
12 icon: "logo_32x32x8.png";
13}
14
15canvas {
16 default-points: false;
17}
18node {
19 text: auto;
20}
21
22/*************************/
23/* create style settings */
24/*************************/
25
26setting::hide_icons {
27 type: boolean;
28 label: tr("Hide icons at low zoom");
29 default: true;
30}
31
32setting::shrink_nodes {
33 type: boolean;
34 label: tr("Less obtrusive node symbols at low zoom");
35 default: true;
36}
37
38setting::hide_tagged_waynodes {
39 type: boolean;
40 label: tr("Hide tagged waynodes at low zoom");
41 default: true;
42}
43
44setting::highway_labels {
45 type: boolean;
46 label: tr("Display street labels (at high zoom)");
47 default: true;
48}
49
50setting::alt_turn_icons {
51 type: boolean;
52 label: tr("Use alternative turn restriction icon set");
53 default: false;
54}
55
56setting::place_fill_colour {
57 type: boolean;
58 label: tr("Display fill colour of areas with place=*");
59 default: false;
60}
61
62setting::partial_fill {
63 type: boolean;
64 label: tr("Areas are drawn with fill only around their inner edges");
65 default: true;
66}
67
68setting::note_annotation {
69 type: boolean;
70 label: tr("Display note=* annotation on nodes");
71 default: false;
72}
73
74/*********************/
75/* turn restrictions */
76/*********************/
77
78relation[restriction=no_left_turn][!setting("alt_turn_icons")] {
79 icon-image: "presets/vehicle/restriction/turn_restrictions/no_left_turn_red.svg";
80 set icon_z17;
81 text: auto;
82}
83relation[restriction=no_left_turn][setting("alt_turn_icons")] {
84 icon-image: "presets/vehicle/restriction/turn_restrictions/no_left_turn.svg";
85 set icon_z17;
86 text: auto;
87}
88relation[restriction=no_right_turn][!setting("alt_turn_icons")] {
89 icon-image: "presets/vehicle/restriction/turn_restrictions/no_right_turn_red.svg";
90 set icon_z17;
91 text: auto;
92}
93relation[restriction=no_right_turn][setting("alt_turn_icons")] {
94 icon-image: "presets/vehicle/restriction/turn_restrictions/no_right_turn.svg";
95 set icon_z17;
96 text: auto;
97}
98relation[restriction=no_straight_on][!setting("alt_turn_icons")] {
99 icon-image: "presets/vehicle/restriction/turn_restrictions/no_straight_on_red.svg";
100 set icon_z17;
101 text: auto;
102}
103relation[restriction=no_straight_on][setting("alt_turn_icons")] {
104 icon-image: "presets/vehicle/restriction/turn_restrictions/no_straight_on.svg";
105 set icon_z17;
106 text: auto;
107}
108relation[restriction=no_u_turn] {
109 icon-image: "presets/vehicle/restriction/turn_restrictions/no_u_turn.svg";
110 set icon_z17;
111 text: auto;
112}
113relation[restriction=only_left_turn] {
114 icon-image: "presets/vehicle/restriction/turn_restrictions/only_left_turn.svg";
115 set icon_z17;
116 text: auto;
117}
118relation[restriction=only_right_turn] {
119 icon-image: "presets/vehicle/restriction/turn_restrictions/only_right_turn.svg";
120 set icon_z17;
121 text: auto;
122}
123relation[restriction=only_straight_on] {
124 icon-image: "presets/vehicle/restriction/turn_restrictions/only_straight_on.svg";
125 set icon_z17;
126 text: auto;
127}
128node[restriction] {
129 icon-image: "presets/misc/deprecated.svg";
130 set icon_z17;
131 text: auto;
132}
133
134/******************/
135/* bridge, tunnel */
136/******************/
137
138way[bridge=yes]::core_bridge,
139way[bridge=aqueduct]::core_bridge,
140way[bridge=boardwalk]::core_bridge,
141way[bridge=cantilever]::core_bridge,
142way[bridge=covered]::core_bridge,
143way[bridge=low_water_crossing]::core_bridge,
144way[bridge=movable]::core_bridge,
145way[bridge=trestle]::core_bridge,
146way[bridge=viaduct]::core_bridge {
147 major-z-index: 2;
148 object-z-index: -1;
149 width: +4;
150 color: bridge#0000FF;
151 opacity: 0.9;
152}
153way[tunnel=yes]::core_tunnel,
154way[tunnel=culvert]::core_tunnel,
155way[tunnel=flooded]::core_tunnel,
156way[tunnel=building_passage]::core_tunnel,
157way[tunnel=avalanche_protector]::core_tunnel {
158 major-z-index: 2;
159 object-z-index: -1;
160 width: +5;
161 color: tunnel#964B00;
162 opacity: 0.9;
163}
164node[oneway],
165node[bridge],
166node[tunnel?],
167node[tunnel?!],
168node[cutting?!],
169node[embankment?!] {
170 icon-image: "presets/misc/deprecated.svg";
171 set icon_z17;
172}
173
174/****************************/
175/* access restrictions tags */
176/****************************/
177
178way[access?!]::core_access {
179 z-index: -1;
180 width: +2;
181 color: no#ff8080;
182 dashes: 2,2;
183}
184way[access=permissive]::core_access {
185 z-index: -1;
186 width: +2;
187 color: permissive#80ff80;
188 dashes: 2,2;
189}
190way[access=private]::core_access {
191 z-index: -1;
192 width: +2;
193 color: private#ff8080;
194 dashes: 2,2;
195}
196way[access=destination]::core_access {
197 z-index: -1;
198 width: +2;
199 color: destination#8080ff;
200 dashes: 2,2;
201}
202node[traffic_sign][access?!] {
203 icon-image: "presets/vehicle/restriction/restrictions.svg";
204 set icon_z17;
205}
206node[traffic_sign][access=permissive][!is_prop_set(icon-image)],
207node[traffic_sign][access=private][!is_prop_set(icon-image)],
208node[traffic_sign][access=destination][!is_prop_set(icon-image)] {
209 icon-image: "presets/misc/no_icon.svg";
210 set icon_z17;
211}
212node[traffic_sign][bicycle?!] {
213 icon-image: "presets/vehicle/restriction/bicycle.svg";
214 set icon_z17;
215}
216node[traffic_sign][bicycle=designated] {
217 icon-image: "presets/vehicle/restriction/bicycle-designated.svg";
218 set icon_z17;
219}
220node[traffic_sign][foot?!] {
221 icon-image: "presets/vehicle/restriction/foot.svg";
222 set icon_z17;
223}
224node[traffic_sign][foot=designated] {
225 icon-image: "presets/vehicle/restriction/foot-designated.svg";
226 set icon_z17;
227}
228node[traffic_sign][goods?!],
229node[traffic_sign][hgv?!] {
230 icon-image: "presets/vehicle/restriction/goods.svg";
231 set icon_z17;
232}
233node[traffic_sign][horse?!] {
234 icon-image: "presets/vehicle/restriction/horse.svg";
235 set icon_z17;
236}
237node[traffic_sign][horse=designated] {
238 icon-image: "presets/vehicle/restriction/horse-designated.svg";
239 set icon_z17;
240}
241node[traffic_sign][motorcycle?!] {
242 icon-image: "presets/vehicle/restriction/motorbike.svg";
243 set icon_z17;
244}
245node[traffic_sign][motorcar?!] {
246 icon-image: "presets/vehicle/restriction/motorcar.svg";
247 set icon_z17;
248}
249node[traffic_sign][psv?!] {
250 icon-image: "presets/vehicle/restriction/psv.svg";
251 set icon_z17;
252}
253node[traffic_sign][motorboat?!][!is_prop_set(icon-image)],
254node[traffic_sign][boat?!][!is_prop_set(icon-image)] {
255 icon-image: "presets/misc/no_icon.svg";
256 set icon_z17;
257}
258node[noexit=yes] {
259 icon-image: "presets/vehicle/restriction/dead_end.svg";
260 set icon_z17;
261}
262node[traffic_sign][maxweight] {
263 icon-image: "presets/vehicle/restriction/maxweight.svg";
264 set icon_z17;
265}
266node[traffic_sign][maxheight] {
267 icon-image: "presets/vehicle/restriction/maxheight.svg";
268 set icon_z17;
269}
270node[traffic_sign][maxwidth] {
271 icon-image: "presets/vehicle/restriction/maxwidth.svg";
272 set icon_z17;
273}
274node[traffic_sign][maxlength] {
275 icon-image: "presets/vehicle/restriction/maxlength.svg";
276 set icon_z17;
277}
278node[traffic_sign][minspeed] {
279 icon-image: "presets/vehicle/restriction/minspeed.svg";
280 set icon_z17;
281}
282node[traffic_sign][maxstay][!is_prop_set(icon-image)],
283node[traffic_sign][toll][!is_prop_set(icon-image)] {
284 icon-image: "presets/misc/no_icon.svg";
285 set icon_z17;
286}
287
288/*************************************/
289/* low rendering priority properties */
290/*************************************/
291
292area[changing_table=yes],
293area[changing_table=limited] {
294 fill-color: changing_table#f7efb7; /* same as amenity */
295}
296node[changing_table=yes],
297node[changing_table=limited] {
298 icon-image: "presets/service/changing_table.svg";
299 set icon_z17;
300}
301
302/*****************************/
303/* building/entrance/address */
304/*****************************/
305
306node["addr:housenumber"] {
307 icon-image: "presets/misc/housenumber_small.svg";
308 set icon_z17;
309}
310way["addr:interpolation"=odd] {
311 width: 1;
312 color: address#1C86EE;
313 dashes: 15,4;
314}
315way["addr:interpolation"=even] {
316 width: 1;
317 color: address#1C86EE;
318 dashes: 4,4;
319}
320way["addr:interpolation"=all],
321way["addr:interpolation"=alphabetic] {
322 width: 1;
323 color: address#1C86EE;
324 dashes: 2,2;
325}
326area[building][!building?!][building!=y][building!=1] {
327 fill-color: building#cb9999;
328}
329area[building=roof],
330area[building][!building?!][wall?!],
331area[building:part][!building:part?!] {
332 fill-color: buildingpart#dcbbbb;
333}
334node[building][!building?!] {
335 icon-image: "presets/landmark/building.svg";
336 set icon_z17;
337}
338node[building=garage] {
339 icon-image: "presets/landuse/garages.svg";
340 set icon_z17;
341}
342node[building=garages] {
343 icon-image: "presets/landuse/garages.svg";
344 set icon_z17;
345}
346node[building=transformer_tower] {
347 icon-image: "presets/power/transformer_tower.svg";
348 set icon_z17;
349}
350node[entrance=yes],
351node[entrance=home],
352node[entrance=garage],
353node[entrance=staircase] {
354 icon-image: "presets/misc/entrance_yes.svg";
355 set icon_z17;
356}
357node[entrance=main] {
358 icon-image: "presets/misc/entrance_main.svg";
359 set icon_z17;
360}
361node[entrance=service] {
362 icon-image: "presets/misc/entrance_service.svg";
363 set icon_z17;
364}
365node[entrance=exit] {
366 icon-image: "presets/misc/entrance_exit.svg";
367 set icon_z17;
368}
369node[entrance=emergency] {
370 icon-image: "presets/misc/entrance_emergency.svg";
371 set icon_z17;
372}
373node[building=entrance],
374node[building:part] {
375 icon-image: "presets/misc/deprecated.svg";
376 set icon_z17;
377}
378
379/****************/
380/* barrier tags */
381/****************/
382
383way[barrier=bollard] {
384 width: 2;
385 color: barrier#F0F050;
386 dashes: 3,9;
387}
388node[barrier=bollard] {
389 icon-image: "presets/barrier/bollard.svg";
390 set icon_z17;
391}
392node[barrier=gate] {
393 icon-image: "presets/barrier/gate.svg";
394 set icon_z17;
395}
396way[barrier=yes],
397way[barrier=hedge],
398way[barrier=fence],
399way[barrier=handrail],
400way[barrier=wall],
401way[barrier=guard_rail],
402way[barrier=cable_barrier],
403way[barrier=city_wall],
404way[barrier=retaining_wall],
405way[barrier=block],
406way[barrier=chain],
407way[barrier=ditch],
408way[barrier=jersey_barrier],
409way[barrier=kerb] {
410 width: 2;
411 color: barrier#F0F050;
412}
413way[barrier=hedge][area?], relation[type=multipolygon][barrier=hedge],
414way[barrier=wall][area?], relation[type=multipolygon][barrier=wall],
415way[barrier=city_wall][area?], relation[type=multipolygon][barrier=city_wall] {
416 fill-color: barrier#F0F050;
417}
418way[barrier=city_wall][two_sided!=yes] {
419 repeat-image: "presets/barrier/barrier_pattern.svg";
420 repeat-image-align: top;
421 repeat-image-offset: 0.5;
422}
423way[barrier=kerb] {
424 repeat-image: "presets/barrier/kerb_pattern.svg";
425 repeat-image-align: top;
426 repeat-image-offset: 0.5;
427}
428way[barrier=retaining_wall] {
429 repeat-image: "presets/misc/cliff_pattern.svg";
430 repeat-image-align: top;
431 repeat-image-offset: 0.5;
432}
433node[barrier=hedge],
434node[barrier=wall],
435node[barrier=guard_rail],
436node[barrier=cable_barrier],
437node[barrier=city_wall],
438node[barrier=retaining_wall],
439node[barrier=ditch] {
440 icon-image: "presets/misc/deprecated.svg";
441 set icon_z17;
442}
443node[barrier=kerb] {
444 icon-image: "presets/barrier/kerb.svg";
445 set icon_z17;
446}
447node[barrier=block] {
448 icon-image: "presets/barrier/block.svg";
449 set icon_z17;
450}
451node[barrier=chain] {
452 icon-image: "presets/barrier/chain.svg";
453 set icon_z17;
454}
455node[barrier=stile] {
456 icon-image: "presets/barrier/stile.svg";
457 set icon_z17;
458}
459node[barrier=turnstile] {
460 icon-image: "presets/barrier/turnstile.svg";
461 set icon_z17;
462}
463node[barrier=cycle_barrier] {
464 icon-image: "presets/barrier/cycle_barrier.svg";
465 set icon_z17;
466}
467node[barrier=lift_gate] {
468 icon-image: "presets/barrier/lift_gate.svg";
469 set icon_z17;
470}
471node[barrier=swing_gate] {
472 icon-image: "presets/barrier/swing_gate.svg";
473 set icon_z17;
474}
475area[barrier=toll_booth]:closed {
476 fill-color: barrier#F0F050;
477}
478node[barrier=toll_booth] {
479 icon-image: "presets/barrier/toll_station.svg";
480 set icon_z17;
481}
482node[barrier=entrance] {
483 icon-image: "presets/barrier/entrance.svg";
484 set icon_z17;
485}
486node[barrier=cattle_grid] {
487 icon-image: "presets/barrier/cattle_grid.svg";
488 set icon_z17;
489}
490node[barrier=border_control] {
491 icon-image: "presets/barrier/douane.svg";
492 set icon_z17;
493}
494node[barrier=sally_port] {
495 icon-image: "presets/barrier/sally_port.svg";
496 set icon_z17;
497}
498node[barrier=spikes] {
499 icon-image: "presets/barrier/spikes.svg";
500 set icon_z17;
501}
502node[barrier=jersey_barrier] {
503 icon-image: "presets/barrier/jersey_barrier.svg";
504 set icon_z17;
505}
506node[barrier=kissing_gate] {
507 icon-image: "presets/barrier/kissing_gate.svg";
508 set icon_z17;
509}
510node[barrier=bus_trap] {
511 icon-image: "presets/barrier/bus_trap.svg";
512 set icon_z17;
513}
514node[barrier=bump_gate][!is_prop_set(icon-image)],
515node[barrier=hampshire_gate][!is_prop_set(icon-image)] {
516 icon-image: "presets/misc/no_icon.svg";
517 set icon_z17;
518}
519
520/****************/
521/* highway tags */
522/****************/
523
524way[motorroad=yes]::core_motorroad {
525 major-z-index: 2;
526 z-index: -1;
527 width: +4;
528 color: motorroad#3377ff;
529}
530way[highway=motorway] {
531 width: 3;
532 z-index: 0.13; /* #15483 */
533 color: motorway#809bc0;
534}
535way[highway=motorway_link] {
536 width: 3;
537 z-index: 0.12;
538 color: motorway#809bc0;
539}
540way[highway=trunk] {
541 width: 3;
542 z-index: 0.11;
543 color: trunk#7fc97f;
544}
545way[highway=trunk_link] {
546 width: 3;
547 z-index: 0.10;
548 color: trunk#7fc97f;
549}
550way[highway=primary] {
551 width: 3;
552 z-index: 0.09;
553 color: primary#fb805f;
554}
555way[highway=primary_link] {
556 width: 3;
557 z-index: 0.08;
558 color: primary#fb805f;
559}
560way[highway=secondary] {
561 width: 3;
562 z-index: 0.07;
563 color: secondary#fdbf6f;
564}
565way[highway=secondary_link] {
566 width: 3;
567 z-index: 0.06;
568 color: secondary#fdbf6f;
569}
570way[highway=tertiary] {
571 width: 2;
572 z-index: 0.05;
573 color: tertiary#f7f496;
574}
575way[highway=tertiary_link] {
576 width: 2;
577 z-index: 0.04;
578 color: tertiary#f7f496;
579}
580way[highway=unclassified] {
581 width: 2;
582 z-index: 0.03;
583 color: street#c0c0c0;
584}
585way[highway=escape] {
586 width: 3;
587 color: street#c0c0c0;
588 dashes: 3,3;
589}
590way[highway=road] {
591 width: 2;
592 casing-width: 0.5;
593 casing-color: #ff9696;
594 color: highway_road#770000;
595}
596way[highway=track][area?], relation[type=multipolygon][highway=track] {
597 fill-color: highway_track#6e541c;
598}
599way[highway=track] {
600 width: 2;
601 color: highway_track#6e541c;
602}
603way[highway=residential] {
604 width: 2;
605 z-index: 0.02;
606 color: street#c0c0c0;
607}
608way[highway=living_street] {
609 width: 2;
610 z-index: 0.01;
611 dashes: 9,9;
612 dashes-background-color: livingdashed#00ff00;
613 color: street#c0c0c0;
614}
615way[highway=service][area?], relation[type=multipolygon][highway=service] {
616 fill-color: service#809bc0;
617}
618way[highway=service][!area?] {
619 width: 1;
620 color: service#809bc0;
621}
622way[highway=busway] {
623 width: 2;
624 color: bus#89cbeb;
625}
626way[highway=bridleway] {
627 width: 1;
628 color: horse#a18559;
629}
630way[highway=cycleway] {
631 width: 1;
632 color: bicycle#b100ff;
633}
634way[highway=footway][area?], relation[type=multipolygon][highway=footway] {
635 fill-color: foot#00ff00;
636}
637way[highway=footway][!area?] {
638 width: 1;
639 color: foot#00ff00;
640}
641way[highway=path][bicycle!=designated][bicycle!=official][foot!=designated][foot!=official] {
642 width: 1;
643 dashes: 9,9;
644 color: foot#00ff00;
645}
646/* display path with bicycle/foot=designated/official as if it was cycleway/footway */
647way[highway=path][bicycle=designated],
648way[highway=path][bicycle=official] {
649 width: 1;
650 color: bicycle#b100ff;
651 set cyclecolor;
652}
653way[highway=path][foot=designated],
654way[highway=path][foot=official] {
655 width: 1;
656 color: foot#00ff00;
657}
658way[highway=path][bicycle=designated][foot=designated],
659way[highway=path][bicycle=official][foot=official],
660way[highway=cycleway][foot=designated] {
661 width: 1;
662 color: bicycle#b100ff;
663 set cyclecolor;
664 dashes: 14,14;
665 dashes-background-color: foot#00ff00;
666}
667way[highway=footway][bicycle=designated] {
668 width: 1;
669 color: foot#00ff00;
670 dashes: 14,14;
671 dashes-background-color: bicycle#b100ff;
672}
673way[highway=cycleway][foot=yes],
674way[highway=path][bicycle=designated][foot=yes],
675way[highway=path][bicycle=official][foot=yes] {
676 width: 1;
677 color: bicycle#b100ff;
678 set cyclecolor;
679 dashes: 21,7;
680 dashes-background-color: foot#00ff00;
681}
682way[highway=footway][bicycle=yes],
683way[highway=path][bicycle=yes][foot=designated],
684way[highway=path][bicycle=yes][foot=official] {
685 width: 1;
686 color: foot#00ff00;
687 dashes: 21,7;
688 dashes-background-color: bicycle#b100ff;
689}
690way[highway=pedestrian][area?], relation[type=multipolygon][highway=pedestrian] {
691 width: 3;
692 color: foot#00ff00;
693 fill-color: foot#00ff00;
694}
695way[highway=pedestrian] {
696 width: 3;
697 color: foot#00ff00;
698}
699way[highway=steps] {
700 width: 3;
701 color: foot#00ff00;
702 dashes: 2,2;
703}
704way[highway=bus_guideway] {
705 width: 1;
706 color: rail#404040;
707 dashes: 9,9;
708}
709way[highway=raceway] {
710 width: 1;
711 color: raceway#ff80ff;
712}
713way[highway=raceway][area?], relation[type=multipolygon][highway=raceway] {
714 fill-color: raceway#ff80ff;
715}
716area[junction=yes] {
717 fill-color: junction#c0c0c0;
718}
719node[junction=yes] {
720 icon-image: "presets/vehicle/junction.svg";
721 set icon_z17;
722}
723node[highway=traffic_mirror] {
724 icon-image: "presets/vehicle/traffic_mirror.svg";
725 set icon_z17;
726}
727node[highway=milestone] {
728 icon-image: "presets/vehicle/milestone.svg";
729 set icon_z17;
730}
731node[highway=mini_roundabout] {
732 icon-image: "presets/vehicle/restriction/mini_roundabout_left.svg";
733 set icon_z17;
734}
735node:righthandtraffic[highway=mini_roundabout] {
736 icon-image: "presets/vehicle/restriction/mini_roundabout_right.svg";
737 set icon_z17;
738}
739node[highway=stop] {
740 icon-image: "presets/vehicle/restriction/stop.svg";
741 set icon_z17;
742}
743node[highway=give_way] {
744 icon-image: "presets/vehicle/restriction/give_way.svg";
745 set icon_z17;
746}
747node[cycleway=asl] {
748 icon-image: "presets/vehicle/asl.svg";
749 set icon_z17;
750}
751node[highway=traffic_signals] {
752 icon-image: "presets/vehicle/traffic_signals.svg";
753 set icon_z17;
754}
755node[highway=traffic_signals][crossing][crossing!=no] {
756 icon-image: "presets/vehicle/traffic_signals_crossing.svg";
757 set icon_z17;
758}
759node[highway=traffic_signals][crossing:island=yes] {
760 icon-image: "presets/vehicle/traffic_signals_crossing_island.svg";
761 set icon_z17;
762}
763node[highway=traffic_signals][crossing_ref=zebra] {
764 icon-image: "presets/vehicle/traffic_signals_crossing_ref_zebra.svg";
765 set icon_z17;
766}
767node[highway=traffic_signals][crossing=traffic_signals] {
768 icon-image: "presets/vehicle/traffic_signals_crossing_traffic_signals.svg";
769 set icon_z17;
770}
771node[highway=street_lamp] {
772 icon-image: "presets/misc/streetlamp.svg";
773 set icon_z17;
774}
775node[highway=speed_camera] {
776 icon-image: "presets/vehicle/restriction/speed_camera.svg";
777 set icon_z17;
778}
779relation[type=enforcement] >[role="device"] node {
780 icon-image: "presets/vehicle/restriction/speed_camera.svg";
781 set icon_z17;
782}
783node[highway=toll_gantry] {
784 icon-image: "presets/vehicle/restriction/toll_gantry.svg";
785 set icon_z17;
786}
787node[traffic_sign=city_limit] {
788 icon-image: "presets/vehicle/restriction/city_limit.svg";
789 set icon_z17;
790}
791node[highway=crossing][crossing!=no] {
792 icon-image: "presets/vehicle/crossing.svg";
793 set icon_z17;
794}
795node[highway=crossing][crossing:island=yes] {
796 icon-image: "presets/vehicle/crossing_island.svg";
797 set icon_z17;
798}
799node[highway=crossing][crossing=unmarked] {
800 icon-image: "presets/vehicle/crossing_unmarked.svg";
801 set icon_z17;
802}
803node[highway=crossing][crossing_ref=zebra] {
804 icon-image: "presets/vehicle/crossing_ref_zebra.svg";
805 set icon_z17;
806}
807node[highway=crossing][crossing=traffic_signals] {
808 icon-image: "presets/vehicle/crossing_traffic_signals.svg";
809 set icon_z17;
810}
811node[highway=motorway_junction] {
812 icon-image: "presets/vehicle/motorway_junction.svg";
813 set icon_z17;
814 text: eval(cond(has_tag_key(ref), concat(tag(name), " (", tag(ref), ")"), tag(name)));
815}
816area[highway=services] {
817 fill-color: services#c0c0c0;
818}
819node[highway=services] {
820 icon-image: "presets/vehicle/services.svg";
821 set icon_z17;
822}
823area[highway=rest_area] {
824 fill-color: services#c0c0c0;
825}
826node[highway=rest_area] {
827 icon-image: "presets/vehicle/rest_area.svg";
828 set icon_z17;
829}
830node[ford=stepping_stones],
831node[ford?] {
832 icon-image: "presets/vehicle/ford.svg";
833 set icon_z17;
834}
835way[ford=stepping_stones]::core_ford,
836way[ford?]::core_ford {
837 z-index: 1;
838 width: 2;
839 color: water#0000ff;
840 dashes: 9,9;
841 dashes-offset: 9;
842}
843node[hazard] {
844 icon-image: "presets/transport/hazard.svg";
845 set icon_z17;
846}
847area[highway=platform]:closed {
848 fill-color: highway_platform#c0c0c0;
849}
850way[highway=platform] {
851 width: 2;
852 color: highway_platform#c0c0c0;
853}
854node[highway=turning_circle] {
855 icon-image: "presets/vehicle/turning_circle.svg";
856 set icon_z17;
857}
858node[highway=turning_loop] {
859 icon-image: "presets/vehicle/turning_loop.svg";
860 set icon_z17;
861}
862node[highway=passing_place] {
863 icon-image: "presets/vehicle/passing_place.svg";
864 set icon_z17;
865}
866area[highway=elevator] {
867 fill-color: elevator#a6bace;
868}
869node[highway=elevator] {
870 icon-image: "presets/service/elevator.svg";
871 set icon_z17;
872}
873way[highway=construction] {
874 width: 2;
875 color: construction#ffff00;
876 dashes: 9,9;
877}
878node[highway=construction] {
879 icon-image: "presets/misc/construction.svg";
880 set icon_z17;
881}
882area[highway=emergency_access_point] {
883 fill-color: emergency_access_point#c0c0c0;
884}
885node[highway=emergency_access_point] {
886 icon-image: "presets/service/emergency_access_point.svg";
887 set icon_z17;
888}
889node[highway=motorway], node[highway=motorway_link],
890node[highway=trunk], node[highway=trunk_link],
891node[highway=primary], node[highway=primary_link],
892node[highway=secondary], node[highway=secondary_link],
893node[highway=tertiary], node[highway=tertiary_link],
894node[highway=unclassified],
895node[highway=road],
896node[highway=unsurfaced],
897node[highway=track],
898node[highway=residential],
899node[highway=living_street],
900node[highway=service],
901node[highway=bridleway],
902node[highway=cycleway],
903node[highway=footway],
904node[highway=path],
905node[highway=pedestrian],
906node[highway=bus_guideway],
907node[highway=busway],
908node[highway=platform] {
909 icon-image: "presets/misc/deprecated.svg";
910 set icon_z17;
911}
912
913/************************/
914/* traffic_calming tags */
915/************************/
916
917node[traffic_calming] {
918 icon-image: "presets/vehicle/traffic_calming.svg";
919 set icon_z17;
920}
921node[traffic_calming=chicane] {
922 icon-image: "presets/vehicle/chicane.svg";
923 set icon_z17;
924}
925node[traffic_calming=choker] {
926 icon-image: "presets/vehicle/choker.svg";
927 set icon_z17;
928}
929node[traffic_calming=island] {
930 icon-image: "presets/vehicle/island.svg";
931 set icon_z17;
932}
933node[traffic_calming=bump] {
934 icon-image: "presets/vehicle/bump.svg";
935 set icon_z17;
936}
937node[traffic_calming=hump] {
938 icon-image: "presets/vehicle/hump.svg";
939 set icon_z17;
940}
941node[traffic_calming=table] {
942 icon-image: "presets/vehicle/table.svg";
943 set icon_z17;
944}
945node[traffic_calming=cushion] {
946 icon-image: "presets/vehicle/cushion.svg";
947 set icon_z17;
948}
949node[traffic_calming=rumble_strip] {
950 icon-image: "presets/vehicle/rumble_strip.svg";
951 set icon_z17;
952}
953node[traffic_calming=dip] {
954 icon-image: "presets/vehicle/dip.svg";
955 set icon_z17;
956}
957node[traffic_calming=mini_bumps] {
958 icon-image: "presets/vehicle/mini_bumps.svg";
959 set icon_z17;
960}
961/****************/
962/* junction tag */
963/****************/
964
965node[junction=roundabout] {
966 icon-image: "presets/vehicle/restriction/roundabout_left.svg";
967 set icon_z17;
968}
969node:righthandtraffic[junction=roundabout] {
970 icon-image: "presets/vehicle/restriction/roundabout_right.svg";
971 set icon_z17;
972}
973
974/*****************/
975/* cycleway tags */
976/*****************/
977
978 /* prepare lane */
979way[oneway?][cycleway=lane]:righthandtraffic::core_cycleway,
980way[oneway=-1][cycleway=opposite_lane]:righthandtraffic::core_cycleway {
981 set laneRight;
982 set righthandtr;
983}
984way[oneway?][cycleway=opposite_lane]:righthandtraffic::core_cycleway,
985way[oneway=-1][cycleway=lane]:righthandtraffic::core_cycleway {
986 set laneLeft;
987 set righthandtr;
988}
989way[oneway?][cycleway=lane]!.righthandtr::core_cycleway,
990way[oneway=-1][cycleway=opposite_lane]!.righthandtr::core_cycleway {
991 set laneLeft;
992}
993way[oneway?][cycleway=opposite_lane]!.righthandtr::core_cycleway,
994way[oneway=-1][cycleway=lane]!.righthandtr::core_cycleway {
995 set laneRight;
996}
997way[cycleway:left=lane]::core_cycleway {
998 set laneLeft;
999}
1000way[cycleway:right=lane]::core_cycleway {
1001 set laneRight;
1002}
1003way[oneway=no][cycleway=lane]::core_cycleway,
1004way[!oneway][cycleway=lane]::core_cycleway {
1005 set laneLeft;
1006 set laneRight;
1007}
1008
1009 /* prepare shared_lane */
1010way[oneway?][cycleway=shared_lane]:righthandtraffic::core_cycleway {
1011 set shared_laneRight;
1012 set righthandtr;
1013}
1014way[oneway=-1][cycleway=shared_lane]:righthandtraffic::core_cycleway {
1015 set shared_laneLeft;
1016 set righthandtr;
1017}
1018way[oneway?][cycleway=shared_lane]!.righthandtr::core_cycleway {
1019 set shared_laneLeft;
1020}
1021way[oneway=-1][cycleway=shared_lane]!.righthandtr::core_cycleway {
1022 set shared_laneRight;
1023}
1024way[cycleway:left=shared_lane]::core_cycleway {
1025 set shared_laneLeft;
1026}
1027way[cycleway:right=shared_lane]::core_cycleway {
1028 set shared_laneRight;
1029}
1030way[oneway=no][cycleway=shared_lane]::core_cycleway,
1031way[!oneway][cycleway=shared_lane]::core_cycleway {
1032 set shared_laneLeft;
1033 set shared_laneRight;
1034}
1035
1036 /* prepare track */
1037way[oneway?][cycleway=track]:righthandtraffic::core_cycleway,
1038way[oneway=-1][cycleway=opposite_track]:righthandtraffic::core_cycleway {
1039 set trackRight;
1040 set righthandtr;
1041}
1042way[oneway?][cycleway=opposite_track]:righthandtraffic::core_cycleway,
1043way[oneway=-1][cycleway=track]:righthandtraffic::core_cycleway {
1044 set trackLeft;
1045 set righthandtr;
1046}
1047way[oneway?][cycleway=track]!.righthandtr::core_cycleway,
1048way[oneway=-1][cycleway=opposite_track]!.righthandtr::core_cycleway {
1049 set trackLeft;
1050}
1051way[oneway?][cycleway=opposite_track]!.righthandtr::core_cycleway,
1052way[oneway=-1][cycleway=track]!.righthandtr::core_cycleway {
1053 set trackRight;
1054}
1055way[cycleway:left=track]::core_cycleway {
1056 set trackLeft;
1057}
1058way[cycleway:right=track]::core_cycleway {
1059 set trackRight;
1060}
1061way[oneway=no][cycleway=track]::core_cycleway,
1062way[!oneway][cycleway=track]::core_cycleway {
1063 set trackLeft;
1064 set trackRight;
1065}
1066
1067 /* render lane */
1068way.laneRight::core_cycleway {
1069 width: 2;
1070 color: bicycle#b100ff;
1071 dashes: 6, 10;
1072 offset: 0 - (prop("width", "default") / 2) - 2;
1073 major-z-index: 2.1;
1074 modifier: true;
1075}
1076way[prop("laneLeft","core_cycleway")]::core_cycleway2 {
1077 width: 2;
1078 color: bicycle#b100ff;
1079 dashes: 6, 10;
1080 offset: (prop("width", "default") / 2) + 2;
1081 major-z-index: 2.1;
1082 modifier: true;
1083}
1084 /* render shared_lane */
1085way.shared_laneRight::core_cycleway {
1086 width: 2;
1087 color: bicycle#b100ff;
1088 dashes: 6, 3;
1089 offset: 0 - (prop("width", "default") / 2) - 2;
1090 major-z-index: 2.1;
1091 modifier: true;
1092}
1093way[prop("shared_laneLeft","core_cycleway")]::core_cycleway2 {
1094 width: 2;
1095 color: bicycle#b100ff;
1096 dashes: 6, 3;
1097 offset: (prop("width", "default") / 2) + 2;
1098 major-z-index: 2.1;
1099 modifier: true;
1100}
1101 /* render track */
1102way.trackRight::core_cycleway {
1103 width: 2;
1104 color: bicycle#b100ff;
1105 dashes: 25, 8;
1106 offset: 0 - (prop("width", "default") / 2) - 2;
1107 major-z-index: 2.1;
1108 modifier: true;
1109}
1110way[prop("trackLeft","core_cycleway")]::core_cycleway2 {
1111 width: 2;
1112 color: bicycle#b100ff;
1113 dashes: 25, 8;
1114 offset: (prop("width", "default") / 2) + 2;
1115 major-z-index: 2.1;
1116 modifier: true;
1117}
1118 /* render opposite */
1119way[oneway:bicycle=no][oneway][oneway!=no]::core_cycleway,
1120way[cycleway=opposite][oneway][oneway!=no]::core_cycleway {
1121 z-index: 1;
1122 width: +0;
1123 color: bicycle#b100ff;
1124 dashes: 4,10;
1125}
1126node[cycleway=lane ], node[cycleway=opposite_lane ],
1127node[cycleway=track], node[cycleway=opposite_track],
1128node[cycleway=opposite] {
1129 icon-image: "presets/misc/deprecated.svg";
1130 set icon_z17;
1131}
1132
1133/******************/
1134/* tracktype tags */
1135/******************/
1136
1137way[highway=track][tracktype=grade1] {
1138 dashes: 8,1;
1139}
1140way[highway=track][tracktype=grade2] {
1141 dashes: 6,2;
1142}
1143way[highway=track][tracktype=grade3] {
1144 dashes: 4,3;
1145}
1146way[highway=track][tracktype=grade4] {
1147 dashes: 4,5;
1148}
1149way[highway=track][tracktype=grade5] {
1150 dashes: 4,7;
1151}
1152
1153/**************/
1154/* piste tags */
1155/**************/
1156
1157way[route=ski]::core_piste {
1158 z-index: -1;
1159 modifier: false;
1160 width: 6;
1161 color: ski#809bc0;
1162}
1163area[piste:difficulty=easy][!highway][area=yes]::core_piste {
1164 fill-color: piste_easy#0000ff;
1165}
1166way[piste:difficulty=easy]::core_piste {
1167 z-index: -1; /* below line style from highway=* tag */
1168 modifier: false; /* suppress default line if there is no style on default layer */
1169 width: 6;
1170 color: piste_easy#0000ff;
1171}
1172area[piste:difficulty=intermediate][!highway][area=yes]::core_piste {
1173 fill-color: piste_intermediate#ff0000;
1174}
1175way[piste:difficulty=intermediate]::core_piste {
1176 z-index: -1;
1177 modifier: false;
1178 width: 6;
1179 color: piste_intermediate#ff0000;
1180}
1181area[piste:difficulty=advanced][!highway][area=yes]::core_piste {
1182 fill-color: piste_advanced#606060;
1183}
1184way[piste:difficulty=advanced]::core_piste {
1185 z-index: -1;
1186 modifier: false;
1187 width: 6;
1188 color: piste_advanced#606060;
1189}
1190area[piste:difficulty=expert][!highway][area=yes]::core_piste {
1191 fill-color: piste_expert#606060;
1192}
1193way[piste:difficulty=expert]::core_piste {
1194 z-index: -1;
1195 modifier: false;
1196 width: 6;
1197 color: piste_expert#606060;
1198}
1199area[piste:difficulty=freeride][!highway][area=yes]::core_piste {
1200 fill-color: piste_freeride#ffff00;
1201}
1202way[piste:difficulty=freeride]::core_piste {
1203 z-index: -1;
1204 modifier: false;
1205 width: 6;
1206 color: piste_freeride#ffff00;
1207}
1208area[piste:difficulty=novice][!highway][area=yes]::core_piste {
1209 fill-color: piste_novice#00ff00;
1210}
1211way[piste:difficulty=novice]::core_piste {
1212 z-index: -1;
1213 modifier: false;
1214 width: 6;
1215 color: piste_novice#00ff00;
1216}
1217node[piste:type=downhill],
1218node[piste:type=nordic],
1219node[piste:type=skitour],
1220node[piste:type=sled],
1221node[piste:type=sleigh],
1222node[piste:type=snow_park] {
1223 icon-image: "presets/sport/skiing.svg";
1224 set icon_z17;
1225}
1226
1227/**************/
1228/* power tags */
1229/**************/
1230
1231node[power=portal] {
1232 icon-image: "presets/power/portal.svg";
1233 set icon_z17;
1234}
1235node[power=tower] {
1236 icon-image: "presets/power/tower.svg";
1237 set icon_z17;
1238}
1239node[power=pole] {
1240 icon-image: "presets/power/pole.svg";
1241 set icon_z17;
1242}
1243node[power=pole][switch] {
1244 icon-image: "presets/power/pole_switch.svg";
1245 set icon_z17;
1246}
1247node[power=pole][transformer=distribution] {
1248 icon-image: "presets/power/pole_transformer.svg";
1249 set icon_z17;
1250}
1251node[power=catenary_mast] {
1252 icon-image: "presets/power/catenary_mast.svg";
1253 set icon_z17;
1254}
1255node[power=insulator] {
1256 icon-image: "presets/power/insulator.svg";
1257 set icon_z17;
1258}
1259way[power=portal],
1260way[power=line],
1261way[power=minor_line] {
1262 width: 1;
1263 color: power#eeeeee;
1264}
1265way[power=cable] {
1266 width: 1;
1267 color: power#eeeeee;
1268 dashes: 9,9;
1269}
1270node[power=plant],
1271node[power=sub_station],
1272node[power=line],
1273node[power=cable],
1274node[power=minor_line] {
1275 icon-image: "presets/misc/deprecated.svg";
1276 set icon_z17;
1277}
1278area[power=plant],
1279area[power=substation],
1280area[power=compensator],
1281area[power=converter],
1282area[power=switchgear],
1283area[power=generator],
1284area[man_made=street_cabinet][street_cabinet=power] {
1285 fill-color: power#eeeeee;
1286}
1287node[man_made=street_cabinet][street_cabinet=power] {
1288 icon-image: "presets/power/cable_distribution_cabinet.svg";
1289 set icon_z17;
1290}
1291node[power=generator] {
1292 icon-image: "presets/power/generator.svg";
1293 set icon_z17;
1294}
1295node[power=heliostat] {
1296 icon-image: "presets/power/heliostat.svg";
1297 set icon_z17;
1298}
1299node[power=substation] {
1300 icon-image: "presets/power/substation.svg";
1301 set icon_z17;
1302}
1303node[power=transformer] {
1304 icon-image: "presets/power/transformer.svg";
1305 set icon_z17;
1306}
1307node[power=terminal] {
1308 icon-image: "presets/power/terminal.svg";
1309 set icon_z17;
1310}
1311node[power=switch] {
1312 icon-image: "presets/power/switch.svg";
1313 set icon_z17;
1314}
1315node[power=converter] {
1316 icon-image: "presets/power/converter.svg";
1317 set icon_z17;
1318}
1319node[power=compensator] {
1320 icon-image: "presets/power/compensator.svg";
1321 set icon_z17;
1322}
1323
1324
1325/*************************/
1326/* generator:source tags */
1327/*************************/
1328
1329area[generator:source=nuclear],
1330area[generator:source=wind],
1331area[generator:source=hydro],
1332area[generator:source=tidal],
1333area[generator:source=wave],
1334area[generator:source=osmotic],
1335area[generator:source=geothermal],
1336area[generator:source=solar],
1337area[generator:source=coal],
1338area[generator:source=gas],
1339area[generator:source=biomass],
1340area[generator:source=biofuel],
1341area[generator:source=biogas],
1342area[generator:source=oil],
1343area[generator:source=diesel],
1344area[generator:source=gasoline],
1345area[generator:source=waste] {
1346 fill-color: power#eeeeee;
1347}
1348node[generator:source=nuclear] {
1349 icon-image: "presets/power/power_source-nuclear.svg";
1350 set icon_z17;
1351}
1352node[generator:source=wind] {
1353 icon-image: "presets/power/power_source-wind.svg";
1354 set icon_z17;
1355}
1356node[generator:source=hydro],
1357node[generator:source=tidal],
1358node[generator:source=wave],
1359node[generator:source=osmotic] {
1360 icon-image: "presets/power/power_source-water.svg";
1361 set icon_z17;
1362}
1363node[generator:source=geothermal] {
1364 icon-image: "presets/power/power_source-geothermal.svg";
1365 set icon_z17;
1366}
1367node[generator:source=solar] {
1368 icon-image: "presets/power/power_source-sun.svg";
1369 set icon_z17;
1370}
1371node[generator:source=coal] {
1372 icon-image: "presets/power/power_source-coal.svg";
1373 set icon_z17;
1374}
1375node[generator:source=gas] {
1376 icon-image: "presets/power/power_source-gas.svg";
1377 set icon_z17;
1378}
1379node[generator:source=biomass],
1380node[generator:source=biofuel],
1381node[generator:source=biogas] {
1382 icon-image: "presets/power/power_source-biofuel.svg";
1383 set icon_z17;
1384}
1385node[generator:source=oil],
1386node[generator:source=diesel],
1387node[generator:source=gasoline] {
1388 icon-image: "presets/power/power_source-oil.svg";
1389 set icon_z17;
1390}
1391node[generator:source=waste] {
1392 icon-image: "presets/power/power_source-waste.svg";
1393 set icon_z17;
1394}
1395node[power_source] {
1396 icon-image: "presets/misc/deprecated.svg";
1397 set icon_z17;
1398}
1399/*****************/
1400/* man_made tags */
1401/*****************/
1402
1403area[man_made=street_cabinet][street_cabinet!=power], /* power street cabinet has own style above */
1404area[man_made=beacon],
1405area[man_made=bridge],
1406area[bridge:support],
1407area[man_made=chimney],
1408area[man_made=kiln],
1409area[man_made=gasometer],
1410area[man_made=silo],
1411area[man_made=storage_tank],
1412area[man_made=bunker_silo],
1413area[man_made=lighthouse],
1414area[man_made=monitoring_station],
1415area[man_made=pumping_station],
1416area[man_made=mineshaft] {
1417 fill-color: manmade#d8d8d8;
1418}
1419node[man_made=street_cabinet][street_cabinet!=power] {
1420 icon-image: "presets/misc/street_cabinet.svg";
1421 set icon_z17;
1422}
1423node[man_made=beacon] {
1424 icon-image: "presets/landmark/beacon.svg";
1425 set icon_z17;
1426}
1427node[man_made=bridge] {
1428 icon-image: "presets/misc/deprecated.svg";
1429 set icon_z17;
1430}
1431node[bridge:support] {
1432 icon-image: "presets/transport/bridge/bridge_support.svg";
1433 set icon_z17;
1434}
1435node[man_made=chimney] {
1436 icon-image: "presets/landmark/chimney.svg";
1437 set icon_z17;
1438}
1439node[man_made=kiln] {
1440 icon-image: "presets/misc/kiln.svg";
1441 set icon_z17;
1442}
1443node[man_made=flagpole] {
1444 icon-image: "presets/misc/flag.svg";
1445 set icon_z17;
1446}
1447node[man_made=cross] {
1448 icon-image: "presets/landmark/cross.svg";
1449 set icon_z17;
1450}
1451node[man_made=gasometer] {
1452 icon-image: "presets/landmark/gasometer.svg";
1453 set icon_z17;
1454}
1455node[man_made=silo] {
1456 icon-image: "presets/landmark/silo.svg";
1457 set icon_z17;
1458}
1459node[man_made=storage_tank] {
1460 icon-image: "presets/landmark/storage_tank.svg";
1461 set icon_z17;
1462}
1463node[man_made=bunker_silo] {
1464 icon-image: "presets/landmark/bunker_silo.svg";
1465 set icon_z17;
1466}
1467area[man_made=groyne]:closed {
1468 fill-color: manmade#d8d8d8;
1469}
1470way[man_made=groyne] {
1471 width: 2;
1472 color: manmade#d8d8d8;
1473}
1474area[man_made=breakwater]:closed {
1475 fill-color: manmade#d8d8d8;
1476}
1477way[man_made=breakwater] {
1478 width: 2;
1479 color: manmade#d8d8d8;
1480}
1481way[man_made=dyke]::man_made_dyke {
1482 width: 4;
1483 color: dyke#0aa846;
1484 z-index: -2;
1485 object-z-index: -1; /* below highway=* */
1486 modifier: false; /* don't draw default way if there is no line on default layer */
1487}
1488node[man_made=lighthouse] {
1489 icon-image: "presets/landmark/lighthouse.svg";
1490 set icon_z17;
1491}
1492node[man_made=monitoring_station] {
1493 icon-image: "presets/misc/monitoring_station.svg";
1494 set icon_z17;
1495}
1496node[man_made=pumping_station] {
1497 icon-image: "presets/misc/pumping_station.svg";
1498 set icon_z17;
1499}
1500node[man_made=mineshaft] {
1501 icon-image: "presets/landmark/mine.svg";
1502 set icon_z17;
1503}
1504area[man_made=crane]:closed {
1505 fill-color: manmade#d8d8d8;
1506}
1507way[man_made=crane] {
1508 width: 2;
1509 color: manmade#d8d8d8;
1510}
1511node[man_made=crane] {
1512 icon-image: "presets/landmark/crane.svg";
1513 set icon_z17;
1514}
1515way[man_made=goods_conveyor] {
1516 width: 2;
1517 color: manmade#d8d8d8;
1518}
1519node[man_made=adit] {
1520 icon-image: "presets/landmark/adit.svg";
1521 set icon_z17;
1522}
1523area[man_made=pier]:closed {
1524 fill-color: pier#660000;
1525}
1526way[man_made=pier] {
1527 width: 2;
1528 color: pier#660000;
1529}
1530node[man_made=pier] {
1531 icon-image: "presets/nautical/pier.svg";
1532 set icon_z17;
1533}
1534way[embankment?][!highway][!railway][!waterway],
1535way[man_made=embankment][!highway][!railway][!waterway] {
1536 repeat-image: "presets/misc/embankment-pattern.svg";
1537 repeat-image-align: top;
1538 repeat-image-offset: 0.5;
1539 width: 1;
1540 color: embankment#c14d00;
1541}
1542way[embankment?][highway],
1543way[embankment?][railway],
1544way[embankment?][waterway] {
1545 repeat-image: "presets/misc/embankment-pattern-centered.svg";
1546 repeat-image-offset: 0.5;
1547}
1548way[man_made=embankment][highway],
1549way[man_made=embankment][railway],
1550way[man_made=embankment][waterway] {
1551 repeat-image: "presets/misc/embankment-pattern.svg";
1552 repeat-image-align: top;
1553 repeat-image-offset: -0.5;
1554}
1555way[man_made=pipeline][!waterway] {
1556 width: 2;
1557 color: pipeline#660000;
1558}
1559area[man_made=petroleum_well],
1560area[man_made=pump],
1561area[pipeline=substation] {
1562 fill-color: pipeline_substation#eeeeee;
1563}
1564node[pipeline=substation] {
1565 icon-image: "presets/misc/pipeline_substation.svg";
1566 set icon_z17;
1567}
1568node[marker] {
1569 icon-image: "presets/misc/pipeline_marker.svg";
1570 set icon_z17;
1571}
1572node[pipeline=valve] {
1573 icon-image: "presets/misc/valve.svg";
1574 set icon_z17;
1575}
1576node[man_made=manhole] {
1577 icon-image: "presets/misc/manhole.svg";
1578 set icon_z17;
1579}
1580node[man_made=petroleum_well] {
1581 icon-image: "presets/landmark/petroleum_well.svg";
1582 set icon_z17;
1583}
1584node[man_made=petroleum_well][substance=gas] {
1585 icon-image: "presets/landmark/gas_well.svg";
1586 set icon_z17;
1587}
1588node[man_made=petroleum_well][substance=oil] {
1589 icon-image: "presets/landmark/oil_well.svg";
1590 set icon_z17;
1591}
1592node[man_made=petroleum_well][mechanical_coupling=nodding_donkey] {
1593 icon-image: "presets/landmark/well_donkey.svg";
1594 set icon_z17;
1595}
1596node[man_made=petroleum_well][mechanical_coupling=nodding_donkey][substance=gas] {
1597 icon-image: "presets/landmark/gas_well_donkey.svg";
1598 set icon_z17;
1599}
1600node[man_made=petroleum_well][mechanical_coupling=nodding_donkey][substance=oil] {
1601 icon-image: "presets/landmark/oil_well_donkey.svg";
1602 set icon_z17;
1603}
1604node[man_made=pump] {
1605 icon-image: "presets/landmark/pump.svg";
1606 set icon_z17;
1607}
1608node[man_made=pump][substance=gas] {
1609 icon-image: "presets/landmark/pump_gas.svg";
1610 set icon_z17;
1611}
1612node[man_made=pump][substance=oil] {
1613 icon-image: "presets/landmark/pump_oil.svg";
1614 set icon_z17;
1615}
1616node[man_made=pump][substance=sewage] {
1617 icon-image: "presets/landmark/pump_sewage.svg";
1618 set icon_z17;
1619}
1620node[man_made=pump][substance=steam] {
1621 icon-image: "presets/landmark/pump_steam.svg";
1622 set icon_z17;
1623}
1624node[man_made=pump][substance=~/(^|_)?water$/] {
1625 icon-image: "presets/landmark/pump_water.svg";
1626 set icon_z17;
1627}
1628node[man_made=breakwater],
1629node[man_made=groyne],
1630node[man_made=embankment],
1631node[man_made=pumping_rig],
1632node[man_made=pipeline] {
1633 icon-image: "presets/misc/deprecated.svg";
1634 set icon_z17;
1635}
1636area[man_made=reservoir_covered],
1637area[man_made=wastewater_plant],
1638area[man_made=watermill],
1639area[man_made=water_well],
1640area[man_made=windmill],
1641area[man_made=windpump],
1642area[man_made=works],
1643area[man_made=water_works] {
1644 fill-color: manmade#d8d8d8;
1645}
1646node[man_made=reservoir_covered] {
1647 icon-image: "presets/landmark/reservoir_covered.svg";
1648 set icon_z17;
1649}
1650node[man_made=surveillance] {
1651 icon-image: "presets/service/surveillance.svg";
1652 set icon_z17;
1653}
1654node[man_made=survey_point] {
1655 icon-image: "presets/landmark/survey_point.svg";
1656 set icon_z17;
1657}
1658node[man_made=wastewater_plant] {
1659 icon-image: "presets/landmark/wastewater_plant.svg";
1660 set icon_z17;
1661}
1662node[man_made=watermill] {
1663 icon-image: "presets/landmark/watermill.svg";
1664 set icon_z17;
1665}
1666node[man_made=water_well] {
1667 icon-image: "presets/landmark/water_well.svg";
1668 set icon_z17;
1669}
1670node[man_made=water_well][mechanical_coupling=nodding_donkey] {
1671 icon-image: "presets/landmark/water_well_donkey.svg";
1672 set icon_z17;
1673}
1674node[man_made=windmill] {
1675 icon-image: "presets/landmark/windmill.svg";
1676 set icon_z17;
1677}
1678node[man_made=windpump] {
1679 icon-image: "presets/landmark/windpump.svg";
1680 set icon_z17;
1681}
1682node[man_made=windpump][substance=gas] {
1683 icon-image: "presets/landmark/windpump_gas.svg";
1684 set icon_z17;
1685}
1686node[man_made=windpump][substance=oil] {
1687 icon-image: "presets/landmark/windpump_oil.svg";
1688 set icon_z17;
1689}
1690node[man_made=windpump][substance=sewage] {
1691 icon-image: "presets/landmark/windpump_sewage.svg";
1692 set icon_z17;
1693}
1694node[man_made=windpump][substance=steam] {
1695 icon-image: "presets/landmark/windpump_steam.svg";
1696 set icon_z17;
1697}
1698node[man_made=works] {
1699 icon-image: "presets/landmark/works.svg";
1700 set icon_z17;
1701}
1702node[man_made=water_works] {
1703 icon-image: "presets/landmark/water_works.svg";
1704 set icon_z17;
1705}
1706way[man_made=cutline]::man_made_cutline {
1707 width: 4;
1708 color: cutline#bbff7c;
1709 z-index: -2;
1710 object-z-index: -1; /* below highway=* */
1711 modifier: false; /* don't draw default way if there is no line on default layer */
1712}
1713node[man_made=cutline] {
1714 icon-image: "presets/misc/deprecated.svg";
1715 set icon_z17;
1716}
1717
1718area[man_made=water_tower],
1719area[man_made=telescope],
1720area[man_made=antenna],
1721area[man_made=mast],
1722area[man_made=tower],
1723area[man_made=communications_tower] {
1724 fill-color: manmade#d8d8d8;
1725}
1726node[man_made=water_tower] {
1727 icon-image: "presets/tower/water_tower.svg";
1728 set icon_z17;
1729}
1730node[man_made=telescope] {
1731 icon-image: "presets/tower/telescope_dish.svg";
1732 set icon_z17;
1733}
1734node[man_made=telescope][telescope:type=optical] {
1735 icon-image: "presets/tower/telescope_dome.svg";
1736 set icon_z17;
1737}
1738node[man_made=antenna] {
1739 icon-image: "presets/tower/antenna.svg";
1740 set icon_z17;
1741}
1742node[man_made=mast] {
1743 icon-image: "presets/tower/mast.svg";
1744 set icon_z17;
1745}
1746node[man_made=mast][tower:type=communication] {
1747 icon-image: "presets/tower/mast_communication.svg";
1748 set icon_z17;
1749}
1750node[man_made=mast][tower:type=lighting] {
1751 icon-image: "presets/tower/mast_lighting.svg";
1752 set icon_z17;
1753}
1754node[man_made=tower] {
1755 icon-image: "presets/tower/tower.svg";
1756 set icon_z17;
1757}
1758node[man_made=tower][tower:type=bell_tower] {
1759 icon-image: "presets/tower/bell_tower.svg";
1760 set icon_z17;
1761}
1762node[man_made=tower][tower:type=communication] {
1763 icon-image: "presets/tower/communication.svg";
1764 set icon_z17;
1765}
1766node[man_made=tower][tower:type=cooling] {
1767 icon-image: "presets/tower/cooling.svg";
1768 set icon_z17;
1769}
1770node[man_made=tower][tower:type=defensive] {
1771 icon-image: "presets/tower/defensive.svg";
1772 set icon_z17;
1773}
1774node[man_made=tower][tower:type=lighting] {
1775 icon-image: "presets/tower/lighting.svg";
1776 set icon_z17;
1777}
1778node[man_made=tower][tower:type=observation] {
1779 icon-image: "presets/tower/observation.svg";
1780 set icon_z17;
1781}
1782node[man_made=tower][tower:type=watchtower] {
1783 icon-image: "presets/tower/observation.svg";
1784 set icon_z17;
1785}
1786node[man_made=communications_tower] {
1787 icon-image: "presets/tower/communications_tower.svg";
1788 set icon_z17;
1789}
1790
1791/****************/
1792/* telecom tags */
1793/****************/
1794
1795area[telecom=exchange],
1796area[telecom=connection_point],
1797area[telecom=service_device],
1798area[man_made=street_cabinet][street_cabinet=telecom] {
1799 fill-color: telecom#d8d8d8; /* same as man_made */
1800}
1801node[telecom=exchange] {
1802 icon-image: "presets/telecom/exchange.svg";
1803 set icon_z17;
1804}
1805node[telecom=connection_point] {
1806 icon-image: "presets/telecom/connection_point.svg";
1807 set icon_z17;
1808}
1809node[telecom=service_device] {
1810 icon-image: "presets/telecom/service_device.svg";
1811 set icon_z17;
1812}
1813node[man_made=street_cabinet][street_cabinet=telecom] {
1814 icon-image: "presets/telecom/telecom_cabinet.svg";
1815 set icon_z17;
1816}
1817
1818/***************/
1819/* office tags */
1820/***************/
1821
1822area[office=accountant],
1823area[office=advertising_agency],
1824area[office=architect],
1825area[office=association],
1826area[office=company],
1827area[office=diplomatic],
1828area[office=educational_institution],
1829area[office=employment_agency],
1830area[office=estate_agent],
1831area[office=foundation],
1832area[office=government],
1833area[office=insurance],
1834area[office=it],
1835area[office=lawyer],
1836area[office=newspaper],
1837area[office=ngo],
1838area[office=notary],
1839area[office=political_party],
1840area[office=religion],
1841area[office=research],
1842area[office=tax_advisor],
1843area[office=telecommunication] {
1844 fill-color: office#de5696;
1845}
1846node[office=accountant] {
1847 icon-image: "presets/office/accountant.svg";
1848 set icon_z17;
1849}
1850node[office=advertising_agency] {
1851 icon-image: "presets/office/advertising_agency.svg";
1852 set icon_z17;
1853}
1854node[office=architect] {
1855 icon-image: "presets/office/architect.svg";
1856 set icon_z17;
1857}
1858node[office=association] {
1859 icon-image: "presets/office/association.svg";
1860 set icon_z17;
1861}
1862node[office=company] {
1863 icon-image: "presets/office/private_company.svg";
1864 set icon_z17;
1865}
1866node[office=diplomatic] {
1867 icon-image: "presets/office/diplomatic.svg";
1868 set icon_z17;
1869}
1870node[office=educational_institution] {
1871 icon-image: "presets/office/educational_institution.svg";
1872 set icon_z17;
1873}
1874node[office=employment_agency] {
1875 icon-image: "presets/office/employment_agency.svg";
1876 set icon_z17;
1877}
1878node[office=estate_agent] {
1879 icon-image: "presets/office/real_state.svg";
1880 set icon_z17;
1881}
1882node[office=foundation] {
1883 icon-image: "presets/office/foundation.svg";
1884 set icon_z17;
1885}
1886node[office=insurance] {
1887 icon-image: "presets/office/insurance.svg";
1888 set icon_z17;
1889}
1890node[office=it] {
1891 icon-image: "presets/office/it.svg";
1892 set icon_z17;
1893}
1894node[office=lawyer] {
1895 icon-image: "presets/office/lawyer.svg";
1896 set icon_z17;
1897}
1898node[office=newspaper] {
1899 icon-image: "presets/office/newspaper.svg";
1900 set icon_z17;
1901}
1902node[office=ngo] {
1903 icon-image: "presets/office/ong.svg";
1904 set icon_z17;
1905}
1906node[office=notary] {
1907 icon-image: "presets/office/notary.svg";
1908 set icon_z17;
1909}
1910node[office=political_party] {
1911 icon-image: "presets/office/political_party.svg";
1912 set icon_z17;
1913}
1914node[office=religion] {
1915 icon-image: "presets/office/religion.svg";
1916 set icon_z17;
1917}
1918node[office=research] {
1919 icon-image: "presets/office/research.svg";
1920 set icon_z17;
1921}
1922node[office=tax_advisor] {
1923 icon-image: "presets/office/tax_advisor.svg";
1924 set icon_z17;
1925}
1926node[office=telecommunication] {
1927 icon-image: "presets/office/telecommunication.svg";
1928 set icon_z17;
1929}
1930node[office=government] {
1931 icon-image: "presets/office/government.svg";
1932 set icon_z17;
1933}
1934
1935/*************/
1936/* club tags */
1937/*************/
1938
1939area[club] {
1940 fill-color: club#a3e5f1;
1941}
1942node[club] {
1943 icon-image: "presets/leisure/club.svg";
1944 set icon_z17;
1945}
1946
1947/****************/
1948/* leisure tags */
1949/****************/
1950
1951area[leisure=bandstand],
1952area[leisure=bleachers],
1953area[leisure=sports_centre],
1954area[leisure=fitness_centre],
1955area[leisure=stadium],
1956area[leisure=horse_riding],
1957area[leisure=amusement_arcade],
1958area[leisure=adult_gaming_centre],
1959area[leisure=hackerspace],
1960area[leisure=outdoor_seating],
1961area[leisure=resort],
1962area[leisure=beach_resort],
1963area[leisure=water_park] {
1964 fill-color: leisure#c7f1a3;
1965}
1966node[leisure=bandstand] {
1967 icon-image: "presets/leisure/bandstand.svg";
1968 set icon_z17;
1969}
1970node[leisure=bleachers] {
1971 icon-image: "presets/leisure/bleachers.svg";
1972 set icon_z17;
1973}
1974node[leisure=sports_centre] {
1975 icon-image: "presets/sport/sports_centre.svg";
1976 set icon_z17;
1977}
1978node[leisure=fitness_centre] {
1979 icon-image: "presets/sport/fitness_centre.svg";
1980 set icon_z17;
1981}
1982node[leisure=stadium] {
1983 icon-image: "presets/sport/stadium.svg";
1984 set icon_z17;
1985}
1986node[leisure=horse_riding] {
1987 icon-image: "presets/leisure/horse_riding.svg";
1988 set icon_z17;
1989}
1990node[leisure=amusement_arcade] {
1991 icon-image: "presets/leisure/amusement_arcade.svg";
1992 set icon_z17;
1993}
1994node[leisure=adult_gaming_centre] {
1995 icon-image: "presets/leisure/adult_gaming_centre.svg";
1996 set icon_z17;
1997}
1998node[leisure=hackerspace] {
1999 icon-image: "presets/leisure/hackerspace.svg";
2000 set icon_z17;
2001}
2002node[leisure=outdoor_seating] {
2003 icon-image: "presets/leisure/outdoor_seating.svg";
2004 set icon_z17;
2005}
2006node[leisure=resort] {
2007 icon-image: "presets/leisure/resort.svg";
2008 set icon_z17;
2009}
2010node[leisure=beach_resort] {
2011 icon-image: "presets/leisure/beach_resort.svg";
2012 set icon_z17;
2013}
2014node[leisure=water_park] {
2015 icon-image: "presets/leisure/water_park.svg";
2016 set icon_z17;
2017}
2018way[leisure=track] {
2019 width: 2;
2020 color: leisuretrack#d4f4b9;
2021}
2022way[leisure=track][area?],
2023relation[leisure=track][!area?!]:closed {
2024 fill-color: leisuretrack#d4f4b9;
2025}
2026node[leisure=track] {
2027 icon-image: "presets/sport/track.svg";
2028 set icon_z17;
2029}
2030area[leisure=pitch] {
2031 fill-color: pitch#baee8d;
2032}
2033node[leisure=pitch] {
2034 icon-image: "presets/sport/pitch.svg";
2035 set icon_z17;
2036}
2037area[leisure=marina] {
2038 fill-color: marina#0070cf;
2039}
2040node[leisure=marina] {
2041 icon-image: "presets/nautical/marina.svg";
2042 set icon_z17;
2043}
2044way[leisure=slipway] {
2045 width: 2;
2046 color: leisure#c7f1a3;
2047}
2048node[leisure=slipway] {
2049 icon-image: "presets/nautical/slipway.svg";
2050 set icon_z17;
2051}
2052area[leisure=fishing],
2053area[leisure=bird_hide],
2054area[leisure=nature_reserve],
2055area[leisure=park],
2056area[leisure=playground],
2057area[leisure=garden],
2058area[leisure=firepit] {
2059 fill-color: leisure#c7f1a3;
2060}
2061node[leisure=fishing] {
2062 icon-image: "presets/sport/fishing.svg";
2063 set icon_z17;
2064}
2065node[leisure=bird_hide] {
2066 icon-image: "presets/leisure/bird_hide.svg";
2067 set icon_z17;
2068}
2069node[leisure=park] {
2070 icon-image: "presets/misc/deprecated.svg";
2071 set icon_z17;
2072}
2073node[leisure=playground] {
2074 icon-image: "presets/leisure/playground.svg";
2075 set icon_z17;
2076}
2077node[leisure=garden] {
2078 icon-image: "presets/leisure/garden.svg";
2079 set icon_z17;
2080}
2081node[leisure=common] {
2082 icon-image: "presets/misc/deprecated.svg";
2083 set icon_z17;
2084}
2085node[leisure=firepit] {
2086 icon-image: "presets/leisure/firepit.svg";
2087 set icon_z17;
2088}
2089node[leisure=picnic_table] {
2090 icon-image: "presets/leisure/picnic.svg";
2091 set icon_z17;
2092}
2093area[leisure=swimming_pool] {
2094 fill-color: swimming_pool#51c4ef;
2095}
2096node[leisure=swimming_pool] {
2097 icon-image: "presets/sport/swimming.svg";
2098 set icon_z17;
2099}
2100area[playground]:closed {
2101 fill-color: playground#c7f1a3;
2102}
2103way[playground] {
2104 width: 2;
2105 color: playground#c7f1a3;
2106}
2107node[playground] {
2108 icon-image: "presets/leisure/playground_device.svg";
2109 set icon_z17;
2110}
2111area[leisure=fitness_station],
2112area[leisure=miniature_golf],
2113area[leisure=dog_park],
2114area[leisure=ice_rink],
2115area[leisure=sauna] {
2116 fill-color: leisure#c7f1a3;
2117}
2118node[leisure=fitness_station] {
2119 icon-image: "presets/leisure/fitness_station.svg";
2120 set icon_z17;
2121}
2122node[leisure=miniature_golf] {
2123 icon-image: "presets/sport/miniature_golf.svg";
2124 set icon_z17;
2125}
2126node[leisure=dog_park] {
2127 icon-image: "presets/leisure/dogpark.svg";
2128 set icon_z17;
2129}
2130node[leisure=ice_rink] {
2131 icon-image: "presets/sport/ice_hockey.svg";
2132 set icon_z17;
2133}
2134node[leisure=sauna] {
2135 icon-image: "presets/leisure/sauna.svg";
2136 set icon_z17;
2137}
2138area[leisure=golf_course] {
2139 fill-color: leisure#c7f1a3;
2140}
2141node[leisure=golf_course] {
2142 icon-image: "presets/sport/golf/golf.svg";
2143 set icon_z17;
2144}
2145
2146/*************/
2147/* golf tags */
2148/*************/
2149area[golf=tee] {
2150 fill-color: golf#c7f1a3;
2151}
2152node[golf=tee] {
2153 icon-image: "presets/sport/golf/tee.svg";
2154 set icon_z17;
2155}
2156way[golf=hole] {
2157 width: 1;
2158 dashes: 10,10;
2159 color: golf_hole#808080;
2160}
2161node[golf=pin] {
2162 icon-image: "presets/sport/golf/pin.svg";
2163 set icon_z17;
2164}
2165area[golf=bunker] {
2166 fill-color: golf_bunker#ffab00;
2167}
2168area[golf=water_hazard],
2169area[golf=lateral_water_hazard] {
2170 fill-color: golf_water_hazard#0000ff;
2171}
2172area[golf=green] {
2173 fill-color: golf_green#00e700;
2174}
2175area[golf=fairway] {
2176 fill-color: golf_fairway#009a00;
2177}
2178area[golf=rough] {
2179 fill-color: golf_rough#006700;
2180}
2181area[golf=driving_range] {
2182 fill-color: golf_driving_range#c7f1a3;
2183}
2184node[golf=driving_range] {
2185 icon-image: "presets/sport/golf/driving_range.svg";
2186 set icon_z17;
2187}
2188
2189/********************/
2190/* advertising tags */
2191/********************/
2192
2193node[advertising=column] {
2194 icon-image: "presets/leisure/advertising_column.svg";
2195 set icon_z17;
2196}
2197area[advertising=column] {
2198 fill-color: advertising#880000;
2199}
2200node[advertising=billboard] {
2201 icon-image: "presets/leisure/billboard.svg";
2202 set icon_z17;
2203}
2204node[advertising=poster_box] {
2205 icon-image: "presets/leisure/poster_box.svg";
2206 set icon_z17;
2207}
2208way[advertising=billboard],
2209way[advertising=poster_box] {
2210 width: 2;
2211 color: advertising#880000;
2212}
2213
2214/*************/
2215/* shop tags */
2216/*************/
2217
2218area[shop=supermarket],
2219area[shop=convenience],
2220area[shop=bakery],
2221area[shop=butcher],
2222area[shop=bicycle],
2223area[shop=doityourself],
2224area[shop=dry_cleaning],
2225area[shop=laundry],
2226area[shop=outdoor],
2227area[shop=kiosk],
2228area[shop=alcohol],
2229area[shop=beverages],
2230area[shop=books],
2231area[shop=boutique],
2232area[shop=car],
2233area[shop=car_repair],
2234area[shop=tyres],
2235area[shop=chemist],
2236area[shop=tobacco],
2237area[shop=e-cigarette],
2238area[shop=clothes],
2239area[shop=computer],
2240area[shop=confectionery],
2241area[shop=chocolate],
2242area[shop=pastry],
2243area[shop=copyshop],
2244area[shop=curtain],
2245area[shop=cycle_repair],
2246area[shop=department_store],
2247area[shop=deli],
2248area[shop=doors],
2249area[shop=electronics],
2250area[shop=erotic],
2251area[shop=furniture],
2252area[shop=fabric],
2253area[shop=florist],
2254area[shop=frame],
2255area[shop=gas],
2256area[shop=general],
2257area[shop=gift],
2258area[shop=greengrocer],
2259area[shop=garden_centre],
2260area[shop=hairdresser],
2261area[shop=hardware],
2262area[shop=hearing_aids],
2263area[shop=hifi],
2264area[shop=houseware],
2265area[shop=pottery],
2266area[shop=jewelry],
2267area[shop=kitchen],
2268area[shop=mall],
2269area[shop=massage],
2270area[shop=mobile_phone],
2271area[shop=watches],
2272area[shop=motorcycle],
2273area[shop=musical_instrument],
2274area[shop=newsagent],
2275area[shop=optician],
2276area[shop=medical_supply],
2277area[shop=paint],
2278area[shop=party],
2279area[shop=pawnbroker],
2280area[shop=seafood],
2281area[shop=dairy],
2282area[shop=cheese],
2283area[shop=shoes],
2284area[shop=sports],
2285area[shop=stationery],
2286area[shop=tailor],
2287area[shop=travel_agency],
2288area[shop=scuba_diving],
2289area[shop=fishing],
2290area[shop=toys],
2291area[shop=vacuum_cleaner],
2292area[shop=variety_store],
2293area[shop=charity],
2294area[shop=second_hand],
2295area[shop=video],
2296area[shop=bookmaker],
2297area[shop=lottery],
2298area[shop=pet],
2299area[shop=pet_grooming],
2300area[shop=photo],
2301area[shop=ticket],
2302area[shop=carpet],
2303area[shop=interior_decoration],
2304area[shop=car_parts],
2305area[shop=video_games],
2306area[shop=bed],
2307area[shop=beauty],
2308area[shop=cosmetics],
2309area[shop=perfumery],
2310area[shop=herbalist],
2311area[shop=tea],
2312area[shop=coffee],
2313area[shop=frozen_food],
2314area[shop=antiques],
2315area[shop=swimming_pool],
2316area[shop=storage_rental],
2317area[shop=music],
2318area[shop=weapons],
2319area[shop=funeral_directors],
2320area[shop=wine],
2321area[shop=farm],
2322area[shop=tattoo],
2323area[shop=art],
2324area[shop=lighting],
2325area[shop=security],
2326area[shop=wholesale],
2327area[shop=trade],
2328area[shop=bag] {
2329 fill-color: shop#00005f;
2330}
2331node[shop=supermarket] {
2332 icon-image: "presets/shop/supermarket.svg";
2333 set icon_z17;
2334}
2335node[shop=convenience] {
2336 icon-image: "presets/shop/convenience.svg";
2337 set icon_z17;
2338}
2339node[shop=bakery] {
2340 icon-image: "presets/shop/groceries/bakery.svg";
2341 set icon_z17;
2342}
2343node[shop=butcher] {
2344 icon-image: "presets/shop/groceries/butcher.svg";
2345 set icon_z17;
2346}
2347node[shop=bicycle] {
2348 icon-image: "presets/shop/bicycle.svg";
2349 set icon_z17;
2350}
2351node[shop=doityourself] {
2352 icon-image: "presets/shop/diy_store.svg";
2353 set icon_z17;
2354}
2355node[shop=dry_cleaning],
2356node[shop=laundry] {
2357 icon-image: "presets/shop/laundry.svg";
2358 set icon_z17;
2359}
2360node[shop=outdoor] {
2361 icon-image: "presets/shop/outdoor.svg";
2362 set icon_z17;
2363}
2364node[shop=kiosk] {
2365 icon-image: "presets/shop/kiosk.svg";
2366 set icon_z17;
2367}
2368node[shop=beverages] {
2369 icon-image: "presets/shop/beverages.svg";
2370 set icon_z17;
2371}
2372node[shop=alcohol] {
2373 icon-image: "presets/shop/alcohol.svg";
2374 set icon_z17;
2375}
2376node[shop=books] {
2377 icon-image: "presets/shop/book.svg";
2378 set icon_z17;
2379}
2380node[shop=boutique] {
2381 icon-image: "presets/shop/boutique.svg";
2382 set icon_z17;
2383}
2384node[shop=car] {
2385 icon-image: "presets/shop/vehicle.svg";
2386 set icon_z17;
2387}
2388node[shop=car_repair] {
2389 icon-image: "presets/vehicle/repair_shop.svg";
2390 set icon_z17;
2391}
2392node[shop=tyres] {
2393 icon-image: "presets/vehicle/tyres.svg";
2394 set icon_z17;
2395}
2396node[shop=chemist] {
2397 icon-image: "presets/shop/chemist.svg";
2398 set icon_z17;
2399}
2400node[shop=tobacco] {
2401 icon-image: "presets/shop/tobacco.svg";
2402 set icon_z17;
2403}
2404node[shop=e-cigarette] {
2405 icon-image: "presets/shop/e-cigarette.svg";
2406 set icon_z17;
2407}
2408node[shop=clothes] {
2409 icon-image: "presets/shop/clothes.svg";
2410 set icon_z17;
2411}
2412node[shop=computer] {
2413 icon-image: "presets/shop/computer.svg";
2414 set icon_z17;
2415}
2416node[shop=confectionery] {
2417 icon-image: "presets/shop/groceries/confectionery.svg";
2418 set icon_z17;
2419}
2420node[shop=chocolate] {
2421 icon-image: "presets/shop/groceries/chocolate.svg";
2422 set icon_z17;
2423}
2424node[shop=pastry] {
2425 icon-image: "presets/shop/groceries/pastry.svg";
2426 set icon_z17;
2427}
2428node[shop=copyshop] {
2429 icon-image: "presets/shop/copyshop.svg";
2430 set icon_z17;
2431}
2432node[shop=curtain] {
2433 icon-image: "presets/shop/curtain.svg";
2434 set icon_z17;
2435}
2436node[shop=cycle_repair] {
2437 icon-image: "presets/shop/bicycle.svg";
2438 set icon_z17;
2439}
2440node[shop=department_store] {
2441 icon-image: "presets/shop/mall.svg";
2442 set icon_z17;
2443}
2444node[shop=deli] {
2445 icon-image: "presets/shop/groceries/deli.svg";
2446 set icon_z17;
2447}
2448node[shop=doors] {
2449 icon-image: "presets/shop/doors.svg";
2450 set icon_z17;
2451}
2452node[shop=electronics] {
2453 icon-image: "presets/shop/electronics.svg";
2454 set icon_z17;
2455}
2456node[shop=erotic] {
2457 icon-image: "presets/shop/erotic.svg";
2458 set icon_z17;
2459}
2460node[shop=furniture] {
2461 icon-image: "presets/shop/furniture.svg";
2462 set icon_z17;
2463}
2464node[shop=fabric] {
2465 icon-image: "presets/shop/fabric.svg";
2466 set icon_z17;
2467}
2468node[shop=florist] {
2469 icon-image: "presets/shop/florist.svg";
2470 set icon_z17;
2471}
2472node[shop=frame] {
2473 icon-image: "presets/shop/frame.svg";
2474 set icon_z17;
2475}
2476node[shop=gas] {
2477 icon-image: "presets/shop/gas.svg";
2478 set icon_z17;
2479}
2480node[shop=general] {
2481 icon-image: "presets/shop/mall.svg";
2482 set icon_z17;
2483}
2484node[shop=gift] {
2485 icon-image: "presets/shop/present.svg";
2486 set icon_z17;
2487}
2488node[shop=greengrocer] {
2489 icon-image: "presets/shop/groceries/greengrocer.svg";
2490 set icon_z17;
2491}
2492node[shop=garden_centre] {
2493 icon-image: "presets/shop/garden_centre.svg";
2494 set icon_z17;
2495}
2496node[shop=hairdresser] {
2497 icon-image: "presets/shop/hairdresser.svg";
2498 set icon_z17;
2499}
2500node[shop=hardware] {
2501 icon-image: "presets/shop/hardware.svg";
2502 set icon_z17;
2503}
2504node[shop=hearing_aids] {
2505 icon-image: "presets/shop/hearing_aids.svg";
2506 set icon_z17;
2507}
2508node[shop=hifi] {
2509 icon-image: "presets/shop/hifi.svg";
2510 set icon_z17;
2511}
2512node[shop=houseware] {
2513 icon-image: "presets/shop/houseware.svg";
2514 set icon_z17;
2515}
2516node[shop=pottery] {
2517 icon-image: "presets/shop/pottery.svg";
2518 set icon_z17;
2519}
2520node[shop=jewelry] {
2521 icon-image: "presets/shop/jewelry.svg";
2522 set icon_z17;
2523}
2524node[shop=kitchen] {
2525 icon-image: "presets/shop/kitchen.svg";
2526 set icon_z17;
2527}
2528node[shop=mall] {
2529 icon-image: "presets/shop/mall.svg";
2530 set icon_z17;
2531}
2532node[shop=massage] {
2533 icon-image: "presets/shop/massage.svg";
2534 set icon_z17;
2535}
2536node[shop=mobile_phone] {
2537 icon-image: "presets/shop/mobile_phone.svg";
2538 set icon_z17;
2539}
2540node[shop=watches] {
2541 icon-image: "presets/shop/watches.svg";
2542 set icon_z17;
2543}
2544node[shop=motorcycle] {
2545 icon-image: "presets/vehicle/motorbike.svg";
2546 set icon_z17;
2547}
2548node[shop=musical_instrument] {
2549 icon-image: "presets/shop/musical_instrument.svg";
2550 set icon_z17;
2551}
2552node[shop=newsagent] {
2553 icon-image: "presets/shop/news.svg";
2554 set icon_z17;
2555}
2556node[shop=optician] {
2557 icon-image: "presets/shop/optician.svg";
2558 set icon_z17;
2559}
2560node[shop=medical_supply] {
2561 icon-image: "presets/shop/medical_supply.svg";
2562 set icon_z17;
2563}
2564node[shop=paint] {
2565 icon-image: "presets/shop/paint.svg";
2566 set icon_z17;
2567}
2568node[shop=party] {
2569 icon-image: "presets/shop/party.svg";
2570 set icon_z17;
2571}
2572node[shop=pawnbroker] {
2573 icon-image: "presets/shop/pawnbroker.svg";
2574 set icon_z17;
2575}
2576node[shop=seafood] {
2577 icon-image: "presets/shop/groceries/seafood.svg";
2578 set icon_z17;
2579}
2580node[shop=dairy] {
2581 icon-image: "presets/shop/groceries/dairy.svg";
2582 set icon_z17;
2583}
2584node[shop=cheese] {
2585 icon-image: "presets/shop/groceries/cheese.svg";
2586 set icon_z17;
2587}
2588node[shop=shoes] {
2589 icon-image: "presets/shop/shoes.svg";
2590 set icon_z17;
2591}
2592node[shop=sports] {
2593 icon-image: "presets/sport/multi.svg";
2594 set icon_z17;
2595}
2596node[shop=stationery] {
2597 icon-image: "presets/shop/stationery.svg";
2598 set icon_z17;
2599}
2600node[shop=tailor] {
2601 icon-image: "presets/shop/tailor.svg";
2602 set icon_z17;
2603}
2604node[shop=travel_agency] {
2605 icon-image: "presets/shop/travel_agency.svg";
2606 set icon_z17;
2607}
2608node[shop=scuba_diving] {
2609 icon-image: "presets/shop/scuba_diving.svg";
2610 set icon_z17;
2611}
2612node[shop=fishing] {
2613 icon-image: "presets/shop/fishing.svg";
2614 set icon_z17;
2615}
2616node[shop=toys] {
2617 icon-image: "presets/shop/toys.svg";
2618 set icon_z17;
2619}
2620node[shop=vacuum_cleaner] {
2621 icon-image: "presets/shop/vacuum_cleaner.svg";
2622 set icon_z17;
2623}
2624node[shop=variety_store] {
2625 icon-image: "presets/shop/variety_store.svg";
2626 set icon_z17;
2627}
2628node[shop=charity] {
2629 icon-image: "presets/shop/charity.svg";
2630 set icon_z17;
2631}
2632node[shop=second_hand] {
2633 icon-image: "presets/shop/second_hand.svg";
2634 set icon_z17;
2635}
2636node[shop=video] {
2637 icon-image: "presets/shop/video.svg";
2638 set icon_z17;
2639}
2640node[shop=bookmaker] {
2641 icon-image: "presets/shop/lottery.svg";
2642 set icon_z17;
2643}
2644node[shop=lottery] {
2645 icon-image: "presets/shop/lottery.svg";
2646 set icon_z17;
2647}
2648node[shop=pet] {
2649 icon-image: "presets/shop/pet.svg";
2650 set icon_z17;
2651}
2652node[shop=pet_grooming] {
2653 icon-image: "presets/shop/pet_grooming.svg";
2654 set icon_z17;
2655}
2656node[shop=photo] {
2657 icon-image: "presets/shop/photo.svg";
2658 set icon_z17;
2659}
2660node[shop=ticket] {
2661 icon-image: "presets/shop/ticket.svg";
2662 set icon_z17;
2663}
2664node[shop=carpet] {
2665 icon-image: "presets/shop/carpet.svg";
2666 set icon_z17;
2667}
2668node[shop=interior_decoration] {
2669 icon-image: "presets/shop/interior_decoration.svg";
2670 set icon_z17;
2671}
2672node[shop=car_parts] {
2673 icon-image: "presets/vehicle/car_parts.svg";
2674 set icon_z17;
2675}
2676node[shop=video_games] {
2677 icon-image: "presets/shop/video_games.svg";
2678 set icon_z17;
2679}
2680node[shop=bed] {
2681 icon-image: "presets/shop/bed.svg";
2682 set icon_z17;
2683}
2684node[shop=beauty] {
2685 icon-image: "presets/shop/beauty.svg";
2686 set icon_z17;
2687}
2688node[shop=cosmetics] {
2689 icon-image: "presets/shop/cosmetics.svg";
2690 set icon_z17;
2691}
2692node[shop=perfumery] {
2693 icon-image: "presets/shop/perfumery.svg";
2694 set icon_z17;
2695}
2696node[shop=herbalist] {
2697 icon-image: "presets/shop/groceries/herbalist.svg";
2698 set icon_z17;
2699}
2700node[shop=tea] {
2701 icon-image: "presets/shop/groceries/tea.svg";
2702 set icon_z17;
2703}
2704node[shop=coffee] {
2705 icon-image: "presets/shop/groceries/coffee.svg";
2706 set icon_z17;
2707}
2708node[shop=frozen_food] {
2709 icon-image: "presets/shop/groceries/frozen_food.svg";
2710 set icon_z17;
2711}
2712node[shop=antiques] {
2713 icon-image: "presets/shop/antique.svg";
2714 set icon_z17;
2715}
2716node[shop=swimming_pool] {
2717 icon-image: "presets/shop/swimming_pool.svg";
2718 set icon_z17;
2719}
2720node[shop=storage_rental] {
2721 icon-image: "presets/shop/storage_rental.svg";
2722 set icon_z17;
2723}
2724node[shop=music] {
2725 icon-image: "presets/shop/music.svg";
2726 set icon_z17;
2727}
2728node[shop=weapons] {
2729 icon-image: "presets/shop/weapons.svg";
2730 set icon_z17;
2731}
2732node[shop=funeral_directors] {
2733 icon-image: "presets/shop/funeral_directors.svg";
2734 set icon_z17;
2735}
2736node[shop=wine] {
2737 icon-image: "presets/shop/wine.svg";
2738 set icon_z17;
2739}
2740node[shop=farm] {
2741 icon-image: "presets/shop/groceries/farm.svg";
2742 set icon_z17;
2743}
2744node[shop=tattoo] {
2745 icon-image: "presets/shop/tattoo.svg";
2746 set icon_z17;
2747}
2748node[shop=art] {
2749 icon-image: "presets/shop/art.svg";
2750 set icon_z17;
2751}
2752node[shop=lighting] {
2753 icon-image: "presets/shop/lighting.svg";
2754 set icon_z17;
2755}
2756node[shop=security] {
2757 icon-image: "presets/shop/security.svg";
2758 set icon_z17;
2759}
2760node[shop=wholesale] {
2761 icon-image: "presets/shop/wholesale.svg";
2762 set icon_z17;
2763}
2764node[shop=trade] {
2765 icon-image: "presets/shop/trade.svg";
2766 set icon_z17;
2767}
2768node[shop=bag] {
2769 icon-image: "presets/shop/bag.svg";
2770 set icon_z17;
2771}
2772
2773/******************/
2774/* emergency tags */
2775/******************/
2776area[emergency=ambulance_station],
2777area[emergency=water_tank] {
2778 fill-color: emergency#eeeeee;
2779}
2780node[emergency=ambulance_station] {
2781 icon-image: "presets/emergency/ambulance_station.svg";
2782 set icon_z17;
2783}
2784node[emergency=water_tank] {
2785 icon-image: "presets/emergency/water_tank.svg";
2786 set icon_z17;
2787}
2788node[emergency=suction_point] {
2789 icon-image: "presets/emergency/suction_point.svg";
2790 set icon_z17;
2791}
2792node[emergency=emergency_ward_entrance] {
2793 icon-image: "presets/emergency/emergency_ward_entrance.svg";
2794 set icon_z17;
2795}
2796node[emergency=phone] {
2797 icon-image: "presets/vehicle/emergency_phone.svg";
2798 set icon_z17;
2799}
2800node[emergency=defibrillator] {
2801 icon-image: "presets/emergency/aed.svg";
2802 set icon_z17;
2803}
2804node[emergency=fire_hydrant] {
2805 icon-image: "presets/service/fire_hydrant.svg";
2806 set icon_z17;
2807}
2808node[emergency=fire_extinguisher] {
2809 icon-image: "presets/emergency/fire_extinguisher.svg";
2810 set icon_z17;
2811}
2812node[emergency=fire_hose] {
2813 icon-image: "presets/emergency/fire_hose.svg";
2814 set icon_z17;
2815}
2816node[emergency=assembly_point] {
2817 icon-image: "presets/emergency/assembly_point.svg";
2818 set icon_z17;
2819}
2820node[emergency=siren] {
2821 icon-image: "presets/emergency/siren.svg";
2822 set icon_z17;
2823}
2824
2825/****************/
2826/* police tags */
2827/****************/
2828
2829area[police=barracks],
2830area[police=car_pound],
2831area[police=checkpoint],
2832area[police=detention],
2833area[police=naval_base],
2834area[police=offices],
2835area[police=range],
2836area[police=storage],
2837area[police=training_area],
2838area[police=yes] {
2839 fill-color: police#ecba52;
2840}
2841node[police=barracks],
2842node[police=car_pound],
2843node[police=checkpoint],
2844node[police=detention],
2845node[police=naval_base],
2846node[police=offices],
2847node[police=range],
2848node[police=storage],
2849node[police=training_node],
2850node[police=yes] {
2851 icon-image: "presets/service/police_non_public.svg";
2852 set icon_z17;
2853}
2854
2855/*******************/
2856/* healthcare tags */
2857/*******************/
2858
2859area[healthcare=laboratory] {
2860 fill-color: healthcare#3771c8;
2861}
2862node[healthcare=laboratory] {
2863 icon-image: "presets/health/laboratory.svg";
2864 set icon_z17;
2865}
2866
2867/****************/
2868/* amenity tags */
2869/****************/
2870
2871area[amenity=pub],
2872area[amenity=biergarten],
2873area[amenity=nightclub],
2874area[amenity=gambling],
2875area[amenity=stripclub],
2876area[amenity=casino],
2877area[amenity=brothel],
2878area[amenity=cafe],
2879area[amenity=restaurant],
2880area[amenity=food_court],
2881area[amenity=fast_food],
2882area[amenity=bar],
2883area[amenity=ice_cream] {
2884 fill-color: amenity#ecba52;
2885}
2886node[amenity=pub] {
2887 icon-image: "presets/food/pub.svg";
2888 set icon_z17;
2889}
2890node[amenity=biergarten] {
2891 icon-image: "presets/food/biergarten.svg";
2892 set icon_z17;
2893}
2894node[amenity=nightclub] {
2895 icon-image: "presets/leisure/nightclub.svg";
2896 set icon_z17;
2897}
2898node[amenity=gambling] {
2899 icon-image: "presets/leisure/gambling.svg";
2900 set icon_z17;
2901}
2902node[amenity=stripclub] {
2903 icon-image: "presets/leisure/stripclub.svg";
2904 set icon_z17;
2905}
2906node[amenity=casino] {
2907 icon-image: "presets/leisure/casino.svg";
2908 set icon_z17;
2909}
2910node[amenity=brothel] {
2911 icon-image: "presets/leisure/brothel.svg";
2912 set icon_z17;
2913}
2914node[amenity=cafe] {
2915 icon-image: "presets/food/cafe.svg";
2916 set icon_z17;
2917}
2918node[amenity=restaurant] {
2919 icon-image: "presets/food/restaurant.svg";
2920 set icon_z17;
2921}
2922node[amenity=food_court] {
2923 icon-image: "presets/food/food_court.svg";
2924 set icon_z17;
2925}
2926node[amenity=fast_food] {
2927 icon-image: "presets/food/fast_food.svg";
2928 set icon_z17;
2929}
2930node[amenity=bar] {
2931 icon-image: "presets/food/bar.svg";
2932 set icon_z17;
2933}
2934node[amenity=ice_cream] {
2935 icon-image: "presets/food/ice_cream.svg";
2936 set icon_z17;
2937}
2938area[amenity=bicycle_parking]:closed {
2939 fill-color: amenity_traffic#f7efb7;
2940}
2941way[amenity=bicycle_parking] {
2942 width: 2;
2943 color: amenity_traffic#f7efb7;
2944}
2945area[amenity=parking_space] {
2946 fill-color: parking_space#f7efb8;
2947}
2948area[amenity=parking],
2949area[amenity=motorcycle_parking],
2950area[amenity=bicycle_rental],
2951area[amenity=bicycle_repair_station],
2952area[amenity=car_rental],
2953area[amenity=car_pooling],
2954area[amenity=car_sharing],
2955area[amenity=car_wash],
2956area[amenity=taxi],
2957area[amenity=fuel] {
2958 fill-color: amenity_traffic#f7efb7;
2959}
2960node[amenity=parking_space] {
2961 icon-image: "presets/vehicle/parking/parking_space.svg";
2962 set icon_z17;
2963}
2964node[amenity=parking] {
2965 icon-image: "presets/vehicle/parking/parking.svg";
2966 set icon_z17;
2967}
2968node[amenity=parking_entrance] {
2969 icon-image: "presets/vehicle/parking/parking.svg";
2970 set icon_z17;
2971}
2972node[amenity=parking_entrance][parking=multi-storey],
2973node[amenity=parking][parking=multi-storey] {
2974 icon-image: "presets/vehicle/parking/multi-storey.svg";
2975 set icon_z17;
2976}
2977node[amenity=parking_entrance][parking=underground],
2978node[amenity=parking][parking=underground] {
2979 icon-image: "presets/vehicle/parking/underground.svg";
2980 set icon_z17;
2981}
2982node[amenity=motorcycle_parking] {
2983 icon-image: "presets/vehicle/parking/motorbike.svg";
2984 set icon_z17;
2985}
2986node[amenity=bicycle_parking] {
2987 icon-image: "presets/vehicle/parking/bicycle.svg";
2988 set icon_z17;
2989}
2990node[park_ride][park_ride!=no] {
2991 icon-image: "presets/vehicle/parking/park_ride.svg";
2992 set icon_z17;
2993}
2994node[amenity=parking_space][wheelchair?] {
2995 icon-image: "presets/vehicle/parking/handicapped.svg";
2996 set icon_z17;
2997}
2998node[amenity=bicycle_rental] {
2999 icon-image: "presets/vehicle/bicycle_rental.svg";
3000 set icon_z17;
3001}
3002node[amenity=bicycle_repair_station] {
3003 icon-image: "presets/vehicle/bicycle_repair_station.svg";
3004 set icon_z17;
3005}
3006node[amenity=car_rental] {
3007 icon-image: "presets/vehicle/car_rental.svg";
3008 set icon_z17;
3009}
3010node[amenity=car_pooling] {
3011 icon-image: "presets/vehicle/car_pooling.svg";
3012 set icon_z17;
3013}
3014node[amenity=car_sharing] {
3015 icon-image: "presets/vehicle/car_sharing.svg";
3016 set icon_z17;
3017}
3018node[amenity=car_wash] {
3019 icon-image: "presets/vehicle/car_wash.svg";
3020 set icon_z17;
3021}
3022node[amenity=taxi] {
3023 icon-image: "presets/transport/taxi.svg";
3024 set icon_z17;
3025}
3026node[amenity=fuel] {
3027 icon-image: "presets/vehicle/fuel.svg";
3028 set icon_z17;
3029}
3030node[amenity=charging_station] {
3031 icon-image: "presets/vehicle/charging_station.svg";
3032 set icon_z17;
3033}
3034node[amenity=grit_bin] {
3035 icon-image: "presets/misc/grit_bin.svg";
3036 set icon_z17;
3037}
3038node[amenity=telephone] {
3039 icon-image: "presets/service/telephone.svg";
3040 set icon_z17;
3041}
3042node[amenity=clock] {
3043 icon-image: "presets/service/clock.svg";
3044 set icon_z17;
3045}
3046node[amenity=photo_booth] {
3047 icon-image: "presets/service/photo_booth.svg";
3048 set icon_z17;
3049}
3050area[amenity=toilets],
3051area[amenity=shower],
3052area[amenity=internet_cafe],
3053area[amenity=recycling],
3054area[amenity=sanitary_dump_station] {
3055 fill-color: amenity_light#f7efb7;
3056}
3057node[amenity=toilets] {
3058 icon-image: "presets/service/toilets.svg";
3059 set icon_z17;
3060}
3061node[amenity=shower] {
3062 icon-image: "presets/service/shower.svg";
3063 set icon_z17;
3064}
3065node[amenity=internet_cafe] {
3066 icon-image: "presets/service/internet_cafe.svg";
3067 set icon_z17;
3068}
3069node[amenity=recycling] {
3070 icon-image: "presets/service/recycling/recycling.svg";
3071 set icon_z17;
3072}
3073node[amenity=recycling][recycling_type=container] {
3074 icon-image: "presets/service/recycling/recycling_container.svg";
3075}
3076node[amenity=recycling][recycling_type=centre] {
3077 icon-image: "presets/service/recycling/recycling_centre.svg";
3078}
3079node[amenity=waste_basket] {
3080 icon-image: "presets/service/recycling/waste_basket.svg";
3081 set icon_z17;
3082}
3083node[amenity=waste_disposal] {
3084 icon-image: "presets/service/recycling/waste_disposal.svg";
3085 set icon_z17;
3086}
3087node[amenity=sanitary_dump_station] {
3088 icon-image: "presets/service/recycling/sanitary_dump_station.svg";
3089 set icon_z17;
3090}
3091area[amenity=townhall],
3092area[amenity=events_venue],
3093area[amenity=community_centre] {
3094 fill-color: amenity_light#f7efb7;
3095}
3096node[amenity=townhall] {
3097 icon-image: "presets/service/townhall.svg";
3098 set icon_z17;
3099}
3100node[amenity=events_venue] {
3101 icon-image: "presets/service/events_venue.svg";
3102 set icon_z17;
3103}
3104node[amenity=community_centre] {
3105 icon-image: "presets/service/community_centre.svg";
3106 set icon_z17;
3107}
3108area[amenity=water_point],
3109area[amenity=fountain] {
3110 fill-color: light_water#00005f;
3111}
3112node[amenity=drinking_water] {
3113 icon-image: "presets/food/drinking_water.svg";
3114 set icon_z17;
3115}
3116node[amenity=water_point] {
3117 icon-image: "presets/accommodation/water.svg";
3118 set icon_z17;
3119}
3120node[amenity=fountain] {
3121 icon-image: "presets/misc/fountain.svg";
3122 set icon_z17;
3123}
3124area[amenity=animal_boarding],
3125area[amenity=place_of_worship],
3126area[amenity=monastery],
3127area[amenity=grave_yard],
3128area[amenity=crematorium],
3129area[amenity=post_office],
3130area[amenity=studio],
3131area[landuse=school],
3132area[amenity=school],
3133area[amenity=university],
3134area[amenity=college],
3135area[amenity=kindergarten],
3136area[amenity=language_school],
3137area[amenity=driving_school] {
3138 fill-color: amenity_light#f7efb7;
3139}
3140node[amenity=animal_boarding] {
3141 icon-image: "presets/accommodation/animal_boarding.svg";
3142 set icon_z17;
3143}
3144node[amenity=place_of_worship] {
3145 icon-image: "presets/religion/religion.svg";
3146 set icon_z17;
3147}
3148node[amenity=place_of_worship][religion=bahai] {
3149 icon-image: "presets/religion/bahai.svg";
3150 set icon_z17;
3151}
3152node[amenity=place_of_worship][religion=buddhist] {
3153 icon-image: "presets/religion/buddhism.svg";
3154 set icon_z17;
3155}
3156node[amenity=place_of_worship][religion=caodaism][!is_prop_set(icon-image)] {
3157 icon-image: "presets/misc/no_icon.svg";
3158 set icon_z17;
3159}
3160node[amenity=place_of_worship][religion=christian] {
3161 icon-image: "presets/religion/church.svg";
3162 set icon_z17;
3163}
3164node[amenity=place_of_worship][religion=confucian] {
3165 icon-image: "presets/religion/confucian.svg";
3166 set icon_z17;
3167}
3168node[amenity=place_of_worship][religion=hindu] {
3169 icon-image: "presets/religion/hinduism.svg";
3170 set icon_z17;
3171}
3172node[amenity=place_of_worship][religion=jain] {
3173 icon-image: "presets/religion/jainism.svg";
3174 set icon_z17;
3175}
3176node[amenity=place_of_worship][religion=jewish] {
3177 icon-image: "presets/religion/jewish.svg";
3178 set icon_z17;
3179}
3180node[amenity=place_of_worship][religion=muslim] {
3181 icon-image: "presets/religion/muslim.svg";
3182 set icon_z17;
3183}
3184node[amenity=place_of_worship][religion=shinto] {
3185 icon-image: "presets/religion/shinto.svg";
3186 set icon_z17;
3187}
3188node[amenity=place_of_worship][religion=sikh] {
3189 icon-image: "presets/religion/sikhism.svg";
3190 set icon_z17;
3191}
3192node[amenity=place_of_worship][religion=spiritualist][!is_prop_set(icon-image)] {
3193 icon-image: "presets/misc/no_icon.svg";
3194 set icon_z17;
3195}
3196node[amenity=place_of_worship][religion=taoist] {
3197 icon-image: "presets/religion/taoism.svg";
3198 set icon_z17;
3199}
3200node[amenity=place_of_worship][religion=tenrikyo] {
3201 icon-image: "presets/religion/tenrikyo.svg";
3202 set icon_z17;
3203}
3204node[amenity=place_of_worship][religion=unitarian_universalist][!is_prop_set(icon-image)] {
3205 icon-image: "presets/misc/no_icon.svg";
3206 set icon_z17;
3207}
3208node[amenity=place_of_worship][religion=zoroastrian][!is_prop_set(icon-image)] {
3209 icon-image: "presets/misc/no_icon.svg";
3210 set icon_z17;
3211}
3212node[amenity=monastery] {
3213 icon-image: "presets/religion/monastery.svg";
3214 set icon_z17;
3215}
3216node[amenity=grave_yard] {
3217 icon-image: "presets/landuse/graveyard.svg";
3218 set icon_z17;
3219}
3220node[amenity=crematorium][!is_prop_set(icon-image)] {
3221 icon-image: "presets/misc/no_icon.svg";
3222 set icon_z17;
3223}
3224node[amenity=post_office] {
3225 icon-image: "presets/service/post_office.svg";
3226 set icon_z17;
3227}
3228node[amenity=post_box] {
3229 icon-image: "presets/service/post_box.svg";
3230 set icon_z17;
3231}
3232node[amenity=studio] {
3233 icon-image: "presets/service/studio.svg";
3234 set icon_z17;
3235}
3236node[amenity=school] {
3237 icon-image: "presets/education/school.svg";
3238 set icon_z17;
3239}
3240node[amenity=university] {
3241 icon-image: "presets/education/university.svg";
3242 set icon_z17;
3243}
3244node[amenity=college] {
3245 icon-image: "presets/education/college.svg";
3246 set icon_z17;
3247}
3248node[amenity=kindergarten] {
3249 icon-image: "presets/education/kindergarten.svg";
3250 set icon_z17;
3251}
3252node[amenity=language_school] {
3253 icon-image: "presets/education/language_school.svg";
3254 set icon_z17;
3255}
3256node[amenity=driving_school] {
3257 icon-image: "presets/education/driving_school.svg";
3258 set icon_z17;
3259}
3260area[amenity=pharmacy],
3261area[amenity=hospital],
3262area[amenity=clinic],
3263area[amenity=nursing_home],
3264area[amenity=social_facility],
3265area[amenity=baby_hatch],
3266area[amenity=doctors],
3267area[amenity=dentist],
3268area[amenity=animal_shelter],
3269area[amenity=veterinary] {
3270 fill-color: health#eeeeee;
3271}
3272node[amenity=pharmacy] {
3273 icon-image: "presets/health/pharmacy.svg";
3274 set icon_z17;
3275}
3276node[amenity=hospital] {
3277 icon-image: "presets/health/hospital.svg";
3278 set icon_z17;
3279}
3280node[amenity=clinic] {
3281 icon-image: "presets/health/clinic.svg";
3282 set icon_z17;
3283}
3284node[amenity=social_facility][social_facility=nursing_home],
3285node[amenity=nursing_home] {
3286 icon-image: "presets/social_facility/nursing_home.svg";
3287 set icon_z17;
3288}
3289node[amenity=social_facility][social_facility=group_home] {
3290 icon-image: "presets/social_facility/group_home.svg";
3291 set icon_z17;
3292}
3293node[amenity=social_facility][social_facility=assisted_living] {
3294 icon-image: "presets/social_facility/assisted_living.svg";
3295 set icon_z17;
3296}
3297node[amenity=social_facility][social_facility=outreach] {
3298 icon-image: "presets/social_facility/outreach.svg";
3299 set icon_z17;
3300}
3301node[amenity=social_facility][social_facility=shelter] {
3302 icon-image: "presets/social_facility/shelter.svg";
3303 set icon_z17;
3304}
3305node[amenity=social_facility][social_facility=food_bank] {
3306 icon-image: "presets/social_facility/food_bank.svg";
3307 set icon_z17;
3308}
3309node[amenity=baby_hatch] {
3310 icon-image: "presets/health/baby_hatch.svg";
3311 set icon_z17;
3312}
3313node[amenity=doctors] {
3314 icon-image: "presets/health/doctors.svg";
3315 set icon_z17;
3316}
3317node[amenity=dentist] {
3318 icon-image: "presets/health/dentist.svg";
3319 set icon_z17;
3320}
3321node[amenity=animal_shelter] {
3322 icon-image: "presets/health/animal_shelter.svg";
3323 set icon_z17;
3324}
3325node[amenity=veterinary] {
3326 icon-image: "presets/health/veterinary.svg";
3327 set icon_z17;
3328}
3329area[amenity=library],
3330area[amenity=public_bookcase],
3331area[amenity=police],
3332area[amenity=ranger_station],
3333area[amenity=fire_station],
3334area[amenity=bus_station],
3335area[amenity=ferry_terminal],
3336area[amenity=theatre],
3337area[amenity=cinema],
3338area[amenity=dive_centre],
3339area[amenity=public_bath],
3340area[amenity=arts_centre],
3341area[amenity=courthouse],
3342area[amenity=prison],
3343area[amenity=bank],
3344area[amenity=bureau_de_change],
3345area[amenity=money_transfer],
3346area[amenity=bbq],
3347area[amenity=watering_place] {
3348 fill-color: amenity_light#f7efb7;
3349}
3350node[amenity=library] {
3351 icon-image: "presets/education/library.svg";
3352 set icon_z17;
3353}
3354node[amenity=public_bookcase] {
3355 icon-image: "presets/education/public_bookcase.svg";
3356 set icon_z17;
3357}
3358node[amenity=police] {
3359 icon-image: "presets/service/police.svg";
3360 set icon_z17;
3361}
3362node[amenity=ranger_station] {
3363 icon-image: "presets/service/ranger_station.svg";
3364 set icon_z17;
3365}
3366node[amenity=fire_station] {
3367 icon-image: "presets/service/firebrigade.svg";
3368 set icon_z17;
3369}
3370node[amenity=bus_station] {
3371 icon-image: "presets/transport/bus_old.svg";
3372 set icon_z17;
3373}
3374node[amenity=ferry_terminal] {
3375 icon-image: "presets/nautical/ferry.svg";
3376 set icon_z17;
3377}
3378node[amenity=theatre] {
3379 icon-image: "presets/leisure/theater.svg";
3380 set icon_z17;
3381}
3382node[amenity=cinema] {
3383 icon-image: "presets/leisure/cinema.svg";
3384 set icon_z17;
3385}
3386node[amenity=dive_centre] {
3387 icon-image: "presets/leisure/dive_centre.svg";
3388 set icon_z17;
3389}
3390node[amenity=public_bath] {
3391 icon-image: "presets/leisure/public_bath.svg";
3392 set icon_z17;
3393}
3394node[amenity=arts_centre] {
3395 icon-image: "presets/sightseeing/arts_centre.svg";
3396 set icon_z17;
3397}
3398node[amenity=courthouse] {
3399 icon-image: "presets/service/courthouse.svg";
3400 set icon_z17;
3401}
3402node[amenity=prison] {
3403 icon-image: "presets/service/prison.svg";
3404 set icon_z17;
3405}
3406node[amenity=bank] {
3407 icon-image: "presets/money/bank.svg";
3408 set icon_z17;
3409}
3410node[amenity=bureau_de_change] {
3411 icon-image: "presets/money/exchange.svg";
3412 set icon_z17;
3413}
3414node[amenity=money_transfer] {
3415 icon-image: "presets/money/money_transfer.svg";
3416 set icon_z17;
3417}
3418node[amenity=atm] {
3419 icon-image: "presets/money/atm.svg";
3420 set icon_z17;
3421}
3422way[amenity=bench] {
3423 width: 2;
3424 color: amenity_light#f7efb7;
3425}
3426node[amenity=bench] {
3427 icon-image: "presets/leisure/bench.svg";
3428 set icon_z17;
3429}
3430node[amenity=bbq] {
3431 icon-image: "presets/leisure/bbq.svg";
3432 set icon_z17;
3433}
3434node[amenity=compressed_air] {
3435 icon-image: "presets/vehicle/compressed_air.svg";
3436 set icon_z17;
3437}
3438node[amenity=watering_place] {
3439 icon-image: "presets/misc/watering_place.svg";
3440 set icon_z17;
3441}
3442area[amenity=shelter],
3443area[amenity=marketplace],
3444area[amenity=wlan] {
3445 fill-color: amenity_light#f7efb7;
3446}
3447node[amenity=shelter] {
3448 icon-image: "presets/accommodation/shelter.svg";
3449 set icon_z17;
3450}
3451node[amenity=shelter][shelter_type=public_transport] {
3452 icon-image: "presets/accommodation/shelter_public_transport.svg";
3453 set icon_z17;
3454}
3455node[amenity=shelter][shelter_type=picnic_shelter] {
3456 icon-image: "presets/accommodation/shelter_picnic.svg";
3457 set icon_z17;
3458}
3459node[amenity=shelter][shelter_type=basic_hut] {
3460 icon-image: "presets/accommodation/basic_hut.svg";
3461 set icon_z17;
3462}
3463node[amenity=shelter][shelter_type=gazebo] {
3464 icon-image: "presets/accommodation/gazebo.svg";
3465 set icon_z17;
3466}
3467node[amenity=shelter][shelter_type=lean_to] {
3468 icon-image: "presets/accommodation/shelter_lean_to.svg";
3469 set icon_z17;
3470}
3471node[amenity=hunting_stand] {
3472 icon-image: "presets/landmark/hunting_stand.svg";
3473 set icon_z17;
3474}
3475node[amenity=marketplace] {
3476 icon-image: "presets/shop/marketplace.svg";
3477 set icon_z17;
3478}
3479node[amenity=vending_machine] {
3480 icon-image: "presets/transport/ticket-machine.svg";
3481 set icon_z17;
3482}
3483node[vending=excrement_bags] {
3484 icon-image: "presets/service/excrement_bags.svg";
3485 set icon_z17;
3486}
3487
3488/**************/
3489/* craft tags */
3490/**************/
3491
3492area[craft=carpenter],
3493area[craft=shoemaker],
3494area[craft=photographer],
3495area[craft=metal_construction],
3496area[craft=electrician],
3497area[craft=brewery],
3498area[craft=plumber],
3499area[craft=sawmill],
3500area[craft=gardener],
3501area[craft=winery],
3502area[craft=hvac],
3503area[craft=painter],
3504area[craft=stonemason],
3505area[craft=handicraft],
3506area[craft=pottery],
3507area[craft=key_cutter],
3508area[craft=caterer],
3509area[craft=roofer],
3510area[craft=beekeeper],
3511area[craft=blacksmith],
3512area[craft=locksmith],
3513area[craft=window_construction],
3514area[craft=upholsterer],
3515area[craft=tiler] {
3516 fill-color: craft#999900;
3517}
3518node[craft=carpenter] {
3519 icon-image: "presets/craft/carpenter.svg";
3520 set icon_z17;
3521}
3522node[craft=shoemaker] {
3523 icon-image: "presets/craft/shoemaker.svg";
3524 set icon_z17;
3525}
3526node[craft=photographer] {
3527 icon-image: "presets/craft/photographer.svg";
3528 set icon_z17;
3529}
3530node[craft=metal_construction] {
3531 icon-image: "presets/craft/metal_construction.svg";
3532 set icon_z17;
3533}node[craft=electrician] {
3534 icon-image: "presets/craft/electrician.svg";
3535 set icon_z17;
3536}
3537node[craft=brewery] {
3538 icon-image: "presets/craft/brewery.svg";
3539 set icon_z17;
3540}
3541node[craft=plumber] {
3542 icon-image: "presets/craft/plumber.svg";
3543 set icon_z17;
3544}
3545node[craft=sawmill] {
3546 icon-image: "presets/craft/sawmill.svg";
3547 set icon_z17;
3548}
3549node[craft=gardener] {
3550 icon-image: "presets/craft/gardener.svg";
3551 set icon_z17;
3552}
3553node[craft=winery] {
3554 icon-image: "presets/craft/winery.svg";
3555 set icon_z17;
3556}
3557node[craft=hvac] {
3558 icon-image: "presets/craft/hvac.svg";
3559 set icon_z17;
3560}
3561node[craft=painter] {
3562 icon-image: "presets/craft/painter.svg";
3563 set icon_z17;
3564}
3565node[craft=stonemason] {
3566 icon-image: "presets/craft/stonemason.svg";
3567 set icon_z17;
3568}
3569node[craft=handicraft] {
3570 icon-image: "presets/craft/handicraft.svg";
3571 set icon_z17;
3572}
3573node[craft=pottery] {
3574 icon-image: "presets/craft/pottery.svg";
3575 set icon_z17;
3576}
3577node[craft=key_cutter] {
3578 icon-image: "presets/craft/key_cutter.svg";
3579 set icon_z17;
3580}
3581node[craft=caterer] {
3582 icon-image: "presets/craft/caterer.svg";
3583 set icon_z17;
3584}
3585node[craft=roofer] {
3586 icon-image: "presets/craft/roofer.svg";
3587 set icon_z17;
3588}
3589node[craft=beekeeper] {
3590 icon-image: "presets/craft/beekeeper.svg";
3591 set icon_z17;
3592}
3593node[craft=blacksmith] {
3594 icon-image: "presets/craft/blacksmith.svg";
3595 set icon_z17;
3596}
3597node[craft=locksmith] {
3598 icon-image: "presets/craft/locksmith.svg";
3599 set icon_z17;
3600}
3601node[craft=window_construction] {
3602 icon-image: "presets/craft/window_construction.svg";
3603 set icon_z17;
3604}
3605node[craft=upholsterer] {
3606 icon-image: "presets/craft/upholsterer.svg";
3607 set icon_z17;
3608}
3609node[craft=tiler] {
3610 icon-image: "presets/craft/tiler.svg";
3611 set icon_z17;
3612}
3613
3614/****************/
3615/* tourism tags */
3616/****************/
3617
3618area[tourism=hotel],
3619area[tourism=motel],
3620area[tourism=guest_house],
3621area[tourism=apartment],
3622area[tourism=hostel],
3623area[tourism=chalet],
3624area[tourism=alpine_hut],
3625area[tourism=wilderness_hut],
3626area[tourism=camp_site],
3627area[tourism=camp_pitch],
3628area[tourism=caravan_site] {
3629 fill-color: hotel#feced0;
3630}
3631node[tourism=hotel] {
3632 icon-image: "presets/accommodation/hotel.svg";
3633 set icon_z17;
3634}
3635node[tourism=motel] {
3636 icon-image: "presets/accommodation/motel.svg";
3637 set icon_z17;
3638}
3639node[tourism=guest_house] {
3640 icon-image: "presets/accommodation/guest_house.svg";
3641 set icon_z17;
3642}
3643node[tourism=apartment] {
3644 icon-image: "presets/accommodation/apartment.svg";
3645 set icon_z17;
3646}
3647node[tourism=hostel] {
3648 icon-image: "presets/accommodation/hostel.svg";
3649 set icon_z17;
3650}
3651node[tourism=chalet] {
3652 icon-image: "presets/accommodation/chalet.svg";
3653 set icon_z17;
3654}
3655node[tourism=alpine_hut] {
3656 icon-image: "presets/accommodation/alpine_hut.svg";
3657 set icon_z17;
3658}
3659node[tourism=wilderness_hut] {
3660 icon-image: "presets/accommodation/wilderness_hut.svg";
3661 set icon_z17;
3662}
3663node[tourism=camp_site] {
3664 icon-image: "presets/accommodation/camping.svg";
3665 set icon_z17;
3666}
3667node[tourism=camp_pitch] {
3668 icon-image: "presets/accommodation/camp_pitch.svg";
3669 set icon_z17;
3670}
3671node[tourism=caravan_site] {
3672 icon-image: "presets/accommodation/caravan.svg";
3673 set icon_z17;
3674}
3675area[tourism=attraction]:closed {
3676 fill-color: tourism#e180a2;
3677}
3678way[tourism=attraction] {
3679 width: 2;
3680 color: tourism#e180a2;
3681}
3682node[tourism=attraction] {
3683 icon-image: "presets/sightseeing/attraction.svg";
3684 set icon_z17;
3685}
3686area[tourism=picnic_site],
3687area[tourism=viewpoint],
3688area[tourism=theme_park],
3689area[tourism=zoo],
3690area[tourism=gallery],
3691area[tourism=museum] {
3692 fill-color: tourism#e180a2;
3693}
3694node[tourism=picnic_site] {
3695 icon-image: "presets/leisure/picnic.svg";
3696 set icon_z17;
3697}
3698node[tourism=viewpoint] {
3699 icon-image: "presets/sightseeing/viewpoint.svg";
3700 set icon_z17;
3701}
3702node[tourism=theme_park] {
3703 icon-image: "presets/leisure/theme_park.svg";
3704 set icon_z17;
3705}
3706node[tourism=zoo] {
3707 icon-image: "presets/leisure/zoo.svg";
3708 set icon_z17;
3709}
3710area[tourism=artwork]:closed {
3711 fill-color: tourism#e180a2;
3712}
3713way[tourism=artwork] {
3714 width: 2;
3715 color: tourism#e180a2;
3716}
3717node[tourism=artwork] {
3718 icon-image: "presets/sightseeing/arts_centre.svg";
3719 set icon_z17;
3720}
3721node[tourism=gallery] {
3722 icon-image: "presets/sightseeing/gallery.svg";
3723 set icon_z17;
3724}
3725node[tourism=museum] {
3726 icon-image: "presets/sightseeing/museum.svg";
3727 set icon_z17;
3728}
3729
3730/********************/
3731/* attraction tags */
3732/********************/
3733
3734area[attraction=animal] {
3735 fill-color: attraction#ffbfd3;
3736 color: attraction#ffbfd3; /* color explizitly needed here to overwrite the color already set by (a lot of wrongly tagged) tourism=attraction */
3737}
3738node[attraction=animal] {
3739 icon-image: "presets/attraction/animal.svg";
3740 set icon_z17;
3741}
3742way[attraction=water_slide] {
3743 width: 2;
3744 color: attraction#ffbfd3;
3745}
3746node[attraction=water_slide] {
3747 icon-image: "presets/attraction/water_slide.svg";
3748 set icon_z17;
3749}
3750
3751/********************/
3752/* information tags */
3753/********************/
3754
3755area[tourism=information] {
3756 fill-color: tourism#e180a2;
3757}
3758node[tourism=information] {
3759 icon-image: "presets/misc/information/information.svg";
3760 set icon_z17;
3761}
3762node[tourism=information][information=guidepost] {
3763 icon-image: "presets/misc/information/guidepost.svg";
3764 set icon_z17;
3765}
3766node[tourism=information][information=route_marker] {
3767 icon-image: "presets/misc/information/route_marker.svg";
3768 set icon_z17;
3769}
3770node[tourism=information][information=audioguide] {
3771 icon-image: "presets/misc/information/audioguide.svg";
3772 set icon_z17;
3773}
3774area[tourism=information][information=office] {
3775 fill-color: tourism#e180a2;
3776}
3777node[tourism=information][information=office] {
3778 icon-image: "presets/misc/information/informationoffice.svg";
3779 set icon_z17;
3780}
3781node[tourism=information][information=map] {
3782 icon-image: "presets/misc/information/map.svg";
3783 set icon_z17;
3784}
3785node[tourism=information][information=board] {
3786 icon-image: "presets/misc/information/board.svg";
3787 set icon_z17;
3788}
3789
3790/*****************/
3791/* historic tags */
3792/*****************/
3793
3794area[historic=castle],
3795area[historic=fort],
3796area[historic=monument],
3797area[historic=memorial],
3798area[historic=tomb],
3799area[historic=archaeological_site],
3800area[historic=ruins],
3801area[historic=battlefield],
3802area[geological=palaeontological_site],
3803area[historic=city_gate],
3804area[historic=manor],
3805area[historic=church],
3806area[historic=monastery],
3807area[historic=charcoal_pile],
3808area[historic=mine],
3809area[historic=mine_shaft],
3810area[historic=shieling],
3811area[historic=wayside_cross],
3812area[historic=wayside_shrine],
3813area[historic=boundary_stone],
3814area[historic=milestone] {
3815 fill-color: historic#663300;
3816}
3817node[historic=fort] {
3818 icon-image: "presets/sightseeing/fort.svg";
3819 set icon_z17;
3820}
3821node[historic=castle] {
3822 icon-image: "presets/sightseeing/castle.svg";
3823 set icon_z17;
3824}
3825node[historic=monument] {
3826 icon-image: "presets/sightseeing/monument.svg";
3827 set icon_z17;
3828}
3829node[historic=memorial] {
3830 icon-image: "presets/sightseeing/memorial.svg";
3831 set icon_z17;
3832}
3833node[historic=archaeological_site] {
3834 icon-image: "presets/sightseeing/archaeological.svg";
3835 set icon_z17;
3836}
3837node[historic=ruins] {
3838 icon-image: "presets/sightseeing/ruins.svg";
3839 set icon_z17;
3840}
3841node[historic=battlefield] {
3842 icon-image: "presets/sightseeing/battlefield.svg";
3843 set icon_z17;
3844}
3845node[geological=palaeontological_site] {
3846 icon-image: "presets/sightseeing/palaeontological_site.svg";
3847 set icon_z17;
3848}
3849area[historic=citywalls]:closed {
3850 fill-color: historic#663300;
3851}
3852way[historic=citywalls] {
3853 width: 2;
3854 color: historic#663300;
3855}
3856node[historic=city_gate] {
3857 icon-image: "presets/sightseeing/city_gate.svg";
3858 set icon_z17;
3859}
3860node[historic=manor] {
3861 icon-image: "presets/sightseeing/manor.svg";
3862 set icon_z17;
3863}
3864node[historic=church] {
3865 icon-image: "presets/religion/historic_church.svg";
3866 set icon_z17;
3867}
3868node[historic=monastery] {
3869 icon-image: "presets/sightseeing/monastery.svg";
3870 set icon_z17;
3871}
3872node[historic=charcoal_pile] {
3873 icon-image: "presets/misc/charcoal_pile.svg";
3874 set icon_z17;
3875}
3876node[historic=mine],
3877node[historic=mine_shaft] {
3878 icon-image: "presets/landmark/historic_mine.svg";
3879 set icon_z17;
3880}
3881node[historic=shieling] {
3882 icon-image: "presets/landmark/shieling.svg";
3883 set icon_z17;
3884}
3885node[historic=wayside_cross] {
3886 icon-image: "presets/religion/wayside_cross.svg";
3887 set icon_z17;
3888}
3889node[historic=wayside_shrine] {
3890 icon-image: "presets/religion/wayside_shrine.svg";
3891 set icon_z17;
3892}
3893node[historic=boundary_stone] {
3894 icon-image: "presets/landmark/boundary_stone.svg";
3895 set icon_z17;
3896}
3897node[historic=milestone] {
3898 icon-image: "presets/landmark/milestone.svg";
3899 set icon_z17;
3900}
3901area[cemetery=grave] {
3902 fill-color: grave#663300;
3903}
3904node[cemetery=grave] {
3905 icon-image: "presets/misc/grave.svg";
3906 set icon_z17;
3907}
3908area[cemetery=sector] {
3909 fill-color: cemetery_sector#dbf8e6;
3910}
3911node[cemetery=sector] {
3912 icon-image: "presets/misc/cemetery_sector.svg";
3913 set icon_z17;
3914}
3915node[historic=tomb] {
3916 icon-image: "presets/misc/tomb.svg";
3917 set icon_z17;
3918}
3919
3920/****************/
3921/* landuse tags */
3922/****************/
3923
3924area[landuse],
3925area[leisure],
3926area[amenity],
3927area[place],
3928area[natural],
3929area[man_made] {
3930 z-index: -2; /* put areas that can have other areas inside (e.g. building) a little lower, see #9606 */
3931}
3932area[landuse=farmland] {
3933 fill-color: farmland#b8e0b1;
3934}
3935area[landuse=meadow] {
3936 fill-color: meadow#b1e0b6;
3937}
3938area[landuse=vineyard],
3939area[landuse=orchard] {
3940 fill-color: green#b1e0c2;
3941}
3942area[landuse=quarry] {
3943 fill-color: quarry#888888;
3944}
3945area[landuse=landfill] {
3946 fill-color: landfill#663300;
3947}
3948area[landuse=basin],
3949area[landuse=reservoir] {
3950 fill-color: basin#0000bf;
3951}
3952area[landuse=forest] {
3953 fill-color: forest#b1efc8;
3954}
3955area[landuse=allotments] {
3956 fill-color: allotments#5dbf80;
3957}
3958area[landuse=greenhouse_horticulture],
3959area[landuse=plant_nursery] {
3960 fill-color: green#b1e0c2;
3961}
3962area[landuse=salt_pond] {
3963 fill-color: salt_pond#eeeeee;
3964}
3965area[landuse=aquaculture] {
3966 fill-color: aquaculture#189dff;
3967}
3968area[landuse=flowerbed] {
3969 fill-color: flowerbed#91c956;
3970}
3971area[landuse=grass] {
3972 fill-color: grass#97ca96;
3973}
3974area[landuse=residential] {
3975 fill-color: residential#f0f0f0;
3976}
3977area[landuse=garages] {
3978 fill-color: garages#d6c8aa;
3979}
3980area[landuse=farmyard] {
3981 fill-color: farmyard#f0f0f0;
3982}
3983area[landuse=education] {
3984 fill-color: education#f7efb7;
3985}
3986area[landuse=retail] {
3987 fill-color: retail#ffc4ee;
3988}
3989area[landuse=commercial] {
3990 fill-color: commercial#ffc4ee;
3991}
3992area[landuse=industrial] {
3993 fill-color: industrial#ecd8ff;
3994}
3995area[landuse=brownfield] {
3996 fill-color: brownfield#ecba32;
3997}
3998area[landuse=greenfield] {
3999 fill-color: greenfield#b1ec5c;
4000}
4001area[landuse=railway] {
4002 fill-color: railland#888888;
4003}
4004area[landuse=construction] {
4005 fill-color: construction#ffff00;
4006 width: 1;
4007 dashes: 9,9;
4008}
4009area[landuse=military] {
4010 fill-color: military#b62c2c;
4011}
4012area[landuse=religious] {
4013 fill-color: religious#ffd454;
4014}
4015area[landuse=cemetery] {
4016 fill-color: cemetery#b1efc8;
4017}
4018area[landuse=village_green] {
4019 fill-color: green#b1e0c2;
4020}
4021area[landuse=recreation_ground] {
4022 fill-color: green#b1e0c2;
4023}
4024node[landuse] {
4025 icon-image: "presets/misc/deprecated.svg";
4026 set icon_z17;
4027}
4028
4029/*****************/
4030/* military tags */
4031/*****************/
4032
4033area[military=airfield],
4034area[military=bunker],
4035area[military=barracks],
4036area[military=danger_area],
4037area[military=range] {
4038 fill-color: military#b62c2c;
4039}
4040node[military=airfield] {
4041 icon-image: "presets/transport/airport/airfield.svg";
4042 set icon_z17;
4043}
4044node[military=bunker] {
4045 icon-image: "presets/landmark/bunker.svg";
4046 set icon_z17;
4047}
4048node[military=barracks][!is_prop_set(icon-image)] {
4049 icon-image: "presets/misc/no_icon.svg";
4050 set icon_z17;
4051}
4052node[military=danger_area] {
4053 icon-image: "presets/misc/danger.svg";
4054 set icon_z17;
4055}
4056node[military=range] {
4057 icon-image: "presets/sport/range.svg";
4058 set icon_z17;
4059}
4060
4061/****************/
4062/* railway tags */
4063/****************/
4064
4065area[railway=station] {
4066 fill-color: railwaypoint#f7efb7;
4067}
4068node[railway=station] {
4069 icon-image: "presets/transport/railway_station.svg";
4070 set icon_z17;
4071}
4072node[railway=halt] {
4073 icon-image: "presets/transport/railway_halt.svg";
4074 set icon_z17;
4075}
4076node[railway=tram_stop] {
4077 icon-image: "presets/transport/tram.svg";
4078 set icon_z17;
4079}
4080node[railway=subway_entrance] {
4081 icon-image: "presets/transport/underground.svg";
4082 set icon_z17;
4083}
4084node[railway=crossing] {
4085 icon-image: "presets/transport/railway/crossing.svg";
4086 set icon_z17;
4087}
4088node[railway=level_crossing] {
4089 icon-image: "presets/transport/railway/level_crossing.svg";
4090 set icon_z17;
4091}
4092way[railway=rail] {
4093 width: 2;
4094 color: rail#404040;
4095 dashes: 9,9;
4096 dashes-background-color: raildashed#ffffff;
4097}
4098way[railway=rail][service=crossover],
4099way[railway=rail][service=siding] {
4100 width: 1;
4101}
4102way[railway=rail][service=yard],
4103way[railway=rail][service=spur] {
4104 width: 1;
4105 color: railyard#552200;
4106}
4107/* draw tram and light_rail on top of other way (highway=*) or
4108 as a standalone style */
4109way[highway][railway=tram]::core_railway,
4110way[!highway][railway=tram] {
4111 z-index: 1;
4112 modifier: false; /* don't draw default way if there is no line on default layer */
4113 width: 1;
4114 color: railover#202020;
4115 dashes: 9,9;
4116 casing-width: 1;
4117 casing-color: otherrail#808080;
4118 casing-linecap: round;
4119 casing-dashes: 9,9;
4120}
4121way[highway][railway=tram][service=crossover]::core_railway,
4122way[!highway][railway=tram][service=crossover],
4123way[highway][railway=tram][service=siding]::core_railway,
4124way[!highway][railway=tram][service=siding],
4125way[highway][railway=tram][service=yard]::core_railway,
4126way[!highway][railway=tram][service=yard],
4127way[highway][railway=tram][service=spur]::core_railway,
4128way[!highway][railway=tram][service=spur] {
4129 dashes: 6,6;
4130 casing-dashes: 6,6;
4131}
4132
4133way[highway][railway=light_rail]::core_railway,
4134way[!highway][railway=light_rail] {
4135 z-index: 1;
4136 modifier: false; /* don't draw default way if there is no line on default layer */
4137 width: 2;
4138 color: otherrail#808080;
4139 dashes: 9,9;
4140}
4141way[railway=subway] {
4142 width: 1;
4143 color: subway#606060;
4144 dashes: 9,9;
4145}
4146way[railway=preserved] {
4147 width: 1;
4148 color: oldrail#404040;
4149 dashes: 9,9;
4150}
4151way[railway=light_rail][service=crossover],
4152way[railway=light_rail][service=siding],
4153way[railway=light_rail][service=yard],
4154way[railway=light_rail][service=spur],
4155way[railway=subway][service=crossover],
4156way[railway=subway][service=siding],
4157way[railway=subway][service=yard],
4158way[railway=subway][service=spur],
4159way[railway=preserved][service=crossover],
4160way[railway=preserved][service=siding],
4161way[railway=preserved][service=yard],
4162way[railway=preserved][service=spur] {
4163 dashes: 6,6;
4164}
4165/* disused often appears together with highway=xy */
4166/* -> draw on separate layer with higher z-index, but use */
4167/* modifier: false; to suppress default line when used alone. */
4168/* use default layer when used without highway=* to display bridge correctly */
4169way[railway=disused][highway]::core_railway,
4170way[railway=disused][!highway],
4171way[railway=abandoned][highway]::core_railway,
4172way[railway=abandoned][!highway] {
4173 width: 1;
4174 modifier: false;
4175 z-index: 1;
4176 color: oldrail#404040;
4177 dashes: 9,9;
4178}
4179way[railway=narrow_gauge],
4180way[railway=monorail] {
4181 width: 1;
4182 color: rail#404040;
4183 dashes: 9,9;
4184}
4185way[railway=narrow_gauge][service=crossover],
4186way[railway=narrow_gauge][service=siding],
4187way[railway=narrow_gauge][service=yard],
4188way[railway=narrow_gauge][service=spur],
4189way[railway=monorail][service=crossover],
4190way[railway=monorail][service=siding],
4191way[railway=monorail][service=yard],
4192way[railway=monorail][service=spur] {
4193 dashes: 6,6;
4194}
4195area[railway=turntable] {
4196 fill-color: rail#404040;
4197}
4198node[railway=turntable] {
4199 icon-image: "presets/transport/railway/turntable.svg";
4200 set icon_z17;
4201}
4202node[railway=buffer_stop] {
4203 icon-image: "presets/transport/railway/buffer_stop.svg";
4204 set icon_z17;
4205}
4206area[railway=platform]:closed {
4207 fill-color: rail#404040;
4208}
4209way[railway=platform] {
4210 width: 2;
4211 color: rail#404040;
4212}
4213way[railway=funicular] {
4214 width: 1;
4215 color: rail#404040;
4216 dashes: 9,9;
4217}
4218node[railway=switch] {
4219 icon-image: "presets/transport/railway/switch.svg";
4220 set icon_z17;
4221}
4222node[railway=railway_crossing] {
4223 icon-image: "presets/transport/railway/railway_crossing.svg";
4224 set icon_z17;
4225}
4226node[railway=signal] {
4227 icon-image: "presets/transport/railway/signal.svg";
4228 set icon_z17;
4229}
4230node[railway=milestone] {
4231 icon-image: "presets/transport/railway/milestone.svg";
4232 set icon_z17;
4233}
4234node[railway=rail], node[railway=tram], node[railway=light_rail],
4235node[railway=subway], node[railway=preserved],
4236node[railway=disused], node[railway=abandoned],
4237node[railway=narrow_gauge], node[railway=monorail],
4238node[railway=platform], node[railway=funicular],
4239node[service=yard], node[service=siding], node[service=spur] {
4240 icon-image: "presets/misc/deprecated.svg";
4241 set icon_z17;
4242}
4243way[railway=construction][!highway] {
4244 width: 1;
4245 color: construction#ffff00;
4246 dashes: 9,9;
4247}
4248way[railway=construction][construction=rail] {
4249 width: 2;
4250 color: rail#404040;
4251 dashes: 9,9;
4252 dashes-background-color: construction#ffff00;
4253}
4254way[railway=construction][construction=light_rail][highway]::core_railway,
4255way[railway=construction][construction=light_rail][!highway] {
4256 z-index: 1;
4257 width: 2;
4258 dashes: 9,9;
4259 color: construction#ffff00;
4260}
4261way[railway=construction][construction=tram][highway]::core_railway,
4262way[railway=construction][construction=tram][!highway] {
4263 z-index: 1;
4264 width: 1;
4265 color: railover#202020;
4266 dashes: 9,9;
4267 casing-width: 1;
4268 casing-color: construction#ffff00;
4269 casing-linecap: round;
4270 casing-dashes: 9,9;
4271}
4272
4273/****************/
4274/* aeroway tags */
4275/****************/
4276
4277area[aeroway=aerodrome] {
4278 fill-color: aeroway#660000;
4279 width: 2;
4280 dashes: 9,9;
4281}
4282node[aeroway=aerodrome][military!=airfield] {
4283 icon-image: "presets/transport/airport.svg";
4284 set icon_z17;
4285}
4286area[aeroway=terminal] {
4287 fill-color: terminal#bb0000;
4288}
4289node[aeroway=terminal] {
4290 icon-image: "presets/transport/airport/terminal.svg";
4291 set icon_z17;
4292}
4293area[aeroway=helipad] {
4294 fill-color: aeroway_dark#330000;
4295}
4296node[aeroway=helipad] {
4297 icon-image: "presets/transport/airport/helipad.svg";
4298 set icon_z17;
4299}
4300area[aeroway=runway]:closed {
4301 fill-color: aeroway_dark#330000;
4302}
4303way[aeroway=runway] {
4304 width: 3;
4305 color: aeroway_dark#330000;
4306}
4307area[aeroway=taxiway]:closed {
4308 fill-color: aeroway#660000;
4309}
4310way[aeroway=taxiway] {
4311 width: 2;
4312 color: aeroway#660000;
4313}
4314way[aeroway=parking_position] {
4315 width: 1;
4316 color: aeroway#660000;
4317}
4318node[aeroway=parking_position] {
4319 icon-image: "presets/transport/airport/parking_position.svg";
4320 set icon_z17;
4321}
4322area[aeroway=apron],
4323area[aeroway=hangar] {
4324 fill-color: aeroway_light#990000;
4325}
4326node[aeroway=apron],
4327node[aeroway=runway],
4328node[aeroway=taxiway] {
4329 icon-image: "presets/misc/deprecated.svg";
4330 set icon_z17;
4331}
4332node[aeroway=holding_position] {
4333 icon-image: "presets/transport/airport/holding_position.svg";
4334 set icon_z17;
4335}
4336way[aeroway=holding_position] {
4337 width: 1;
4338 color: aeroway_marking#D6CE08;
4339}
4340node[aeroway=hangar] {
4341 icon-image: "presets/transport/airport/hangar.svg";
4342 set icon_z17;
4343}
4344node[aeroway=gate] {
4345 icon-image: "presets/transport/airport/gate.svg";
4346 set icon_z17;
4347}
4348node[airmark=beacon] {
4349 icon-image: "presets/transport/airport/airmark_beacon.svg";
4350 set icon_z17;
4351}
4352node[aeroway=navigationaid] {
4353 icon-image: "presets/transport/airport/navigationaid.svg";
4354 set icon_z17;
4355}
4356node[aeroway=navigationaid][navigationaid=papi] {
4357 icon-image: "presets/transport/airport/papi.svg";
4358 set icon_z17;
4359}
4360node[aeroway=navigationaid][navigationaid=vasi] {
4361 icon-image: "presets/transport/airport/vasi.svg";
4362 set icon_z17;
4363}
4364node[aeroway=windsock] {
4365 icon-image: "presets/transport/airport/windsock.svg";
4366 set icon_z17;
4367}
4368
4369/******************/
4370/* aerialway tags */
4371/******************/
4372
4373way[aerialway=cable_car],
4374way[aerialway=gondola] {
4375 width: 1;
4376 color: aerialway#663300;
4377 dashes: 9,9;
4378}
4379way[aerialway=chair_lift] {
4380 width: 1;
4381 color: aerialway#663300;
4382 dashes: 6,6;
4383}
4384way[aerialway=mixed_lift] {
4385 width: 1;
4386 color: aerialway#663300;
4387 dashes: 6,6,9,6;
4388}
4389way[aerialway=j-bar],
4390way[aerialway=t-bar],
4391way[aerialway=platter],
4392way[aerialway=rope_tow],
4393way[aerialway=drag_lift] {
4394 width: 1;
4395 color: aerialway#663300;
4396 dashes: 3,3;
4397}
4398way[aerialway=magic_carpet] {
4399 width: 1;
4400 color: aerialway#663300;
4401 dashes: 3,3;
4402}
4403way[aerialway=goods] {
4404 width: 1;
4405 color: aerialway#663300;
4406 dashes: 2,2;
4407}
4408way[aerialway=zip_line] {
4409 width: 1;
4410 color: aerialway#663300;
4411 dashes: 3,3;
4412}
4413area[aerialway=station] {
4414 fill-color: aerialway#663300;
4415}
4416node[aerialway=station] {
4417 icon-image: "presets/transport/aerialway/station.svg";
4418 set icon_z17;
4419}
4420node[aerialway=pylon] {
4421 icon-image: "presets/transport/aerialway/pylon.svg";
4422 set icon_z17;
4423}
4424node[aerialway=cable_car],
4425node[aerialway=gondola],
4426node[aerialway=chair_lift],
4427node[aerialway=mixed_lift],
4428node[aerialway=drag_lift],
4429node[aerialway=t-bar],
4430node[aerialway=j-bar],
4431node[aerialway=platter],
4432node[aerialway=magic_carpet],
4433node[aerialway=rope_tow],
4434node[aerialway=goods],
4435node[aerialway=zip_line] {
4436 icon-image: "presets/misc/deprecated.svg";
4437 set icon_z17;
4438}
4439
4440/*************************/
4441/* public_transport tags */
4442/*************************/
4443
4444node[highway=bus_stop] {
4445 icon-image: "presets/transport/bus_small.svg";
4446 set icon_z17;
4447}
4448node[public_transport=stop_position] {
4449 icon-image: "presets/transport/stop_position.svg";
4450 set icon_z17;
4451}
4452node[public_transport=stop_position][share_taxi=yes] {
4453 icon-image: "presets/transport/share_taxi.svg";
4454 set icon_z17;
4455}
4456node[public_transport=stop_position][bus=yes] {
4457 icon-image: "presets/transport/bus.svg";
4458 set icon_z17;
4459}
4460node[public_transport=stop_position][train=yes] {
4461 icon-image: "presets/transport/train.svg";
4462 set icon_z17;
4463}
4464node[public_transport=stop_position][light_rail=yes] {
4465 icon-image: "presets/transport/railway/light_rail.svg";
4466 set icon_z17;
4467}
4468node[public_transport=stop_position][tram=yes] {
4469 icon-image: "presets/transport/railway/tram.svg";
4470 set icon_z17;
4471}
4472node[public_transport=stop_position][subway=yes] {
4473 icon-image: "presets/transport/railway/subway.svg";
4474 set icon_z17;
4475}
4476node[public_transport=stop_position][monorail=yes] {
4477 icon-image: "presets/transport/railway/monorail.svg";
4478 set icon_z17;
4479}
4480node[public_transport=stop_position][trolleybus=yes] {
4481 icon-image: "presets/transport/trolleybus.svg";
4482 set icon_z17;
4483}
4484node[public_transport=stop_position][funicular=yes] {
4485 icon-image: "presets/transport/railway/funicular.svg";
4486 set icon_z17;
4487}
4488node[public_transport=stop_position][aerialway=yes] {
4489 icon-image: "presets/transport/aerialway/station.svg";
4490 set icon_z17;
4491}
4492node[public_transport=stop_position][ferry=yes] {
4493 icon-image: "presets/nautical/ferry.svg";
4494 set icon_z17;
4495}
4496area[public_transport=platform]:closed {
4497 fill-color: service#809bc0;
4498}
4499way[public_transport=platform]!:closed {
4500 width: 3;
4501 color: service#809bc0;
4502 dashes: 12,3;
4503}
4504node[public_transport=platform] {
4505 icon-image: "presets/transport/platform.svg";
4506 set icon_z17;
4507}
4508area[public_transport=station] {
4509 fill-color: railwaypoint#f7efb7;
4510}
4511node[public_transport=station] {
4512 icon-image: "presets/transport/station.svg";
4513 set icon_z17;
4514}
4515
4516/**************/
4517/* sport tags */
4518/**************/
4519
4520area[sport="9pin"],
4521area[sport="10pin"],
4522area[sport=soccer],
4523area[sport=australian_football],
4524area[sport=american_football],
4525area[sport=canadian_football],
4526area[sport=gaelic_games],
4527area[sport=rugby_league],
4528area[sport=rugby_union] {
4529 fill-color: sport#bde3cb;
4530}
4531node[sport="9pin"] {
4532 icon-image: "presets/sport/9pin.svg";
4533 set icon_z17;
4534}
4535node[sport="10pin"] {
4536 icon-image: "presets/sport/10pin.svg";
4537 set icon_z17;
4538}
4539node[sport=soccer],
4540node[sport=gaelic_games] {
4541 icon-image: "presets/sport/soccer.svg";
4542 set icon_z17;
4543}
4544node[sport=australian_football],
4545node[sport=american_football],
4546node[sport=canadian_football],
4547node[sport=rugby_league],
4548node[sport=rugby_union] {
4549 icon-image: "presets/sport/football.svg";
4550 set icon_z17;
4551}
4552area[sport=baseball],
4553area[sport=basketball],
4554area[sport=boules],
4555area[sport=bowls],
4556area[sport=canoe],
4557area[sport=chess],
4558area[sport=climbing]:closed,
4559area[sport=cricket],
4560area[sport=croquet] {
4561 fill-color: sport#bde3cb;
4562}
4563node[sport=baseball] {
4564 icon-image: "presets/sport/baseball.svg";
4565 set icon_z17;
4566}
4567node[sport=basketball] {
4568 icon-image: "presets/sport/basketball.svg";
4569 set icon_z17;
4570}
4571node[sport=boules] {
4572 icon-image: "presets/sport/boule.svg";
4573 set icon_z17;
4574}
4575node[sport=bowls] {
4576 icon-image: "presets/sport/boule.svg";
4577 set icon_z17;
4578}
4579node[sport=canoe] {
4580 icon-image: "presets/sport/canoe.svg";
4581 set icon_z17;
4582}
4583node[sport=chess] {
4584 icon-image: "presets/sport/chess.svg";
4585 set icon_z17;
4586}
4587node[sport=climbing] {
4588 icon-image: "presets/sport/climbing.svg";
4589 set icon_z17;
4590}
4591node[sport=cricket] {
4592 icon-image: "presets/sport/cricket.svg";
4593 set icon_z17;
4594}
4595node[sport=croquet] {
4596 icon-image: "presets/sport/croquet.svg";
4597 set icon_z17;
4598}
4599area[sport=cycling],
4600area[sport=dog_racing],
4601area[sport=equestrian],
4602area[sport=golf],
4603area[sport=gymnastics],
4604area[sport=field_hockey],
4605area[sport=ice_hockey],
4606area[sport=curling],
4607area[sport=horse_racing],
4608area[sport=karting][highway!=raceway],
4609area[sport=karting][highway=raceway][area=yes],
4610area[sport=motocross][highway!=raceway],
4611area[sport=motocross][highway=raceway][area=yes],
4612area[sport=motor][highway!=raceway],
4613area[sport=motor][highway=raceway][area=yes] {
4614 fill-color: sport#bde3cb;
4615}
4616node[sport=cycling] {
4617 icon-image: "presets/sport/cycling.svg";
4618 set icon_z17;
4619}
4620node[sport=dog_racing] {
4621 icon-image: "presets/sport/dog_racing.svg";
4622 set icon_z17;
4623}
4624node[sport=equestrian] {
4625 icon-image: "presets/sport/equestrian.svg";
4626 set icon_z17;
4627}
4628node[sport=golf] {
4629 icon-image: "presets/sport/golf.svg";
4630 set icon_z17;
4631}
4632node[sport=gymnastics] {
4633 icon-image: "presets/sport/gymnastics.svg";
4634 set icon_z17;
4635}
4636node[sport=field_hockey] {
4637 icon-image: "presets/sport/field_hockey.svg";
4638 set icon_z17;
4639}
4640node[sport=ice_hockey] {
4641 icon-image: "presets/sport/ice_hockey.svg";
4642 set icon_z17;
4643}
4644node[sport=curling] {
4645 icon-image: "presets/sport/curling.svg";
4646 set icon_z17;
4647}
4648node[sport=horse_racing] {
4649 icon-image: "presets/sport/riding.svg";
4650 set icon_z17;
4651}
4652node[sport=karting] {
4653 icon-image: "presets/sport/karting.svg";
4654 set icon_z17;
4655}
4656node[sport=motocross] {
4657 icon-image: "presets/sport/motocross.svg";
4658 set icon_z17;
4659}
4660node[sport=motor] {
4661 icon-image: "presets/sport/motor.svg";
4662 set icon_z17;
4663}
4664area[sport=athletics] {
4665 fill-color: sport_athletics#cfebd7;
4666}
4667node[sport=athletics] {
4668 icon-image: "presets/sport/athletics.svg";
4669 set icon_z17;
4670}
4671area[sport=running] {
4672 fill-color: sport_running#cfebd8;
4673}
4674node[sport=running] {
4675 icon-image: "presets/sport/running.svg";
4676 set icon_z17;
4677}
4678area[sport=multi] {
4679 fill-color: sport_multi#cfebd9;
4680}
4681node[sport=multi] {
4682 icon-image: "presets/sport/multi.svg";
4683 set icon_z17;
4684}
4685area[sport=pelota],
4686area[sport=racquet],
4687area[sport=ice_skating],
4688area[sport=roller_skating],
4689area[sport=skateboard] {
4690 fill-color: sport#bde3cb;
4691}
4692node[sport=pelota] {
4693 icon-image: "presets/sport/pelota.svg";
4694 set icon_z17;
4695}
4696node[sport=racquet] {
4697 icon-image: "presets/sport/racquetball.svg";
4698 set icon_z17;
4699}
4700node[sport=ice_skating] {
4701 icon-image: "presets/sport/ice_skating.svg";
4702 set icon_z17;
4703}
4704node[sport=roller_skating] {
4705 icon-image: "presets/sport/roller_skating.svg";
4706 set icon_z17;
4707}
4708node[sport=skating] {
4709 icon-image: "presets/misc/deprecated.svg";
4710 set icon_z17;
4711}
4712node[sport=skateboard] {
4713 icon-image: "presets/sport/skateboard.svg";
4714 set icon_z17;
4715}
4716area[sport=swimming] {
4717 fill-color: swimming_pool#51c4ef;
4718}
4719node[sport=swimming] {
4720 icon-image: "presets/sport/swimming.svg";
4721 set icon_z17;
4722}
4723area[sport=table_tennis],
4724area[sport=tennis],
4725area[sport=paintball] {
4726 fill-color: sport#bde3cb;
4727}
4728node[sport=table_tennis] {
4729 icon-image: "presets/sport/table_tennis.svg";
4730 set icon_z17;
4731}
4732node[sport=tennis] {
4733 icon-image: "presets/sport/tennis.svg";
4734 set icon_z17;
4735}
4736node[sport=paintball][!is_prop_set(icon-image)] {
4737 icon-image: "presets/misc/no_icon.svg";
4738 set icon_z17;
4739}
4740area[sport=squash],
4741area[sport=shooting],
4742area[sport=volleyball],
4743area[sport=beachvolleyball],
4744area[sport=billiards],
4745area[sport=bowling],
4746area[sport=handball],
4747area[sport=rowing],
4748area[sport=sailing],
4749area[sport=scuba_diving],
4750area[sport=badminton] {
4751 fill-color: sport#bde3cb;
4752}
4753node[sport=squash][!is_prop_set(icon-image)] {
4754 icon-image: "presets/misc/no_icon.svg";
4755 set icon_z17;
4756}
4757node[sport=shooting] {
4758 icon-image: "presets/sport/range.svg";
4759 set icon_z17;
4760}
4761node[sport=volleyball] {
4762 icon-image: "presets/sport/volleyball.svg";
4763 set icon_z17;
4764}
4765node[sport=beachvolleyball] {
4766 icon-image: "presets/sport/beachvolleyball.svg";
4767 set icon_z17;
4768}
4769node[sport=billiards] {
4770 icon-image: "presets/sport/billiards.svg";
4771 set icon_z17;
4772}
4773node[sport=bowling] {
4774 icon-image: "presets/sport/9pin.svg";
4775 set icon_z17;
4776}
4777node[sport=handball] {
4778 icon-image: "presets/sport/handball.svg";
4779 set icon_z17;
4780}
4781node[sport=rowing] {
4782 icon-image: "presets/sport/rowing.svg";
4783 set icon_z17;
4784}
4785node[sport=sailing][!is_prop_set(icon-image)] {
4786 icon-image: "presets/misc/no_icon.svg";
4787 set icon_z17;
4788}
4789node[sport=scuba_diving] {
4790 icon-image: "presets/sport/scuba_diving.svg";
4791 set icon_z17;
4792}
4793node[sport=badminton][!is_prop_set(icon-image)] {
4794 icon-image: "presets/misc/no_icon.svg";
4795 set icon_z17;
4796}
4797area[sport=archery],
4798area[sport=fishing],
4799area[sport=model_aerodrome],
4800area[sport=rc_car] {
4801 fill-color: sport#bde3cb;
4802}
4803node[sport=archery] {
4804 icon-image: "presets/sport/archery.svg";
4805 set icon_z17;
4806}
4807node[sport=fishing] {
4808 icon-image: "presets/sport/fishing.svg";
4809 set icon_z17;
4810}
4811node[sport=model_aerodrome] {
4812 icon-image: "presets/transport/airport.svg";
4813 set icon_z17;
4814}
4815node[sport=rc_car] {
4816 icon-image: "presets/sport/rc_car.svg";
4817 set icon_z17;
4818}
4819
4820/****************/
4821/* natural tags */
4822/****************/
4823
4824area[natural=spring] {
4825 fill-color: light_water#00005f;
4826}
4827node[natural=spring] {
4828 icon-image: "presets/landmark/spring.svg";
4829 set icon_z17;
4830}
4831node[natural=saddle] {
4832 icon-image: "presets/landmark/saddle.svg";
4833 set icon_z0;
4834 set text_z0;
4835}
4836node[natural=peak] {
4837 icon-image: "presets/landmark/peak.svg";
4838 set icon_z0;
4839 set text_z0;
4840}
4841node[natural=peak][tourism=viewpoint] {
4842 icon-image: "presets/sightseeing/peak_viewpoint.svg";
4843 set icon_z0;
4844 set text_z0;
4845}
4846area[natural=glacier] {
4847 fill-color: glacier#ffffff;
4848}
4849node[natural=volcano] {
4850 icon-image: "presets/landmark/volcano.svg";
4851 set icon_z0;
4852 set text_z0;
4853}
4854area[natural=cliff]:closed {
4855 fill-color: natural#002f00;
4856}
4857way[natural=cliff] {
4858 repeat-image: "presets/misc/cliff_pattern.svg";
4859 repeat-image-align: top;
4860 repeat-image-offset: 0.5;
4861 width: 1;
4862 color: #b2b2b2;
4863}
4864node[natural=cliff] {
4865 icon-image: "presets/misc/cliff.svg";
4866 set icon_z17;
4867}
4868way[natural=ridge] {
4869 width: 1;
4870 color: natural#002f00;
4871}
4872way[natural=valley] {
4873 width: 1;
4874 color: natural#002f00;
4875}
4876area[natural=scree] {
4877 fill-color: scree#c3c3c3;
4878}
4879area[natural=shingle] {
4880 fill-color: shingle#c3c3c3;
4881}
4882area[natural=scrub] {
4883 fill-color: scrub#007000;
4884}
4885area[natural=fell] {
4886 fill-color: natural#002f00;
4887}
4888area[natural=heath] {
4889 fill-color: heath#ffffc0;
4890}
4891way[natural=tree_row] {
4892 width: 2;
4893 color: woodarea#008000;
4894}
4895area[natural=wood] {
4896 fill-color: woodarea#008000;
4897}
4898area[natural=grassland] {
4899 fill-color: green#b1e0c2;
4900}
4901area[natural=wetland] {
4902 fill-color: marsh#4f4ff3;
4903}
4904area[natural=water] {
4905 fill-color: water#0000ff;
4906}
4907area[natural=water][intermittent=yes] {
4908 width: 2;
4909 dashes: 15, 5;
4910}
4911way[natural=coastline] {
4912 width: 2;
4913 color: water#0000ff;
4914 right-casing-color: water#0000ff;
4915 right-casing-width: 8;
4916 right-casing-opacity: 0.35;
4917}
4918area[natural=mud] {
4919 fill-color: mud#cba762;
4920}
4921area[natural=beach] {
4922 fill-color: beach#f8dba2;
4923}
4924area[natural=sand] {
4925 fill-color: sand#f8dba2;
4926}
4927area[natural=bare_rock] {
4928 fill-color: bare_rock#f8f8c7;
4929}
4930area[natural=rock] {
4931 fill-color: stone#f8f8c7;
4932}
4933node[natural=rock] {
4934 icon-image: "presets/misc/rock.svg";
4935 set icon_z17;
4936}
4937area[natural=stone] {
4938 fill-color: stone#f8f8c7;
4939}
4940node[natural=stone] {
4941 icon-image: "presets/misc/stone.svg";
4942 set icon_z17;
4943}
4944area[natural=bay]:closed {
4945 fill-color: natural#002f00;
4946}
4947way[natural=bay] {
4948 width: 2;
4949 color: natural#002f00;
4950}
4951node[natural=bay] {
4952 icon-image: "presets/nautical/bay.svg";
4953 set icon_z17;
4954}
4955area[natural=strait]:closed {
4956 fill-color: natural#002f00;
4957}
4958way[natural=strait] {
4959 width: 2;
4960 color: natural#002f00;
4961}
4962node[natural=strait] {
4963 icon-image: "presets/nautical/strait.svg";
4964 set icon_z17;
4965}
4966area[natural=cape],
4967area[natural=sinkhole],
4968area[natural=cave_entrance] {
4969 fill-color: natural#002f00;
4970}
4971node[natural=cape] {
4972 icon-image: "presets/nautical/cape.svg";
4973 set icon_z17;
4974}
4975node[natural=sinkhole] {
4976 icon-image: "presets/landmark/sinkhole.svg";
4977 set icon_z17;
4978}
4979node[natural=sinkhole][sinkhole=bluehole] {
4980 icon-image: "presets/landmark/bluehole.svg";
4981 set icon_z17;
4982}
4983node[natural=sinkhole][sinkhole=doline] {
4984 icon-image: "presets/landmark/doline.svg";
4985 set icon_z17;
4986}
4987node[natural=sinkhole][sinkhole=estavelle] {
4988 icon-image: "presets/landmark/estavelle.svg";
4989 set icon_z17;
4990}
4991node[natural=sinkhole][sinkhole=pit] {
4992 icon-image: "presets/landmark/pit.svg";
4993 set icon_z17;
4994}
4995node[natural=sinkhole][sinkhole=ponor] {
4996 icon-image: "presets/landmark/ponor.svg";
4997 set icon_z17;
4998}
4999node[natural=cave_entrance] {
5000 icon-image: "presets/landmark/cave_entrance.svg";
5001 set icon_z17;
5002}
5003area[natural=reef] {
5004 fill-color: reef#80c9ff;
5005}
5006node[natural=reef] {
5007 icon-image: "presets/landmark/reef.svg";
5008 set icon_z17;
5009}
5010node[natural=shrub] {
5011 icon-image: "presets/landmark/shrub.svg";
5012 set icon_z17;
5013}
5014node[natural=tree] {
5015 icon-image: "presets/landmark/trees.svg";
5016 set icon_z17;
5017}
5018node[natural=tree][leaf_type=needleleaved] {
5019 icon-image: "presets/landmark/trees_conifer.svg";
5020 set icon_z17;
5021}
5022node[natural=tree][leaf_type=broadleaved] {
5023 icon-image: "presets/landmark/trees_broad_leaved.svg";
5024 set icon_z17;
5025}
5026node[natural=glacier],
5027node[natural=scree],
5028node[natural=shingle],
5029node[natural=scrub],
5030node[natural=fell],
5031node[natural=heath],
5032node[natural=tree_row],
5033node[natural=wood],
5034node[natural=grassland],
5035node[natural=wetland],
5036node[natural=water],
5037node[natural=coastline],
5038node[natural=mud],
5039node[natural=beach],
5040node[natural=sand],
5041node[natural=land],
5042node[natural=bare_rock],
5043node[natural=ridge],
5044node[natural=valley] {
5045 icon-image: "presets/misc/deprecated.svg";
5046 set icon_z17;
5047}
5048/*****************/
5049/* waterway tags */
5050/*****************/
5051
5052way[waterway=river] {
5053 width: 2;
5054 color: water#0000ff;
5055}
5056area[waterway=riverbank] {
5057 fill-color: riverbank#0000cf;
5058 width: 1;
5059 color: riverbank#0000cf;
5060}
5061way[waterway=pressurised],
5062way[waterway=canal] {
5063 width: 2;
5064 color: water#0000ff;
5065}
5066way[waterway=river][lock=yes],
5067way[waterway=canal][lock=yes] {
5068 casing-width: 2;
5069 casing-color: lock#303030;
5070 casing-dashes: 5,20;
5071}
5072way[waterway=pressurised][tunnel] {
5073 casing-width: 1;
5074 casing-color: tunnel#964B00;
5075}
5076way[waterway=pressurised][man_made=pipeline] {
5077 casing-width: 1;
5078 casing-color: pipeline#660000;
5079}
5080way[waterway=stream] {
5081 width: 1;
5082 color: stream#6600cc;
5083}
5084way[waterway=ditch],
5085way[waterway=drain] {
5086 width: 1;
5087 color: water#0000ff;
5088}
5089way[waterway=tidal_channel] {
5090 width: 1;
5091 color: tidal_channel#0000ff;
5092}
5093way[waterway=river][intermittent=yes],
5094area[waterway=riverbank][intermittent=yes],
5095way[waterway=canal][intermittent=yes],
5096way[waterway=stream][intermittent=yes],
5097way[waterway=ditch][intermittent=yes],
5098way[waterway=drain][intermittent=yes],
5099way[waterway=tidal_channel][intermittent=yes] {
5100 dashes: 15, 5;
5101}
5102area[waterway=dock] {
5103 fill-color: dock#0000cf;
5104}
5105node[waterway=dock] {
5106 icon-image: "presets/nautical/boatyard.svg";
5107 set icon_z17;
5108}
5109way[waterway=lock_gate] {
5110 width: 3;
5111 color: lock_gate#303030;
5112}
5113node[waterway=lock_gate] {
5114 icon-image: "presets/nautical/lock_gate.svg";
5115 set icon_z17;
5116}
5117node[waterway=turning_point] {
5118 icon-image: "presets/nautical/turning.svg";
5119 set icon_z17;
5120}
5121area[waterway=boatyard] {
5122 fill-color: manmade#d8d8d8;
5123}
5124node[waterway=boatyard] {
5125 icon-image: "presets/nautical/boatyard.svg";
5126 set icon_z17;
5127}
5128node[waterway=water_point],
5129node[waterway=waste_disposal],
5130node[waterway=mooring] {
5131 icon-image: "presets/misc/deprecated.svg";
5132 set icon_z17;
5133}
5134node[mooring] {
5135 icon-image: "presets/nautical/marina.svg";
5136 set icon_z17;
5137}
5138area[waterway=fuel] {
5139 fill-color: amenity_traffic#f7efb7;
5140}
5141node[waterway=fuel] {
5142 icon-image: "presets/nautical/marine_fuel.svg";
5143 set icon_z17;
5144}
5145way[waterway=weir] {
5146 width: 2;
5147 color: manmade#d8d8d8;
5148}
5149node[waterway=weir] {
5150 icon-image: "presets/nautical/weir.svg";
5151 set icon_z17;
5152}
5153area[waterway=dam]:closed {
5154 fill-color: manmade#d8d8d8;
5155}
5156way[waterway=dam] {
5157 width: 2;
5158 color: manmade#d8d8d8;
5159}
5160node[waterway=dam] {
5161 icon-image: "presets/nautical/dam.svg";
5162 set icon_z17;
5163}
5164/* it's not possible to have both line and area, line seems more likely */
5165way[waterway=waterfall] {
5166 width: 2;
5167 color: manmade#d8d8d8;
5168}
5169node[waterway=waterfall] {
5170 icon-image: "presets/nautical/waterfall.svg";
5171 set icon_z17;
5172}
5173node[waterway=river], node[waterway=riverbank],
5174node[waterway=canal], node[waterway=wadi],
5175node[waterway=stream],
5176node[waterway=ditch], node[waterway=drain] {
5177 icon-image: "presets/misc/deprecated.svg";
5178 set icon_z17;
5179}
5180
5181/**************/
5182/* route tags */
5183/**************/
5184
5185way[route=ferry] {
5186 width: 1;
5187 color: ferry#809bc0;
5188 dashes: 9,9;
5189}
5190node[route=bus],
5191node[route=ferry],
5192node[route=flight],
5193node[route=ncn],
5194node[route=subsea],
5195node[route=ski],
5196node[route=tour],
5197node[route=pub_crawl] {
5198 icon-image: "presets/misc/deprecated.svg";
5199 set icon_z17;
5200}
5201
5202/*******************/
5203/* properties tags */
5204/*******************/
5205
5206node[mountain_pass?] {
5207 icon-image: "presets/landmark/mountain_pass.svg";
5208 set icon_z0;
5209 set text_z0;
5210}
5211
5212/*****************/
5213/* boundary tags */
5214/*****************/
5215
5216relation[boundary=protected_area] > way::core_boundary,
5217relation[boundary=administrative] > way::core_boundary,
5218relation[boundary=postal_code] > way::core_boundary,
5219relation[boundary=political] > way::core_boundary,
5220relation[boundary=maritime] > way::core_boundary,
5221relation[boundary=hazard] > way::core_boundary,
5222relation[boundary=national_park] > way::core_boundary,
5223way[boundary=protected_area]::core_boundary,
5224way[boundary=administrative]::core_boundary,
5225way[boundary=postal_code]::core_boundary,
5226way[boundary=political]::core_boundary,
5227way[boundary=maritime]::core_boundary,
5228way[boundary=hazard]::core_boundary,
5229way[boundary=national_park]::core_boundary {
5230 z-index: 2;
5231 modifier: false;
5232 width: 1;
5233 color: boundary#FF6600;
5234 dashes: 9,9;
5235}
5236/* admin_level >=9 use the default width of 1 defined above */
5237way[boundary=administrative][admin_level=7]::core_boundary,
5238relation[boundary=administrative][admin_level=7] > way::core_boundary,
5239way[boundary=administrative][admin_level=8]::core_boundary,
5240relation[boundary=administrative][admin_level=8] > way::core_boundary {
5241 width: 2;
5242}
5243way[boundary=administrative][admin_level=5]::core_boundary,
5244relation[boundary=administrative][admin_level=5] > way::core_boundary,
5245way[boundary=administrative][admin_level=6]::core_boundary,
5246relation[boundary=administrative][admin_level=6] > way::core_boundary {
5247 width: 3;
5248}
5249way[boundary=administrative][admin_level=3]::core_boundary,
5250relation[boundary=administrative][admin_level=3] > way::core_boundary,
5251way[boundary=administrative][admin_level=4]::core_boundary,
5252relation[boundary=administrative][admin_level=4] > way::core_boundary {
5253 width: 4;
5254}
5255way[boundary=administrative][admin_level=1]::core_boundary,
5256relation[boundary=administrative][admin_level=1] > way::core_boundary,
5257way[boundary=administrative][admin_level=2]::core_boundary,
5258relation[boundary=administrative][admin_level=2] > way::core_boundary {
5259 width: 5;
5260}
5261
5262node[boundary=marker] {
5263 icon-image: "presets/landmark/boundary_marker.svg";
5264 set icon_z17;
5265}
5266
5267node[boundary=national],
5268node[boundary=administrative],
5269node[boundary=postal_code],
5270node[boundary=political],
5271node[boundary=national_park] {
5272 icon-image: "presets/misc/deprecated.svg";
5273 set icon_z17;
5274}
5275
5276/******************/
5277/* maxspeed nodes */
5278/******************/
5279node[traffic_sign][maxspeed=none][!is_prop_set(icon-image)] {
5280 icon-image: "presets/vehicle/restriction/maxspeed_none.svg";
5281 set icon_z17;
5282}
5283node[traffic_sign][maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] {
5284 maxspeedprop: tag(maxspeed);
5285 set maxspeedclass;
5286}
5287node[traffic_sign][maxspeed=signals][!is_prop_set(icon-image)] {
5288 maxspeedprop: " ?";
5289 set maxspeedclass;
5290}
5291node[traffic_sign][maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] {
5292 maxspeedprop: get(split(" mph",tag(maxspeed)),0);
5293 set maxspeedclass;
5294}
5295node[traffic_sign][maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] {
5296 maxspeedprop: get(split(" km/h",tag(maxspeed)),0);
5297 set maxspeedclass;
5298}
5299node[traffic_sign][maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] {
5300 maxspeedprop: get(split(" knots",tag(maxspeed)),0);
5301 set maxspeedclass;
5302}
5303node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg {
5304 /* background (white) */
5305 symbol-shape: circle;
5306 symbol-size: 17;
5307 symbol-fill-color: white;
5308 major-z-index: 4.2;
5309}
5310node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg,
5311node[traffic_sign][maxspeed=signals]::core_maxnodebg {
5312 /* background (black) */
5313 symbol-fill-color: black;
5314}
5315node[prop(maxspeedclass, default)]::core_maxnodefg {
5316 /* foreground (black text and red circle) */
5317 symbol-shape: circle;
5318 symbol-size: 15;
5319 symbol-stroke-color: crimson;
5320 symbol-stroke-width: 2;
5321 text: prop(maxspeedprop, default);
5322 font-size: 8;
5323 font-weight: bold;
5324 text-color: black;
5325 text-anchor-horizontal: center;
5326 text-anchor-vertical: center;
5327 text-offset-x: 0;
5328 text-offset-y: -1;
5329 major-z-index: 4.2;
5330}
5331node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg,
5332node[traffic_sign][maxspeed=signals]::core_maxnodefg {
5333 /* foreground (white text) */
5334 text-color: white;
5335}
5336node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodebg {
5337 symbol-shape: none;
5338}
5339node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodefg {
5340 text: none;
5341 symbol-shape: none;
5342}
5343
5344/**************/
5345/* place tags */
5346/**************/
5347
5348area[setting("place_fill_colour")][place=continent],
5349area[setting("place_fill_colour")][place=country],
5350area[setting("place_fill_colour")][place=state],
5351area[setting("place_fill_colour")][place=region],
5352area[setting("place_fill_colour")][place=county],
5353area[setting("place_fill_colour")][place=city],
5354area[setting("place_fill_colour")][place=town],
5355area[setting("place_fill_colour")][place=village],
5356area[setting("place_fill_colour")][place=hamlet],
5357area[setting("place_fill_colour")][place=farm],
5358area[setting("place_fill_colour")][place=isolated_dwelling],
5359area[setting("place_fill_colour")][place=neighbourhood],
5360area[setting("place_fill_colour")][place=suburb],
5361area[setting("place_fill_colour")][place=locality],
5362area[place=island],
5363area[place=islet] {
5364 fill-color: place#8de3cb;
5365 set place;
5366}
5367node[place=continent],
5368node[place=country],
5369node[place=state],
5370node[place=region],
5371node[place=county],
5372node[place=city],
5373node[place=town],
5374node[place=suburb],
5375node[place=village],
5376node[place=quarter],
5377node[place=neighbourhood],
5378node[place=hamlet],
5379node[place=isolated_dwelling],
5380node[place=farm],
5381node[place=island],
5382node[place=islet] {
5383 set icon_z0;
5384 set text_z0;
5385 font-weight: bold;
5386 text-color:black;
5387 text-halo-color: white;
5388 text-halo-radius: 1;
5389 set place;
5390}
5391
5392node[place=continent],
5393node[place=country],
5394node[place=state],
5395node[place=region],
5396node[place=county] {
5397 icon-image: "presets/place/capital.svg";
5398 z-index: 2.9;
5399}
5400node[place=city] {
5401 icon-image: "presets/place/city.svg";
5402 z-index: 2.8;
5403}
5404node[place=town] {
5405 icon-image: "presets/place/town.svg";
5406 z-index: 2.7;
5407}
5408node[place=suburb] {
5409 icon-image: "presets/place/suburb.svg";
5410 z-index: 2.6;
5411}
5412node[place=village] {
5413 icon-image: "presets/place/village.svg";
5414 z-index: 2.5;
5415}
5416node[place=quarter] {
5417 icon-image: "presets/place/quarter.svg";
5418 z-index: 2.5;
5419}
5420node[place=neighbourhood] {
5421 icon-image: "presets/place/neighbourhood.svg";
5422 z-index: 2.4;
5423}
5424node[place=hamlet] {
5425 icon-image: "presets/place/hamlet.svg";
5426 z-index: 2.3;
5427}
5428node[place=isolated_dwelling] {
5429 icon-image: "presets/place/isolated_dwelling.svg";
5430 z-index: 2.2;
5431}
5432node[place=farm] {
5433 icon-image: "presets/place/farm.svg";
5434 z-index: 2.1;
5435}
5436node|z15-[place=locality],
5437node|z-14[place=locality][!setting("hide_icons")] {
5438 icon-image: "presets/place/locality.svg";
5439 font-weight: bold;
5440 text-color: black;
5441 text-halo-color: white;
5442 text-halo-radius: 1;
5443}
5444node[place=island] {
5445 icon-image: "presets/place/island.svg";
5446}
5447node[place=islet] {
5448 icon-image: "presets/place/islet.svg";
5449}
5450
5451area[place=square] {
5452 fill-color: place#8de3cb;
5453}
5454node[place=square] {
5455 icon-image: "presets/place/square.svg";
5456 set icon_z17;
5457}
5458
5459/***************************/
5460/* "work in progress" tags */
5461/***************************/
5462
5463node|z17-[fixme]::core_note_fixme,
5464node|z-16[fixme][!setting("hide_icons")]::core_note_fixme,
5465node|z17-[FIXME]::core_note_fixme,
5466node|z-16[FIXME][!setting("hide_icons")]::core_note_fixme {
5467 object-z-index: 10;
5468 icon-image: "presets/misc/fixme_annotation.svg";
5469}
5470node|z17-[note][setting("note_annotation")]::core_note_fixme,
5471node|z-16[note][setting("note_annotation")][!setting("hide_icons")]::core_note_fixme {
5472 object-z-index: 10;
5473 icon-image: "presets/misc/note_annotation.svg";
5474}
5475node|z16-[note][fixme][setting("note_annotation")]::core_note_fixme,
5476node|z-16[note][fixme][setting("note_annotation")][!setting("hide_icons")]::core_note_fixme,
5477node|z17-[note][FIXME][setting("note_annotation")]::core_note_fixme,
5478node|z-16[note][FIXME][setting("note_annotation")][!setting("hide_icons")]::core_note_fixme {
5479 icon-image: "presets/misc/note_fixme_annotation.svg";
5480}
5481
5482/****************************************/
5483/* zoom levels and general node display */
5484/****************************************/
5485
5486/*
5487Summary of different zoom levels:
5488 (any zoom) place=* (except locality and square) and a few natural icons with their text is shown
5489 |z-14 tagged way nodes are hidden completely
5490 |z-15 untagged way nodes are hidden completely
5491 |z15 place=locality icon
5492 |z16- place=locality text
5493 |z17- normal POI icons (without text),
5494 street name along highway=* ways
5495 |z18- text for normal POI icons is shown
5496
5497 * text size and node size is adapted according to zoom level (see style source below), place labels (except locality and square) don't get smaller
5498 * all these zoom features are modifiable via style settings
5499 * maxspeed icons should not be distinguishable from POIs with "icon-image" property
5500
5501*/
5502
5503node|z-16[setting("hide_icons")],
5504node|z17-[!is_prop_set("icon-image")][setting("hide_icons")]!.maxspeedclass,
5505node[!is_prop_set("icon-image")][!setting("hide_icons")]!.maxspeedclass {
5506 symbol-size: 2;
5507 symbol-shape: square;
5508 symbol-stroke-color: node_standard#ffff00;
5509 major-z-index: 4.95; /* put node squares above line text */
5510}
5511way > node|z-15[setting("shrink_nodes")]!:tagged {
5512 symbol-shape: none;
5513}
5514node:connection {
5515 symbol-stroke-color: node_connection#ffff00;
5516}
5517node:tagged {
5518 symbol-stroke-color: none;
5519 symbol-fill-color: node_tagged#00ffff;
5520}
5521node:tagged[!is_prop_set("icon-image")]!.maxspeedclass {
5522 symbol-fill-color: node_tagged_without_icon#00ffff; /* by default same color as above but user configurable */
5523}
5524way > node|z-14[setting("shrink_nodes")][setting("hide_tagged_waynodes")]:tagged { /* todo: check which is faster: `way > node {...}` or `node!:unconnected {...}`, also at other occurrences in this file */
5525 symbol-shape: none;
5526}
5527
5528way > node|z16[setting("shrink_nodes")]!:tagged { symbol-size: 1; }
5529
5530node|z17[setting("shrink_nodes")] { symbol-size: 4; }
5531way > node|z17[setting("shrink_nodes")] { symbol-size: 2; }
5532node|z17[setting("shrink_nodes")]:connection { symbol-size: 4; }
5533
5534node|z18[setting("shrink_nodes")] { symbol-size: 4; }
5535way > node|z18[setting("shrink_nodes")] { symbol-size: 3; }
5536node|z18[setting("shrink_nodes")]:connection { symbol-size: 5; }
5537
5538node|z19-[setting("shrink_nodes")] { symbol-size: 4; }
5539way > node|z19-[setting("shrink_nodes")] { symbol-size: 4; }
5540node|z19-[setting("shrink_nodes")]:connection { symbol-size: 6; }
5541
5542node[!setting("shrink_nodes")] { symbol-size: 4; }
5543way > node[!setting("shrink_nodes")] { symbol-size: 4; }
5544node[!setting("shrink_nodes")]:connection { symbol-size: 6; }
5545
5546node:selected {
5547 symbol-shape: square;
5548 symbol-size: 6;
5549 symbol-fill-color: node_selected#ff0000;
5550 symbol-stroke-color: node_selected#ff0000;
5551}
5552
5553node|z-16[setting("hide_icons")].icon_z17!.icon_z0,
5554relation|z-16[type=restriction][setting("hide_icons")] {
5555 icon-image: none;
5556}
5557node|z-17[setting("hide_icons")]!.text_z0 {
5558 text: none;
5559}
5560node|z16-17[setting("hide_icons")][place=locality] {
5561 text: auto;
5562}
5563
5564node|z-18,area|z-18 { font-size: 8; }
5565node|z19,area|z19 { font-size: 9; }
5566node|z20-,area|z20- { font-size: 11; }
5567
5568node.place, way.place, area.place { font-size: 11; }
5569
5570
5571/*******************/
5572/* way text labels */
5573/*******************/
5574
5575way|z18-[highway=motorway][setting("highway_labels")],
5576way|z18-[highway=motorway_link][setting("highway_labels")],
5577way|z18-[highway=trunk][setting("highway_labels")],
5578way|z18-[highway=trunk_link][setting("highway_labels")],
5579way|z18-[highway=primary][setting("highway_labels")],
5580way|z18-[highway=primary_link][setting("highway_labels")],
5581way|z18-[highway=secondary][setting("highway_labels")],
5582way|z18-[highway=secondary_link][setting("highway_labels")],
5583way|z18-[highway=tertiary][setting("highway_labels")],
5584way|z18-[highway=tertiary_link][setting("highway_labels")],
5585way|z18-[highway=unclassified][setting("highway_labels")],
5586way|z18-[highway=residential][setting("highway_labels")],
5587way|z18-[highway=living_street][setting("highway_labels")],
5588way|z18-[highway=escape][setting("highway_labels")],
5589way|z18-[highway=pedestrian][!area?][setting("highway_labels")],
5590way|z18-[highway=steps][setting("highway_labels")],
5591way|z18-[highway=footway][setting("highway_labels")],
5592way|z18-[highway=path][setting("highway_labels")],
5593way|z18-[highway=service][setting("highway_labels")],
5594way|z18-[highway=track][setting("highway_labels")],
5595way|z18-[highway=cycleway][setting("highway_labels")],
5596way|z18-[highway=bridleway][setting("highway_labels")],
5597way|z18-[highway=bus_guideway][setting("highway_labels")],
5598way|z18-[highway=busway][setting("highway_labels")],
5599way|z18-[highway=raceway][setting("highway_labels")],
5600way|z18-[highway=construction][setting("highway_labels")],
5601way|z18-[highway=road][setting("highway_labels")] {
5602 text: auto;
5603 text-color: black;
5604 font-size: 10;
5605 text-position: line;
5606 text-halo-opacity: 1;
5607 text-halo-radius: 1.5;
5608}
5609way|z18-[highway=motorway][setting("highway_labels")],
5610way|z18-[highway=motorway_link][setting("highway_labels")] {
5611 text-halo-color: motorway#809bc0;
5612}
5613way|z18-[highway=trunk][setting("highway_labels")],
5614way|z18-[highway=trunk_link][setting("highway_labels")] {
5615 text-halo-color: trunk#7fc97f;
5616}
5617way|z18-[highway=primary][setting("highway_labels")],
5618way|z18-[highway=primary_link][setting("highway_labels")] {
5619 text-halo-color: primary#fb805f;
5620}
5621way|z18-[highway=secondary][setting("highway_labels")],
5622way|z18-[highway=secondary_link][setting("highway_labels")] {
5623 text-halo-color: secondary#fdbf6f;
5624}
5625way|z18-[highway=tertiary][setting("highway_labels")],
5626way|z18-[highway=tertiary_link][setting("highway_labels")] {
5627 text-halo-color: tertiary#f7f496;
5628}
5629way|z18-[highway=unclassified][setting("highway_labels")],
5630way|z18-[highway=residential][setting("highway_labels")],
5631way|z18-[highway=living_street][setting("highway_labels")],
5632way|z18-[highway=escape][setting("highway_labels")] {
5633 text-halo-color: street#c0c0c0;
5634}
5635way|z18-[highway=pedestrian][!area?][setting("highway_labels")],
5636way|z18-[highway=steps][setting("highway_labels")],
5637way|z18-[highway=footway][setting("highway_labels")],
5638way|z18-[highway=path][setting("highway_labels")] {
5639 text-halo-color: foot#00ff00;
5640}
5641way|z18-[highway=service][setting("highway_labels")] {
5642 text-halo-color: service#809bc0;
5643}
5644way|z18-[highway=track][setting("highway_labels")] {
5645 text-halo-color: highway_track#6e541c;
5646}
5647way|z18-[highway=cycleway][setting("highway_labels")],
5648way|z18-[highway=path][setting("highway_labels")].cyclecolor {
5649 text-halo-color: bicycle#b100ff;
5650}
5651way|z18-[highway=bridleway][setting("highway_labels")] {
5652 text-halo-color: horse#a18559;
5653}
5654way|z18-[highway=bus_guideway][setting("highway_labels")] {
5655 text-halo-color: rail#404040;
5656}
5657way|z18-[highway=busway][setting("highway_labels")] {
5658 text-halo-color: bus#89cbeb;
5659}
5660way|z18-[highway=raceway][setting("highway_labels")] {
5661 text-halo-color: raceway#ff80ff;
5662}
5663way|z18-[highway=construction][setting("highway_labels")] {
5664 text-halo-color: construction#ffff00;
5665}
5666way|z18-[highway=road][setting("highway_labels")] {
5667 text-halo-color: highway_road#770000;
5668}
5669way|z18-[highway][railway=platform][setting("highway_labels")] {
5670 text-halo-color: rail#404040;
5671}
5672way|z18-[highway][public_transport=platform][setting("highway_labels")] {
5673 text-halo-color: service#809bc0;
5674}
5675way|z19[highway][setting("highway_labels")] {
5676 font-size: 11;
5677}
5678way|z20-[highway][setting("highway_labels")] {
5679 font-size: 12;
5680}
5681
5682/*************/
5683/* Area fill */
5684/*************/
5685
5686/* small extent for unclosed area (see below for closed) */
5687area[setting("partial_fill")] {
5688 fill-extent: 15;
5689}
5690
5691/* Turn partial fill off and use plain fill, when the partial fill covers about
5692 100% of the area. This reduces artifacts (typically for incomplete multipolygons).
5693 Switching between full and partial fill while drawing an area might be irritating,
5694 so only do this at low zoom. */
5695area|z-13[setting("partial_fill")] {
5696 fill-extent-threshold: 1.0;
5697}
5698
5699/* Larger extent for closed areas.
5700 Turn partial fill off, when it covers more than about 50% of the area. This avoids
5701 areas with small unfilled patches in the center. */
5702area[setting("partial_fill")]:closed2 {
5703 fill-extent: 25;
5704 fill-extent-threshold: JOSM_pref("draw.area.extent_threshold", 0.5);
5705}
5706
Note: See TracBrowser for help on using the repository browser.