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

Last change on this file since 7520 was 7520, checked in by bastiK, 11 years ago

applied #10468 - Highway label issues in new map style (based on patch by Klumbumbus)

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