1 /*** General settings ***/
6 casing-linejoin: round;
11 * Assignment of z-indices:
14 * 0.1 subtypes of landuse
20 * 10 power lines and similar overhead objects
22 * Assignment of major-z-indices:
24 * 1 (default for areas}
25 * 1.1 water way casing
28 * 2 (default for casing)
29 * 2.9 (default for line patterns)
30 * 3 (default for lines)
31 * 4 (default for points)
32 * 4.9 (default for line text)
33 * 5 (default for point text)
39 area[landuse], area[leisure] {
44 area[leisure=swimming_pool][access!=private] {
50 area[leisure=playground] {
56 area[leisure=attraction] {
61 area[landuse=cemetery], area[landuse=grave_yard], area[amenity=grave_yard] {
63 fill-pattern: "icons/cemetery.svg";
64 fill-pattern-width: 2;
65 // FIXME: Switch patterns according to religion=* ?
69 area[landuse=residential] {
78 area[landuse=recreation_ground],
79 area[landuse=orchard],
80 area[landuse=plant_nursery],
81 area[landuse=village_green] {
86 area[leisure=golf_course] {
92 area[leisure=recreation_ground] {
97 area[landuse=forest] {
99 // FIXME: Pattern fill
102 area[landuse=allotments] {
104 // FIXME: Pattern fill
107 area[landuse=retail] {
113 area[landuse=industrial],
114 area[landuse=railway] {
119 area[landuse=farmland] {
123 area[landuse=brownfield],
124 area[landuse=landfill],
125 area[landuse=greenfield],
126 area[landuse=construction] {
130 area[landuse=military] {
137 area[landuse=parking] {
143 area[aeroway=apron] {
147 area[aeroway=aerodrome] {
154 area[landuse=commercial],
155 area[highway=services],
156 area[highway=rest_area] {
160 area[landuse=garages] {
166 area[leisure=nature_reserve] {
174 area[leisure=pitch] {
181 area[leisure=track] {
202 area[landuse=reservoir],
207 area[waterway=riverbank] {
209 major-z-index: 1.3; // Above normal areas and waterways
211 text-halo-radius: 0.5;
213 text-halo-color: #ffffff;
214 text-halo-opacity: 0.8;
215 text-position: center;
222 area[natural=wetland] {
223 fill-pattern: "icons/wetland.svg";
224 fill-pattern-width: 2;
225 fill-pattern-height: 1.5;
229 way[waterway=stream],
231 way[waterway=drain] {
236 major-z-index: 1.2; // Above normal areas, below water areas
237 casing-major-z-index: 1.1;
241 way[waterway=river] {
246 major-z-index: 1.2; // Above normal areas, below water areas
247 casing-major-z-index: 1.1;
251 // FIXME: waterway=river && tunnel=yes
253 /*** Power lines ***/
261 way[power=minor_line] {
269 symbol-shape: circle; // FIXME
271 symbol-stroke-color: #777;
272 symbol-stroke-width: 0.3;
279 way[highway][area?!] {
285 area[highway=residential],
286 area[highway=unclassified],
287 area[highway=service] {
291 area[highway=pedestrian],
292 area[highway=footway],
297 area[highway=track] {
301 area[highway=platform],
302 area[railway=platform] {
306 area[aeroway=runway],
307 area[aeroway=taxiway],
308 area[aeroway=helipad] {
313 way[highway=motorway_link] {
316 casing-color: #506077;
321 way[highway=trunk_link] {
324 casing-color: #477147;
329 way[highway=primary_link] {
332 casing-color: #8d4346;
337 way[highway=secondary_link] {
340 casing-color: #a37b48;
345 way[highway=tertiary_link] {
353 way[highway=motorway] {
356 casing-color: #506077;
364 casing-color: #477147;
369 way[highway=primary] {
372 casing-color: #8d4346;
377 way[highway=secondary] {
380 casing-color: #a37b48;
385 way[highway=tertiary] {
401 way[highway=residential],
402 way[highway=unclassified],
404 way[highway=living_street] {
412 way[highway=service] {
420 way[highway=pedestrian] {
423 casing-color: #808080;
427 // In this scale, steps cannot be displayed nicely
436 way[highway=footway],
437 way[highway=path][foot=designated] {
448 way[highway=bridleway] {
457 way[highway=cycleway],
458 way[highway=path][bicycle=designated] {
472 way[highway=proposed] {
477 way[aeroway=taxiway] {
485 way[railway][area?!] {
499 way[railway=rail]::rwint {
506 way[railway=rail][service=spur],
507 way[railway=rail][service=yard] {
512 way[railway=rail][service=spur]::rwint,
513 way[railway=rail][service=yard]::rwint {
526 /*** Tourist routes ***/
528 relation[type=route][route=foot][kct_yellow] way::routes {
534 relation[type=route][route=foot][kct_red] way::routes {
540 way[highway=footway]::routes,
541 way[highway=path]::routes,
542 way[highway=cycleway]::routes,
543 way[highway=bridleway]::routes,
544 way[highway=track]::routes {
550 node[tourism=viewpoint] {
551 icon-image: "icons/view_point.svg";
556 node[historic=wayside_cross][religion=christian],
557 node[amenity=place_of_worship][religion=christian],
558 node[amenity=crucifix],
559 area[amenity=place_of_worship][religion=christian] {
560 icon-image: "icons/cross.svg";
565 area[building=church][amenity=place_of_worship][religion=christian],
566 area[historic=wayside_shrine][amenity=place_of_worship][religion=christian] {
567 icon-image: "icons/church.svg";
571 text-halo-radius: 0.8;
573 text-halo-color: #ffffff;
574 text-halo-opacity: 0.8;
575 text-position: center;
582 node[natural=cave_entrance] {
583 icon-image: "icons/cave2.svg";
588 node[natural=tree][monument=yes][type=broad_leaved] {
589 icon-image: "icons/deciduous.svg";
593 text-halo-radius: 0.5;
595 text-halo-color: #ffffff;
596 text-halo-opacity: 0.8;
597 text-anchor-horizontal: center;
598 text-anchor-vertical: bottom;
605 node[hack=parkname] {
607 text-halo-radius: 0.5;
609 text-halo-color: #ffffff;
610 text-halo-opacity: 0.8;
611 text-anchor-horizontal: center;
612 text-anchor-vertical: center;
619 node[hack=suburbname] {
623 text-halo-opacity: 0.8;
624 text-halo-color: #ffffff;
625 text-anchor-horizontal: center;
626 text-anchor-vertical: center;
627 font-family: Helvetica;
634 icon-image: "icons/gate.svg";
639 node[railway=station],
641 icon-image: "icons/train.svg";
645 text-halo-radius: 0.5;
647 text-halo-color: #ffffff;
648 text-halo-opacity: 0.8;
649 text-anchor-horizontal: center;
650 text-anchor-vertical: bottom;
657 area[railway=station],
659 icon-image: "icons/train.svg";
663 text-halo-radius: 0.5;
665 text-halo-color: #ffffff;
666 text-halo-opacity: 0.8;
667 text-position: center;
674 node[highway=bus_stop] {
675 // icon-image: "icons/bus_stop2.svg";
677 symbol-shape: circle;
679 symbol-fill-color: #f55;
683 node[historic=memorial],
684 node[tourism=artwork][artwork_type=statue] {
685 icon-image: "icons/memorial.svg";
690 way[natural=tree_row] {
691 repeat-image: "icons/deciduous.svg";
692 repeat-image-width: 2;
693 repeat-image-spacing: 2;
704 node[hack=raisetext],
705 way[hack=raisetext] {