1 /*** General settings ***/
6 casing-linejoin: round;
12 text-halo-radius: 0.5;
14 text-halo-color: #ffffff;
15 text-halo-opacity: 0.8;
16 text-position: center;
24 text-halo-radius: 0.5;
26 text-halo-color: #ffffff;
27 text-halo-opacity: 0.8;
28 text-position: center;
35 * Assignment of z-indices:
38 * 0.1 subtypes of landuse
44 * 10 power lines and similar overhead objects
46 * Assignment of major-z-indices:
48 * 1 (default for areas}
49 * 1.1 water way casing
52 * 2 (default for casing)
53 * 2.9 (default for line patterns)
54 * 3 (default for lines)
55 * 4 (default for points)
56 * 4.9 (default for line text)
57 * 5 (default for point text)
63 area[landuse], area[leisure] {
68 area[leisure=swimming_pool][access!=private] {
74 area[leisure=playground] {
80 area[leisure=attraction] {
85 area[landuse=cemetery], area[landuse=grave_yard], area[amenity=grave_yard] {
87 fill-pattern: "icons/cemetery.svg";
88 fill-pattern-width: 2;
89 // FIXME: Switch patterns according to religion=* ?
93 area[landuse=residential] {
100 area[leisure=common],
101 area[leisure=garden],
102 area[landuse=recreation_ground],
103 area[landuse=orchard],
104 area[landuse=plant_nursery],
105 area[landuse=village_green] {
110 area[leisure=golf_course] {
116 area[leisure=recreation_ground] {
121 area[landuse=forest] {
123 // FIXME: Pattern fill
126 area[landuse=allotments] {
128 // FIXME: Pattern fill
131 area[landuse=retail] {
137 area[landuse=industrial],
138 area[landuse=railway] {
143 area[landuse=farmland] {
147 area[landuse=brownfield],
148 area[landuse=landfill],
149 area[landuse=greenfield],
150 area[landuse=construction] {
154 area[landuse=military] {
161 area[landuse=parking] {
167 area[aeroway=apron] {
171 area[aeroway=aerodrome] {
178 area[landuse=commercial],
179 area[highway=services],
180 area[highway=rest_area] {
184 area[landuse=garages] {
190 area[leisure=nature_reserve] {
198 area[leisure=pitch] {
205 area[leisure=track] {
226 area[landuse=reservoir],
231 area[waterway=riverbank] {
233 major-z-index: 1.3; // Above normal areas and waterways
235 text-halo-radius: 0.5;
237 text-halo-color: #ffffff;
238 text-halo-opacity: 0.8;
239 text-position: center;
246 area[natural=wetland] {
247 fill-pattern: "icons/wetland.svg";
248 fill-pattern-width: 2;
249 fill-pattern-height: 1.5;
253 way[waterway=stream],
255 way[waterway=drain] {
260 major-z-index: 1.2; // Above normal areas, below water areas
261 casing-major-z-index: 1.1;
265 way[waterway=river] {
270 major-z-index: 1.2; // Above normal areas, below water areas
271 casing-major-z-index: 1.1;
275 // FIXME: waterway=river && tunnel=yes
277 /*** Power lines ***/
285 way[power=minor_line] {
293 symbol-shape: circle; // FIXME
295 symbol-stroke-color: #777;
296 symbol-stroke-width: 0.3;
303 way[highway][area?!] {
309 area[highway=residential],
310 area[highway=unclassified],
311 area[highway=service] {
315 area[highway=pedestrian],
316 area[highway=footway],
321 area[highway=track] {
325 area[highway=platform],
326 area[railway=platform] {
330 area[aeroway=runway],
331 area[aeroway=taxiway],
332 area[aeroway=helipad] {
337 way[highway=motorway_link] {
340 casing-color: #506077;
345 way[highway=trunk_link] {
348 casing-color: #477147;
353 way[highway=primary_link] {
356 casing-color: #8d4346;
361 way[highway=secondary_link] {
364 casing-color: #a37b48;
369 way[highway=tertiary_link] {
377 way[highway=motorway] {
380 casing-color: #506077;
388 casing-color: #477147;
393 way[highway=primary] {
396 casing-color: #8d4346;
401 way[highway=secondary] {
404 casing-color: #a37b48;
409 way[highway=tertiary] {
425 way[highway=residential],
426 way[highway=unclassified],
428 way[highway=living_street] {
436 way[highway=service] {
444 way[highway=pedestrian] {
447 casing-color: #808080;
451 // In this scale, steps cannot be displayed nicely
460 way[highway=footway],
461 way[highway=path][foot=designated] {
472 way[highway=bridleway] {
481 way[highway=cycleway],
482 way[highway=path][bicycle=designated] {
496 way[highway=proposed] {
501 way[aeroway=taxiway] {
509 way[railway][area?!] {
523 way[railway=rail]::rwint {
530 way[railway=rail][service=spur],
531 way[railway=rail][service=yard] {
536 way[railway=rail][service=spur]::rwint,
537 way[railway=rail][service=yard]::rwint {
550 /*** Tourist routes ***/
552 relation[type=route][route=foot][kct_yellow] way::routes {
558 relation[type=route][route=foot][kct_red] way::routes {
564 way[highway=footway]::routes,
565 way[highway=path]::routes,
566 way[highway=cycleway]::routes,
567 way[highway=bridleway]::routes,
568 way[highway=track]::routes {
574 node[tourism=viewpoint] {
575 icon-image: "icons/view_point.svg";
580 node[historic=wayside_cross][religion=christian],
581 node[amenity=place_of_worship][religion=christian],
582 node[amenity=crucifix],
583 area[amenity=place_of_worship][religion=christian] {
584 icon-image: "icons/cross.svg";
589 area[building=church][amenity=place_of_worship][religion=christian],
590 area[historic=wayside_shrine][amenity=place_of_worship][religion=christian] {
591 icon-image: "icons/church.svg";
595 text-halo-radius: 0.8;
597 text-halo-color: #ffffff;
598 text-halo-opacity: 0.8;
599 text-position: center;
606 node[natural=cave_entrance] {
607 icon-image: "icons/cave2.svg";
612 node[natural=tree][monument=yes][type=broad_leaved] {
613 icon-image: "icons/deciduous.svg";
617 text-halo-radius: 0.5;
619 text-halo-color: #ffffff;
620 text-halo-opacity: 0.8;
621 text-anchor-horizontal: center;
622 text-anchor-vertical: bottom;
629 node[hack=parkname] {
631 text-halo-radius: 0.5;
633 text-halo-color: #ffffff;
634 text-halo-opacity: 0.8;
635 text-anchor-horizontal: center;
636 text-anchor-vertical: center;
643 node[hack=suburbname] {
647 text-halo-opacity: 0.8;
648 text-halo-color: #ffffff;
649 text-anchor-horizontal: center;
650 text-anchor-vertical: center;
651 font-family: Helvetica;
658 icon-image: "icons/gate.svg";
663 node[railway=station],
665 icon-image: "icons/train.svg";
669 text-halo-radius: 0.5;
671 text-halo-color: #ffffff;
672 text-halo-opacity: 0.8;
673 text-anchor-horizontal: center;
674 text-anchor-vertical: bottom;
681 area[railway=station],
683 icon-image: "icons/train.svg";
687 text-halo-radius: 0.5;
689 text-halo-color: #ffffff;
690 text-halo-opacity: 0.8;
691 text-position: center;
698 node[highway=bus_stop] {
699 // icon-image: "icons/bus_stop2.svg";
701 symbol-shape: circle;
703 symbol-fill-color: #f55;
707 node[historic=memorial],
708 node[tourism=artwork][artwork_type=statue] {
709 icon-image: "icons/memorial.svg";
714 way[natural=tree_row] {
715 repeat-image: "icons/deciduous.svg";
716 repeat-image-width: 2;
717 repeat-image-spacing: 2;
728 node[hack=raisetext],
729 way[hack=raisetext] {