/* Main JOSM map paint style. Originally in XML format, migrated to MapCSS. Documentation of MapCSS format: http://josm.openstreetmap.de/wiki/Help/Styles/MapCSSImplementation */ meta { icon: "logo.svg"; } canvas { default-points: false; } node { text: auto; } /*************************/ /* create style settings */ /*************************/ setting::hide_icons { type: boolean; label: tr("Hide icons at low zoom"); default: true; } setting::shrink_nodes { type: boolean; label: tr("Less obtrusive node symbols at low zoom"); default: true; } setting::highway_labels { type: boolean; label: tr("Display street labels (at high zoom)"); default: true; } setting::alt_turn_icons { type: boolean; label: tr("Use alternative turn restriction icon set"); default: false; } setting::place_fill_colour { type: boolean; label: tr("Display fill colour of areas with place=*"); default: false; } setting::partial_fill { type: boolean; label: tr("Areas are drawn with fill only around their inner edges"); default: true; } /*********************/ /* turn restrictions */ /*********************/ relation[restriction=no_left_turn][!setting("alt_turn_icons")] { icon-image: "vehicle/restriction/turn_restrictions/no_left_turn_red.png"; set icon_z17; text: auto; } relation[restriction=no_left_turn][setting("alt_turn_icons")] { icon-image: "vehicle/restriction/turn_restrictions/no_left_turn.png"; set icon_z17; text: auto; } relation[restriction=no_right_turn][!setting("alt_turn_icons")] { icon-image: "vehicle/restriction/turn_restrictions/no_right_turn_red.png"; set icon_z17; text: auto; } relation[restriction=no_right_turn][setting("alt_turn_icons")] { icon-image: "vehicle/restriction/turn_restrictions/no_right_turn.png"; set icon_z17; text: auto; } relation[restriction=no_straight_on][!setting("alt_turn_icons")] { icon-image: "vehicle/restriction/turn_restrictions/no_straight_on_red.png"; set icon_z17; text: auto; } relation[restriction=no_straight_on][setting("alt_turn_icons")] { icon-image: "vehicle/restriction/turn_restrictions/no_straight_on.png"; set icon_z17; text: auto; } relation[restriction=no_u_turn] { icon-image: "vehicle/restriction/turn_restrictions/no_u_turn.png"; set icon_z17; text: auto; } relation[restriction=only_left_turn] { icon-image: "vehicle/restriction/turn_restrictions/only_left_turn.png"; set icon_z17; text: auto; } relation[restriction=only_right_turn] { icon-image: "vehicle/restriction/turn_restrictions/only_right_turn.png"; set icon_z17; text: auto; } relation[restriction=only_straight_on] { icon-image: "vehicle/restriction/turn_restrictions/only_straight_on.png"; set icon_z17; text: auto; } node[restriction] { icon-image: "misc/deprecated.png"; set icon_z17; text: auto; } /******************/ /* bridge, tunnel */ /******************/ way[bridge=yes]::core_bridge, way[bridge=viaduct]::core_bridge, way[bridge=swing]::core_bridge, way[bridge=movable]::core_bridge, way[bridge=cantilever]::core_bridge, way[bridge=covered]::core_bridge, way[bridge=low_water_crossing]::core_bridge, way[bridge=trestle]::core_bridge, way[bridge=aqueduct]::core_bridge { major-z-index: 2; object-z-index: -1; width: +4; color: bridge#0000FF; opacity: 0.9; } way[tunnel=yes]::core_tunnel, way[tunnel=culvert]::core_tunnel, way[tunnel=building_passage]::core_tunnel, way[tunnel=avalanche_protector]::core_tunnel { major-z-index: 2; object-z-index: -1; width: +5; color: tunnel#964B00; opacity: 0.9; } node[oneway], node[bridge], node[tunnel?], node[tunnel?!], node[cutting?!], node[embankment?!] { icon-image: "misc/deprecated.png"; set icon_z17; } /****************************/ /* access restrictions tags */ /****************************/ way[access?!]::core_access { z-index: -1; width: +2; color: no#ff8080; dashes: 2,2; } way[access=permissive]::core_access { z-index: -1; width: +2; color: permissive#80ff80; dashes: 2,2; } way[access=private]::core_access { z-index: -1; width: +2; color: private#ff8080; dashes: 2,2; } way[access=destination]::core_access { z-index: -1; width: +2; color: destination#8080ff; dashes: 2,2; } node[traffic_sign][access?!] { icon-image: "vehicle/restriction/access.png"; set icon_z17; } node[traffic_sign][access=permissive][!is_prop_set(icon-image)], node[traffic_sign][access=private][!is_prop_set(icon-image)], node[traffic_sign][access=destination][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } node[traffic_sign][bicycle?!] { icon-image: "vehicle/restriction/bicycle.png"; set icon_z17; } node[traffic_sign][bicycle=designated] { icon-image: "vehicle/restriction/bicycle-designated.png"; set icon_z17; } node[traffic_sign][foot?!] { icon-image: "vehicle/restriction/foot.png"; set icon_z17; } node[traffic_sign][foot=designated] { icon-image: "vehicle/restriction/foot-designated.png"; set icon_z17; } node[traffic_sign][goods?!], node[traffic_sign][hgv?!] { icon-image: "vehicle/restriction/goods.png"; set icon_z17; } node[traffic_sign][horse?!] { icon-image: "vehicle/restriction/horse.png"; set icon_z17; } node[traffic_sign][horse=designated] { icon-image: "vehicle/restriction/horse-designated.png"; set icon_z17; } node[traffic_sign][motorcycle?!] { icon-image: "vehicle/restriction/motorbike.png"; set icon_z17; } node[traffic_sign][motorcar?!] { icon-image: "vehicle/restriction/motorcar.png"; set icon_z17; } node[traffic_sign][psv?!] { icon-image: "vehicle/restriction/psv.png"; set icon_z17; } node[traffic_sign][motorboat?!][!is_prop_set(icon-image)], node[traffic_sign][boat?!][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } node[noexit=yes] { icon-image: "vehicle/restriction/dead_end.png"; set icon_z17; } node[traffic_sign][maxweight] { icon-image: "vehicle/restriction/maxweight.png"; set icon_z17; } node[traffic_sign][maxheight] { icon-image: "vehicle/restriction/maxheight.png"; set icon_z17; } node[traffic_sign][maxwidth] { icon-image: "vehicle/restriction/maxwidth.png"; set icon_z17; } node[traffic_sign][maxlength] { icon-image: "vehicle/restriction/maxlength.png"; set icon_z17; } node[traffic_sign][minspeed] { icon-image: "vehicle/restriction/minspeed.png"; set icon_z17; } node[traffic_sign][maxstay][!is_prop_set(icon-image)], node[traffic_sign][toll][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } /*****************************/ /* building/entrance/address */ /*****************************/ node["addr:housenumber"], node["addr:postcode"] { icon-image: "misc/housenumber.png"; set icon_z17; } way["addr:interpolation"=odd] { width: 1; color: address#1C86EE; dashes: 15,4; } way["addr:interpolation"=even] { width: 1; color: address#1C86EE; dashes: 4,4; } way["addr:interpolation"=all], way["addr:interpolation"=alphabetic] { width: 1; color: address#1C86EE; dashes: 2,2; } area[building][!building?!] { fill-color: building#cb9999; } area[building:part][!building:part?!] { fill-color: buildingpart#dcbbbb; } node[building][!building?!] { icon-image: "misc/landmark/building.png"; set icon_z17; } node[building=garage] { icon-image: "misc/landuse/garages.png"; set icon_z17; } node[building=garages] { icon-image: "misc/landuse/garages.png"; set icon_z17; } node[building=transformer_tower] { icon-image: "power/transformer_tower.svg"; set icon_z17; } node[entrance=yes], node[entrance=staircase] { icon-image: "misc/entrance-yes.png"; set icon_z17; } node[entrance=main] { icon-image: "misc/entrance-main.png"; set icon_z17; } node[entrance=service] { icon-image: "misc/entrance-service.png"; set icon_z17; } node[entrance=exit] { icon-image: "misc/entrance-exit.png"; set icon_z17; } node[entrance=emergency] { icon-image: "misc/entrance-emergency.png"; set icon_z17; } node[building=entrance], node[building:part] { icon-image: "misc/deprecated.png"; set icon_z17; } /****************/ /* barrier tags */ /****************/ way[barrier=bollard] { width: 2; color: barrier#F0F050; dashes: 3,9; } node[barrier=bollard] { icon-image: "presets/bollard.png"; set icon_z17; } node[barrier=gate] { icon-image: "vehicle/gate.png"; set icon_z17; } way[barrier=yes], way[barrier=hedge], way[barrier=fence], way[barrier=wall], way[barrier=guard_rail], way[barrier=city_wall], way[barrier=retaining_wall], way[barrier=block], way[barrier=chain], way[barrier=ditch], way[barrier=jersey_barrier], way[barrier=kerb] { width: 2; color: barrier#F0F050; } way[barrier=retaining_wall], way[barrier=kerb] { repeat-image: "misc/cliff-pattern.png"; repeat-image-align: top; } node[barrier=hedge], node[barrier=wall], node[barrier=guard_rail], node[barrier=city_wall], node[barrier=retaining_wall], node[barrier=ditch] { icon-image: "misc/deprecated.png"; set icon_z17; } node[barrier=kerb] { icon-image: "vehicle/kerb.svg"; set icon_z17; } node[barrier=block] { icon-image: "vehicle/block.svg"; set icon_z17; } node[barrier=chain] { icon-image: "vehicle/chain.svg"; set icon_z17; } node[barrier=stile] { icon-image: "vehicle/stile.svg"; set icon_z17; } node[barrier=turnstile] { icon-image: "vehicle/turnstile.png"; set icon_z17; } node[barrier=cycle_barrier] { icon-image: "vehicle/cycle_barrier.png"; set icon_z17; } node[barrier=lift_gate] { icon-image: "vehicle/lift_gate.png"; set icon_z17; } node[barrier=swing_gate] { icon-image: "vehicle/swing_gate.png"; set icon_z17; } area[barrier=toll_booth]:closed { fill-color: barrier#F0F050; } node[barrier=toll_booth] { icon-image: "vehicle/toll_booth.png"; set icon_z17; } node[barrier=entrance] { icon-image: "vehicle/entrance.png"; set icon_z17; } node[barrier=cattle_grid] { icon-image: "vehicle/cattle_grid.png"; set icon_z17; } node[barrier=border_control] { icon-image: "vehicle/border_control.png"; set icon_z17; } node[barrier=sally_port] { icon-image: "vehicle/sally_port.png"; set icon_z17; } node[barrier=spikes] { icon-image: "vehicle/spikes.svg"; set icon_z17; } node[barrier=fence][!is_prop_set(icon-image)], node[barrier=kissing_gate][!is_prop_set(icon-image)], node[barrier=bump_gate][!is_prop_set(icon-image)], node[barrier=portcullis][!is_prop_set(icon-image)], node[barrier=bus_trap][!is_prop_set(icon-image)], node[barrier=drawbridge][!is_prop_set(icon-image)], node[barrier=jersey_barrier][!is_prop_set(icon-image)], node[barrier=hampshire_gate][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } /****************/ /* highway tags */ /****************/ way[motorroad=yes]::core_motorroad { major-z-index: 2; z-index: -1; width: +4; color: motorroad#3377ff; } way[highway=motorway] { width: 3; color: motorway#809bc0; } way[highway=motorway_link] { width: 3; color: motorway#809bc0; } way[highway=trunk] { width: 3; color: trunk#7fc97f; } way[highway=trunk_link] { width: 3; color: trunk#7fc97f; } way[highway=primary] { width: 3; color: primary#fb805f; } way[highway=primary_link] { width: 3; color: primary#fb805f; } way[highway=secondary] { width: 3; color: secondary#fdbf6f; } way[highway=secondary_link] { width: 3; color: secondary#fdbf6f; } way[highway=tertiary] { width: 2; color: tertiary#f7f496; } way[highway=tertiary_link] { width: 2; color: tertiary#f7f496; } way[highway=unclassified] { width: 2; color: street#c0c0c0; } way[highway=escape] { width: 3; color: street#c0c0c0; dashes: 3,3; } way[highway=road] { width: 2; casing-width: 0.5; casing-color: #ff9696; color: highway_road#770000; } way[highway=track][area?], relation[type=multipolygon][highway=track] { fill-color: highway_track#6e541c; } way[highway=track] { width: 2; color: highway_track#6e541c; } way[highway=residential] { width: 2; color: street#c0c0c0; } way[highway=living_street] { width: 2; dashes: 9,9; dashes-background-color: livingdashed#00ff00; color: street#c0c0c0; } way[highway=service][area?], relation[type=multipolygon][highway=service] { fill-color: service#809bc0; } way[highway=service][!area?] { width: 1; color: service#809bc0; } way[highway=bridleway] { width: 1; color: horse#a18559; } way[highway=cycleway] { width: 1; color: bicycle#b100ff; } way[highway=footway][area?], relation[type=multipolygon][highway=footway] { fill-color: foot#00ff00; } way[highway=footway][!area?] { width: 1; color: foot#00ff00; } way[highway=path][bicycle!=designated][bicycle!=official][foot!=designated][foot!=official] { width: 1; dashes: 9,9; color: foot#00ff00; } /* display path with bicycle/foot=designated/official as if it was cycleway/footway */ way[highway=path][bicycle=designated], way[highway=path][bicycle=official] { width: 1; color: bicycle#b100ff; set cyclecolor; } way[highway=path][foot=designated], way[highway=path][foot=official] { width: 1; color: foot#00ff00; } way[highway=path][bicycle=designated][foot=designated], way[highway=path][bicycle=official][foot=official] { width: 1; color: bicycle#b100ff; set cyclecolor; dashes: 14,14; dashes-background-color: foot#00ff00; } way[highway=cycleway][foot=yes], way[highway=path][bicycle=designated][foot=yes], way[highway=path][bicycle=official][foot=yes] { width: 1; color: bicycle#b100ff; set cyclecolor; dashes: 21,7; dashes-background-color: foot#00ff00; } way[highway=footway][bicycle=yes], way[highway=path][bicycle=yes][foot=designated], way[highway=path][bicycle=yes][foot=official] { width: 1; color: foot#00ff00; dashes: 21,7; dashes-background-color: bicycle#b100ff; } way[highway=pedestrian][area?], relation[type=multipolygon][highway=pedestrian] { width: 3; color: foot#00ff00; fill-color: foot#00ff00; } way[highway=pedestrian] { width: 3; color: foot#00ff00; } way[highway=steps] { width: 3; color: foot#00ff00; dashes: 2,2; } way[highway=bus_guideway] { width: 1; color: rail#404040; dashes: 9,9; } way[highway=raceway] { width: 1; color: raceway#ff80ff; } way[highway=raceway][area?], relation[type=multipolygon][highway=raceway] { fill-color: raceway#ff80ff; } area[junction=yes] { fill-color: junction#c0c0c0; } node[junction=yes] { icon-image: "vehicle/junction.svg"; set icon_z17; } node[highway=traffic_mirror] { icon-image: "vehicle/traffic_mirror.svg"; set icon_z17; } node[highway=milestone] { icon-image: "vehicle/milestone.svg"; set icon_z17; } node[direction=clockwise] { icon-image: "vehicle/restriction/roundabout_left.svg"; set icon_z17; } node[highway=mini_roundabout] { icon-image: "vehicle/restriction/mini_roundabout_left.svg"; set icon_z17; } node:righthandtraffic[highway=mini_roundabout] { icon-image: "vehicle/restriction/mini_roundabout_right.svg"; set icon_z17; } node[highway=stop] { icon-image: "vehicle/restriction/stop.svg"; set icon_z17; } node[highway=give_way] { icon-image: "vehicle/restriction/give_way.svg"; set icon_z17; } node[highway=traffic_signals] { icon-image: "vehicle/traffic_signals.svg"; set icon_z17; } node[highway=traffic_signals][crossing][crossing!=no] { icon-image: "vehicle/traffic_signals_crossing.svg"; set icon_z17; } node[highway=traffic_signals][crossing_ref=zebra] { icon-image: "vehicle/traffic_signals_crossing_ref_zebra.svg"; set icon_z17; } node[highway=traffic_signals][crossing=island] { icon-image: "vehicle/traffic_signals_crossing_island.svg"; set icon_z17; } node[highway=traffic_signals][crossing=traffic_signals] { icon-image: "vehicle/traffic_signals_crossing_traffic_signals.svg"; set icon_z17; } node[highway=street_lamp] { icon-image: "misc/streetlamp.png"; set icon_z17; } node[highway=speed_camera] { icon-image: "vehicle/restriction/speed_camera.svg"; set icon_z17; } relation[type=enforcement] >[role="device"] node { icon-image: "vehicle/restriction/speed_camera.svg"; set icon_z17; } node[traffic_sign=city_limit] { icon-image: "vehicle/restriction/city_limit.svg"; set icon_z17; } node[highway=crossing] { icon-image: "vehicle/crossing.svg"; set icon_z17; } node[highway=crossing][crossing=unmarked] { icon-image: "vehicle/crossing_unmarked.svg"; set icon_z17; } node[highway=crossing][crossing=island] { icon-image: "vehicle/crossing_island.svg"; set icon_z17; } node[highway=crossing][crossing_ref=zebra] { icon-image: "vehicle/crossing_ref_zebra.svg"; set icon_z17; } node[highway=crossing][crossing=traffic_signals] { icon-image: "vehicle/crossing_traffic_signals.svg"; set icon_z17; } node[highway=motorway_junction] { icon-image: "vehicle/motorway_junction.svg"; set icon_z17; text: eval(cond(has_tag_key(ref), concat(tag(name), " (", tag(ref), ")"), tag(name))); } area[highway=services] { fill-color: services#c0c0c0; } node[highway=services] { icon-image: "vehicle/services.svg"; set icon_z17; } area[highway=rest_area] { fill-color: services#c0c0c0; } node[highway=rest_area] { icon-image: "vehicle/rest_area.svg"; set icon_z17; } node[highway=ford], node[ford?] { icon-image: "misc/ford.svg"; set icon_z17; } way[ford?]::core_ford { z-index: 1; width: 2; color: water#0000ff; dashes: 9,9; } area[highway=platform]:closed { fill-color: highway_platform#c0c0c0; } way[highway=platform] { width: 2; color: highway_platform#c0c0c0; } node[highway=turning_circle] { icon-image: "vehicle/turning_circle.svg"; set icon_z17; } node[highway=turning_loop] { icon-image: "vehicle/turning_loop.svg"; set icon_z17; } node[highway=passing_place] { icon-image: "vehicle/passing_place.svg"; set icon_z17; } area[highway=elevator] { fill-color: elevator#a6bace; } node[highway=elevator] { icon-image: "service/elevator.svg"; set icon_z17; } way[highway=construction] { width: 2; color: construction#ffff00; dashes: 9,9; } node[highway=construction] { icon-image: "misc/construction.png"; set icon_z17; } area[highway=emergency_access_point] { fill-color: emergency_access_point#c0c0c0; } node[highway=emergency_access_point] { icon-image: "service/emergency_access_point.svg"; set icon_z17; } node[highway=motorway], node[highway=motorway_link], node[highway=trunk], node[highway=trunk_link], node[highway=primary], node[highway=primary_link], node[highway=secondary], node[highway=secondary_link], node[highway=tertiary], node[highway=tertiary_link], node[highway=unclassified], node[highway=road], node[highway=unsurfaced], node[highway=track], node[highway=residential], node[highway=living_street], node[highway=service], node[highway=bridleway], node[highway=cycleway], node[highway=footway], node[highway=path], node[highway=pedestrian], node[highway=bus_guideway], node[highway=platform] { icon-image: "misc/deprecated.png"; set icon_z17; } /************************/ /* traffic_calming tags */ /************************/ node[traffic_calming] { icon-image: "vehicle/traffic_calming.svg"; set icon_z17; } node[traffic_calming=chicane] { icon-image: "vehicle/chicane.svg"; set icon_z17; } node[traffic_calming=choker] { icon-image: "vehicle/choker.svg"; set icon_z17; } node[traffic_calming=island] { icon-image: "vehicle/island.svg"; set icon_z17; } node[traffic_calming=bump] { icon-image: "vehicle/bump.svg"; set icon_z17; } node[traffic_calming=hump] { icon-image: "vehicle/hump.svg"; set icon_z17; } node[traffic_calming=table] { icon-image: "vehicle/table.svg"; set icon_z17; } node[traffic_calming=cushion] { icon-image: "vehicle/cushion.svg"; set icon_z17; } node[traffic_calming=rumble_strip] { icon-image: "vehicle/rumble_strip.svg"; set icon_z17; } /****************/ /* junction tag */ /****************/ node[junction=roundabout] { icon-image: "vehicle/restriction/roundabout_left.svg"; set icon_z17; } node:righthandtraffic[junction=roundabout] { icon-image: "vehicle/restriction/roundabout_right.svg"; set icon_z17; } /*****************/ /* cycleway tags */ /*****************/ /* prepare lane */ way[oneway?][cycleway=lane]:righthandtraffic::core_cycleway, way[oneway=-1][cycleway=opposite_lane]:righthandtraffic::core_cycleway { set laneRight; set righthandtr; } way[oneway?][cycleway=opposite_lane]:righthandtraffic::core_cycleway, way[oneway=-1][cycleway=lane]:righthandtraffic::core_cycleway { set laneLeft; set righthandtr; } way[oneway?][cycleway=lane]!.righthandtr::core_cycleway, way[oneway=-1][cycleway=opposite_lane]!.righthandtr::core_cycleway { set laneLeft; } way[oneway?][cycleway=opposite_lane]!.righthandtr::core_cycleway, way[oneway=-1][cycleway=lane]!.righthandtr::core_cycleway { set laneRight; } way[cycleway:left=lane]::core_cycleway { set laneLeft; } way[cycleway:right=lane]::core_cycleway { set laneRight; } way[oneway=no][cycleway=lane]::core_cycleway, way[!oneway][cycleway=lane]::core_cycleway { set laneLeft; set laneRight; } /* prepare shared_lane */ way[oneway?][cycleway=shared_lane]:righthandtraffic::core_cycleway { set shared_laneRight; set righthandtr; } way[oneway=-1][cycleway=shared_lane]:righthandtraffic::core_cycleway { set shared_laneLeft; set righthandtr; } way[oneway?][cycleway=shared_lane]!.righthandtr::core_cycleway { set shared_laneLeft; } way[oneway=-1][cycleway=shared_lane]!.righthandtr::core_cycleway { set shared_laneRight; } way[cycleway:left=shared_lane]::core_cycleway { set shared_laneLeft; } way[cycleway:right=shared_lane]::core_cycleway { set shared_laneRight; } way[oneway=no][cycleway=shared_lane]::core_cycleway, way[!oneway][cycleway=shared_lane]::core_cycleway { set shared_laneLeft; set shared_laneRight; } /* prepare track */ way[oneway?][cycleway=track]:righthandtraffic::core_cycleway, way[oneway=-1][cycleway=opposite_track]:righthandtraffic::core_cycleway { set trackRight; set righthandtr; } way[oneway?][cycleway=opposite_track]:righthandtraffic::core_cycleway, way[oneway=-1][cycleway=track]:righthandtraffic::core_cycleway { set trackLeft; set righthandtr; } way[oneway?][cycleway=track]!.righthandtr::core_cycleway, way[oneway=-1][cycleway=opposite_track]!.righthandtr::core_cycleway { set trackLeft; } way[oneway?][cycleway=opposite_track]!.righthandtr::core_cycleway, way[oneway=-1][cycleway=track]!.righthandtr::core_cycleway { set trackRight; } way[cycleway:left=track]::core_cycleway { set trackLeft; } way[cycleway:right=track]::core_cycleway { set trackRight; } way[oneway=no][cycleway=track]::core_cycleway, way[!oneway][cycleway=track]::core_cycleway { set trackLeft; set trackRight; } /* render lane */ way.laneRight::core_cycleway { width: 2; color: bicycle#b100ff; dashes: 6, 10; offset: 0 - (prop("width", "default") / 2) - 2; major-z-index: 2.1; modifier: true; } way[prop("laneLeft","core_cycleway")]::core_cycleway2 { width: 2; color: bicycle#b100ff; dashes: 6, 10; offset: (prop("width", "default") / 2) + 2; major-z-index: 2.1; modifier: true; } /* render shared_lane */ way.shared_laneRight::core_cycleway { width: 2; color: bicycle#b100ff; dashes: 6, 3; offset: 0 - (prop("width", "default") / 2) - 2; major-z-index: 2.1; modifier: true; } way[prop("shared_laneLeft","core_cycleway")]::core_cycleway2 { width: 2; color: bicycle#b100ff; dashes: 6, 3; offset: (prop("width", "default") / 2) + 2; major-z-index: 2.1; modifier: true; } /* render track */ way.trackRight::core_cycleway { width: 2; color: bicycle#b100ff; dashes: 25, 8; offset: 0 - (prop("width", "default") / 2) - 2; major-z-index: 2.1; modifier: true; } way[prop("trackLeft","core_cycleway")]::core_cycleway2 { width: 2; color: bicycle#b100ff; dashes: 25, 8; offset: (prop("width", "default") / 2) + 2; major-z-index: 2.1; modifier: true; } /* render opposite */ way[cycleway=opposite]::core_cycleway { object-z-index: 1; width: +0; color: bicycle#b100ff; dashes: 4,10; } node[cycleway=lane], node[cycleway=opposite_lane], node[cycleway=track], node[cycleway=opposite_track], node[cycleway=opposite] { icon-image: "misc/deprecated.png"; set icon_z17; } /******************/ /* tracktype tags */ /******************/ way[highway=track][tracktype=grade1] { dashes: 8,1; } way[highway=track][tracktype=grade2] { dashes: 6,2; } way[highway=track][tracktype=grade3] { dashes: 4,3; } way[highway=track][tracktype=grade4] { dashes: 4,5; } way[highway=track][tracktype=grade5] { dashes: 4,7; } /**************/ /* piste tags */ /**************/ way[route=ski]::core_piste { z-index: -1; modifier: false; width: 6; color: ski#809bc0; } area[piste:difficulty=easy][!highway]:closed::core_piste { fill-color: piste_easy#0000ff; } way[piste:difficulty=easy]::core_piste { z-index: -1; /* below line style from highway=* tag */ modifier: false; /* suppress default line if there is no style on default layer */ width: 6; color: piste_easy#0000ff; } area[piste:difficulty=intermediate][!highway]:closed::core_piste { fill-color: piste_intermediate#ff0000; } way[piste:difficulty=intermediate]::core_piste { z-index: -1; modifier: false; width: 6; color: piste_intermediate#ff0000; } area[piste:difficulty=advanced][!highway]:closed::core_piste { fill-color: piste_advanced#606060; } way[piste:difficulty=advanced]::core_piste { z-index: -1; modifier: false; width: 6; color: piste_advanced#606060; } area[piste:difficulty=expert][!highway]:closed::core_piste { fill-color: piste_expert#606060; } way[piste:difficulty=expert]::core_piste { z-index: -1; modifier: false; width: 6; color: piste_expert#606060; } area[piste:difficulty=freeride][!highway]:closed::core_piste { fill-color: piste_freeride#ffff00; } way[piste:difficulty=freeride]::core_piste { z-index: -1; modifier: false; width: 6; color: piste_freeride#ffff00; } area[piste:difficulty=novice][!highway]:closed::core_piste { fill-color: piste_novice#00ff00; } way[piste:difficulty=novice]::core_piste { z-index: -1; modifier: false; width: 6; color: piste_novice#00ff00; } node[piste:type=downhill], node[piste:type=nordic], node[piste:type=skitour], node[piste:type=sled], node[piste:type=sleigh], node[piste:type=snow_park] { icon-image: "sport/skiing.png"; set icon_z17; } /**************/ /* power tags */ /**************/ node[power=portal] { icon-image: "power/portal.svg"; set icon_z17; } node[power=tower] { icon-image: "power/tower.svg"; set icon_z17; } node[power=pole] { icon-image: "power/pole.svg"; set icon_z17; } node[power=pole][transformer=distribution] { icon-image: "power/pole_transformer.svg"; set icon_z17; } node[power=insulator] { icon-image: "power/insulator.svg"; set icon_z17; } way[power=portal], way[power=line], way[power=minor_line] { width: 1; color: power#eeeeee; } way[power=cable] { width: 1; color: power#eeeeee; dashes: 9,9; } node[power=plant], node[power=sub_station], node[power=line], node[power=cable], node[power=minor_line] { icon-image: "misc/deprecated.png"; set icon_z17; } area[power=plant], area[power=substation], area[power=compensator], area[power=converter], area[power=generator] { fill-color: power#eeeeee; } node[man_made=street_cabinet][street_cabinet=power] { icon-image: "power/cable_distribution_cabinet.svg"; set icon_z17; } node[power=generator] { icon-image: "power/generator.svg"; set icon_z17; } node[power=substation] { icon-image: "power/substation.svg"; set icon_z17; } node[power=transformer] { icon-image: "power/transformer.svg"; set icon_z17; } node[power=switchgear] { icon-image: "power/switchgear.svg"; set icon_z17; } node[power=switch] { icon-image: "power/switch.svg"; set icon_z17; } node[power=converter] { icon-image: "power/converter.svg"; set icon_z17; } node[power=compensator] { icon-image: "power/compensator.svg"; set icon_z17; } /*************************/ /* generator:source tags */ /*************************/ area[generator:source=nuclear], area[generator:source=wind], area[generator:source=hydro], area[generator:source=tidal], area[generator:source=wave], area[generator:source=osmotic], area[generator:source=geothermal], area[generator:source=solar], area[generator:source=coal], area[generator:source=gas], area[generator:source=biomass], area[generator:source=biofuel], area[generator:source=biogas], area[generator:source=oil], area[generator:source=diesel], area[generator:source=gasoline], area[generator:source=waste] { fill-color: power#eeeeee; } node[generator:source=nuclear] { icon-image: "presets/power_source-nuclear.svg"; set icon_z17; } node[generator:source=wind] { icon-image: "presets/power_source-wind.svg"; set icon_z17; } node[generator:source=hydro], node[generator:source=tidal], node[generator:source=wave], node[generator:source=osmotic] { icon-image: "presets/power_source-water.svg"; set icon_z17; } node[generator:source=geothermal] { icon-image: "presets/power_source-geothermal.svg"; set icon_z17; } node[generator:source=solar] { icon-image: "presets/power_source-sun.svg"; set icon_z17; } node[generator:source=coal] { icon-image: "presets/power_source-coal.svg"; set icon_z17; } node[generator:source=gas] { icon-image: "presets/power_source-gas.svg"; set icon_z17; } node[generator:source=biomass], node[generator:source=biofuel], node[generator:source=biogas] { icon-image: "presets/power_source-biofuel.svg"; set icon_z17; } node[generator:source=oil], node[generator:source=diesel], node[generator:source=gasoline] { icon-image: "presets/power_source-oil.svg"; set icon_z17; } node[generator:source=waste] { icon-image: "presets/power_source-waste.svg"; set icon_z17; } node[power_source] { icon-image: "misc/deprecated.png"; set icon_z17; } /*****************/ /* man_made tags */ /*****************/ area[man_made=beacon], area[man_made=bridge], area[bridge:support], area[man_made=chimney], area[man_made=gasometer], area[man_made=silo], area[man_made=storage_tank], area[man_made=bunker_silo], area[man_made=lighthouse], area[man_made=monitoring_station], area[man_made=mineshaft] { fill-color: manmade#d8d8d8; } node[man_made=beacon] { icon-image: "misc/landmark/beacon.png"; set icon_z17; } node[man_made=bridge] { icon-image: "misc/deprecated.png"; set icon_z17; } node[bridge:support] { icon-image: "transport/bridge/bridge_support.svg"; set icon_z17; } node[man_made=chimney] { icon-image: "misc/landmark/chimney.png"; set icon_z17; } node[man_made=flagpole] { icon-image: "misc/flag.png"; set icon_z17; } node[man_made=gasometer] { icon-image: "presets/gasometer.png"; icon-width: 16; set icon_z17; } node[man_made=silo] { icon-image: "presets/silo.png"; icon-width: 16; set icon_z17; } node[man_made=storage_tank] { icon-image: "presets/storage_tank.png"; icon-width: 16; set icon_z17; } node[man_made=bunker_silo] { icon-image: "bunker_silo.svg"; set icon_z17; } area[man_made=groyne]:closed { fill-color: manmade#d8d8d8; } way[man_made=groyne] { width: 2; color: manmade#d8d8d8; } area[man_made=breakwater]:closed { fill-color: manmade#d8d8d8; } way[man_made=breakwater] { width: 2; color: manmade#d8d8d8; } node[man_made=lighthouse] { icon-image: "misc/landmark/lighthouse.png"; set icon_z17; } node[man_made=monitoring_station] { icon-image: "misc/landmark/measurement_station.png"; set icon_z17; } node[man_made=mineshaft] { icon-image: "misc/landmark/mine.png"; set icon_z17; } area[man_made=crane]:closed { fill-color: manmade#d8d8d8; } way[man_made=crane] { width: 2; color: manmade#d8d8d8; } node[man_made=crane] { icon-image: "misc/landmark/crane.png"; set icon_z17; } node[man_made=adit] { icon-image: "misc/landmark/adit.png"; set icon_z17; } area[man_made=pier]:closed { fill-color: pier#660000; } way[man_made=pier] { width: 2; color: pier#660000; } node[man_made=pier] { icon-image: "nautical/pier.svg"; set icon_z17; } way[embankment?][!highway][!railway][!waterway], way[man_made=embankment][!highway][!railway][!waterway] { repeat-image: "misc/embankment-pattern.png"; repeat-image-align: top; width: 1; color: embankment#c14d00; } way[embankment?][highway], way[embankment?][railway], way[embankment?][waterway], way[man_made=embankment][highway], way[man_made=embankment][railway], way[man_made=embankment][waterway] { repeat-image: "misc/embankment-pattern-centered.png"; } way[man_made=pipeline] { width: 2; color: pipeline#660000; } node[pipeline=marker] { icon-image: "misc/pipeline_marker.svg"; set icon_z17; } node[pipeline=valve] { icon-image: "misc/valve.svg"; set icon_z17; } node[man_made=breakwater], node[man_made=groyne], node[man_made=embankment], node[man_made=pipeline] { icon-image: "misc/deprecated.png"; set icon_z17; } node[man_made=petroleum_well][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } area[man_made=reservoir_covered], area[man_made=surveillance], area[man_made=tower], area[man_made=wastewater_plant], area[man_made=watermill], area[man_made=water_tower], area[man_made=water_well], area[man_made=windmill], area[man_made=works], area[man_made=water_works] { fill-color: manmade#d8d8d8; } node[man_made=reservoir_covered] { icon-image: "misc/landmark/reservoir_covered.png"; set icon_z17; } node[man_made=surveillance] { icon-image: "presets/surveillance.png"; icon-width: 16; set icon_z17; } node[man_made=survey_point] { icon-image: "misc/landmark/survey_point.png"; set icon_z17; } node[man_made=tower] { icon-image: "misc/landmark/tower.png"; set icon_z17; } node[man_made=wastewater_plant] { icon-image: "misc/landmark/wastewater_plant.png"; set icon_z17; } node[man_made=watermill] { icon-image: "misc/landmark/watermill.png"; set icon_z17; } node[man_made=water_tower] { icon-image: "misc/landmark/water_tower.svg"; set icon_z17; } node[man_made=water_well] { icon-image: "misc/landmark/water_well.png"; set icon_z17; } node[man_made=windmill] { icon-image: "misc/landmark/windmill.png"; set icon_z17; } node[man_made=works] { icon-image: "misc/landmark/works.png"; set icon_z17; } node[man_made=water_works] { icon-image: "misc/landmark/water_works.png"; set icon_z17; } way[man_made=cutline] { width: 2; color: cutline#99ff55; } node[man_made=cutline] { icon-image: "misc/deprecated.png"; set icon_z17; } /***************/ /* office tags */ /***************/ area[office=accountant], area[office=administrative], area[office=advertising_agency], area[office=architect], area[office=association], area[office=company], area[office=educational_institution], area[office=employment_agency], area[office=estate_agent], area[office=foundation], area[office=government], area[office=insurance], area[office=it], area[office=lawyer], area[office=newspaper], area[office=ngo], area[office=notary], area[office=political_party], area[office=religion], area[office=research], area[office=tax_advisor], area[office=telecommunication] { fill-color: office#de5696; } node[office=accountant] { icon-image: "styles/standard/office/accountant.svg"; set icon_z17; } node[office=administrative] { icon-image: "styles/standard/office/administrative.svg"; set icon_z17; } node[office=advertising_agency] { icon-image: "styles/standard/office/advertising_agency.svg"; set icon_z17; } node[office=architect] { icon-image: "styles/standard/office/architect.svg"; set icon_z17; } node[office=association] { icon-image: "styles/standard/office/association.svg"; set icon_z17; } node[office=company] { icon-image: "styles/standard/office/private_company.svg"; set icon_z17; } node[office=educational_institution] { icon-image: "styles/standard/office/educational_institution.svg"; set icon_z17; } node[office=employment_agency] { icon-image: "styles/standard/office/employment_agency.svg"; set icon_z17; } node[office=estate_agent] { icon-image: "styles/standard/office/real_state.svg"; set icon_z17; } node[office=foundation] { icon-image: "styles/standard/office/foundation.svg"; set icon_z17; } node[office=insurance] { icon-image: "styles/standard/office/insurance.svg"; set icon_z17; } node[office=it] { icon-image: "styles/standard/office/it.svg"; set icon_z17; } node[office=lawyer] { icon-image: "styles/standard/office/lawyer.svg"; set icon_z17; } node[office=newspaper] { icon-image: "styles/standard/office/newspaper.svg"; set icon_z17; } node[office=ngo] { icon-image: "styles/standard/office/ong.svg"; set icon_z17; } node[office=notary] { icon-image: "styles/standard/office/notary.svg"; set icon_z17; } node[office=political_party] { icon-image: "styles/standard/office/political_party.svg"; set icon_z17; } node[office=religion] { icon-image: "styles/standard/office/religion.svg"; set icon_z17; } node[office=research] { icon-image: "styles/standard/office/research.svg"; set icon_z17; } node[office=tax_advisor] { icon-image: "styles/standard/office/tax_advisor.svg"; set icon_z17; } node[office=telecommunication] { icon-image: "styles/standard/office/telecommunication.svg"; set icon_z17; } node[office=government] { icon-image: "styles/standard/office/government.svg"; set icon_z17; } /****************/ /* leisure tags */ /****************/ area[leisure=sports_centre], area[leisure=stadium], area[leisure=horse_riding], area[leisure=water_park] { fill-color: leisure#c7f1a3; } node[leisure=sports_centre] { icon-image: "sport/centre.png"; set icon_z17; } node[leisure=stadium] { icon-image: "sport/stadium.png"; set icon_z17; } node[leisure=horse_riding] { icon-image: "presets/equestrian.png"; icon-width: 16; set icon_z17; } node[leisure=water_park] { icon-image: "leisure/water_park.png"; set icon_z17; } area[leisure=track][!area?!]:closed { fill-color: leisuretrack#d4f4b9; } way[leisure=track] { width: 2; color: leisuretrack#d4f4b9; } node[leisure=track] { icon-image: "sport/track.png"; set icon_z17; } area[leisure=pitch] { fill-color: pitch#baee8d; } node[leisure=pitch] { icon-image: "sport/pitch.png"; set icon_z17; } area[leisure=marina] { fill-color: marina#0070cf; } node[leisure=marina] { icon-image: "nautical/marina.png"; set icon_z17; } way[leisure=slipway] { width: 2; color: leisure#c7f1a3; } node[leisure=slipway] { icon-image: "nautical/slipway.png"; set icon_z17; } area[leisure=fishing], area[leisure=bird_hide], area[leisure=nature_reserve], area[leisure=park], area[leisure=playground], area[leisure=garden], area[leisure=common], area[leisure=firepit] { fill-color: leisure#c7f1a3; } node[leisure=fishing] { icon-image: "sport/fishing.png"; set icon_z17; } node[leisure=bird_hide] { icon-image: "leisure/bird_hide.svg"; set icon_z17; } node[leisure=nature_reserve] { icon-image: "leisure/nature_reserve.png"; set icon_z17; } node[leisure=park] { icon-image: "misc/deprecated.png"; set icon_z17; } node[leisure=playground] { icon-image: "leisure/playground.png"; set icon_z17; } node[leisure=garden] { icon-image: "leisure/garden.png"; set icon_z17; } node[leisure=common] { icon-image: "leisure/common.png"; set icon_z17; } node[leisure=firepit] { icon-image: "leisure/firepit.svg"; set icon_z17; } node[leisure=picnic_table] { icon-image: "leisure/picnic.png"; set icon_z17; } area[leisure=swimming_pool] { fill-color: swimming_pool#51c4ef; } node[leisure=swimming_pool] { icon-image: "sport/pool.png"; set icon_z17; } area[leisure=fitness_station], area[leisure=miniature_golf], area[leisure=dog_park], area[leisure=ice_rink], area[leisure=sauna] { fill-color: leisure#c7f1a3; } node[leisure=fitness_station] { icon-image: "leisure/fitness_station.svg"; set icon_z17; } node[leisure=miniature_golf] { icon-image: "sport/miniature_golf.svg"; set icon_z17; } node[leisure=dog_park] { icon-image: "presets/dogpark.png"; icon-width: 16; set icon_z17; } node[leisure=ice_rink] { icon-image: "sport/ice_hockey.png"; set icon_z17; } node[leisure=sauna] { icon-image: "leisure/sauna.png"; set icon_z17; } area[leisure=golf_course] { fill-color: leisure#c7f1a3; } node[leisure=golf_course] { icon-image: "sport/golf/golf.svg"; set icon_z17; } /*************/ /* golf tags */ /*************/ area[golf=tee] { fill-color: golf#c7f1a3; } node[golf=tee] { icon-image: "sport/golf/tee.svg"; set icon_z17; } way[golf=hole] { width: 1; dashes: 10,10; color: golf_hole#808080; } node[golf=pin] { icon-image: "sport/golf/pin.svg"; set icon_z17; } area[golf=bunker] { fill-color: golf_bunker#ffab00; } area[golf=water_hazard], area[golf=lateral_water_hazard] { fill-color: golf_water_hazard#0000ff; } area[golf=green] { fill-color: golf_green#00e700; } area[golf=fairway] { fill-color: golf_fairway#009a00; } area[golf=rough] { fill-color: golf_rough#006700; } area[golf=driving_range] { fill-color: golf_driving_range#c7f1a3; } node[golf=driving_range] { icon-image: "sport/golf/driving_range.svg"; set icon_z17; } /********************/ /* advertising tags */ /********************/ node[advertising=column] { icon-image: "leisure/advertising_column.svg"; set icon_z17; } node[advertising=billboard] { icon-image: "leisure/billboard.svg"; set icon_z17; } /*************/ /* shop tags */ /*************/ area[shop=supermarket], area[shop=convenience], area[shop=bakery], area[shop=butcher], area[shop=bicycle], area[shop=doityourself], area[shop=dry_cleaning], area[shop=laundry], area[shop=outdoor], area[shop=kiosk], area[shop=alcohol], area[shop=beverages], area[shop=books], area[shop=boutique], area[shop=car], area[shop=car_dealer], area[shop=car_repair], area[shop=tyres], area[shop=chemist], area[shop=tobacco], area[shop=clothes], area[shop=computer], area[shop=confectionery], area[shop=copyshop], area[shop=curtain], area[shop=cycle_repair], area[shop=department_store], area[shop=deli], area[shop=electronics], area[shop=erotic], area[shop=furniture], area[shop=fabric], area[shop=florist], area[shop=frame], area[shop=gift], area[shop=greengrocer], area[shop=garden_centre], area[shop=hairdresser], area[shop=hardware], area[shop=hearing_aids], area[shop=hifi], area[shop=houseware], area[shop=jewelry], area[shop=kitchen], area[shop=mall], area[shop=mobile_phone], area[shop=motorcycle], area[shop=musical_instrument], area[shop=newsagent], area[shop=optician], area[shop=medical_supply], area[shop=paint], area[shop=pawnbroker], area[shop=seafood], area[shop=shoes], area[shop=sports], area[shop=stationery], area[shop=tailor], area[shop=travel_agency], area[shop=toys], area[shop=vacuum_cleaner], area[shop=variety_store], area[shop=video], area[shop=bookmaker], area[shop=lottery], area[shop=shopping_centre], area[shop=pet], area[shop=photo], area[shop=ticket], area[shop=interior_decoration], area[shop=car_parts], area[shop=video_games], area[shop=bed], area[shop=beauty], area[shop=cosmetics], area[shop=perfumery], area[shop=tea], area[shop=coffee], area[shop=antiques], area[shop=music], area[shop=funeral_directors], area[shop=wine], area[shop=farm], area[shop=tattoo], area[shop=art], area[shop=bag] { fill-color: shop#00005f; } node[shop=supermarket] { icon-image: "shop/supermarket.svg"; set icon_z17; } node[shop=convenience] { icon-image: "shop/convenience.png"; set icon_z17; } node[shop=bakery] { icon-image: "shop/groceries/bakery.png"; set icon_z17; } node[shop=butcher] { icon-image: "shop/groceries/butcher.png"; set icon_z17; } node[shop=bicycle] { icon-image: "sport/bicycle.png"; set icon_z17; } node[shop=doityourself] { icon-image: "shop/diy_store.png"; set icon_z17; } node[shop=dry_cleaning], node[shop=laundry] { icon-image: "shop/laundry.png"; set icon_z17; } node[shop=outdoor] { icon-image: "shop/outdoor.png"; set icon_z17; } node[shop=kiosk] { icon-image: "shop/kiosk.png"; set icon_z17; } node[shop=beverages] { icon-image: "shop/beverages.png"; set icon_z17; } node[shop=alcohol] { icon-image: "shop/alcohol.png"; set icon_z17; } node[shop=books] { icon-image: "shop/book.svg"; set icon_z17; } node[shop=boutique] { icon-image: "shop/boutique.png"; set icon_z17; } node[shop=car], node[shop=car_dealer] { icon-image: "vehicle.png"; set icon_z17; } node[shop=car_repair] { icon-image: "vehicle/repair_shop.png"; set icon_z17; } node[shop=tyres] { icon-image: "vehicle/tyres.png"; set icon_z17; } node[shop=chemist] { icon-image: "shop/chemist.png"; set icon_z17; } node[shop=tobacco] { icon-image: "shop/tobacco.svg"; set icon_z17; } node[shop=clothes] { icon-image: "shop/clothes.png"; set icon_z17; } node[shop=computer] { icon-image: "shop/computer.png"; set icon_z17; } node[shop=confectionery] { icon-image: "shop/groceries/confectionery.png"; set icon_z17; } node[shop=copyshop] { icon-image: "shop/copyshop.png"; set icon_z17; } node[shop=curtain] { icon-image: "shop/curtain.png"; set icon_z17; } node[shop=cycle_repair] { icon-image: "sport/bicycle.png"; set icon_z17; } node[shop=department_store] { icon-image: "shop/mall.png"; set icon_z17; } node[shop=deli] { icon-image: "shop/groceries/deli.png"; set icon_z17; } node[shop=electronics] { icon-image: "shop/electronics.png"; set icon_z17; } node[shop=erotic] { icon-image: "shop/erotic.png"; set icon_z17; } node[shop=furniture] { icon-image: "shop/furniture.png"; set icon_z17; } node[shop=fabric] { icon-image: "shop/fabric.png"; set icon_z17; } node[shop=florist] { icon-image: "shop/florist.png"; set icon_z17; } node[shop=frame] { icon-image: "shop/frame.png"; set icon_z17; } node[shop=gift] { icon-image: "presets/present.svg"; set icon_z17; } node[shop=greengrocer] { icon-image: "shop/groceries/greengrocer.png"; set icon_z17; } node[shop=garden_centre] { icon-image: "shop/garden_centre.png"; set icon_z17; } node[shop=hairdresser] { icon-image: "shop/hairdresser.png"; set icon_z17; } node[shop=hardware] { icon-image: "shop/hardware.png"; set icon_z17; } node[shop=hearing_aids] { icon-image: "shop/hearing_aids.png"; set icon_z17; } node[shop=hifi] { icon-image: "shop/hifi.svg"; set icon_z17; } node[shop=houseware] { icon-image: "shop/houseware.svg"; set icon_z17; } node[shop=jewelry] { icon-image: "shop/jewelry.png"; set icon_z17; } node[shop=kitchen] { icon-image: "shop/kitchen.png"; set icon_z17; } node[shop=mall] { icon-image: "shop/mall.png"; set icon_z17; } node[shop=mobile_phone] { icon-image: "shop/mobile_phone.png"; set icon_z17; } node[shop=motorcycle] { icon-image: "vehicle/motorbike.png"; set icon_z17; } node[shop=musical_instrument] { icon-image: "shop/musical_instrument.png"; set icon_z17; } node[shop=newsagent] { icon-image: "shop/news.svg"; set icon_z17; } node[shop=optician] { icon-image: "shop/optician.svg"; set icon_z17; } node[shop=medical_supply] { icon-image: "shop/medical_supply.svg"; set icon_z17; } node[shop=paint] { icon-image: "shop/paint.png"; set icon_z17; } node[shop=pawnbroker] { icon-image: "presets/pawnbroker.svg"; set icon_z17; } node[shop=seafood] { icon-image: "shop/groceries/seafood.png"; set icon_z17; } node[shop=shoes] { icon-image: "shop/shoes.png"; set icon_z17; } node[shop=sports] { icon-image: "sport/multi.png"; set icon_z17; } node[shop=stationery] { icon-image: "shop/stationery.png"; set icon_z17; } node[shop=tailor] { icon-image: "shop/tailor.png"; set icon_z17; } node[shop=travel_agency] { icon-image: "presets/travel.png"; icon-width: 16; set icon_z17; } node[shop=toys] { icon-image: "shop/toys.png"; set icon_z17; } node[shop=vacuum_cleaner] { icon-image: "shop/vacuum_cleaner.png"; set icon_z17; } node[shop=variety_store] { icon-image: "shop/variety_store.png"; set icon_z17; } node[shop=video] { icon-image: "shop/video.png"; set icon_z17; } node[shop=bookmaker] { icon-image: "presets/lottery.svg"; set icon_z17; } node[shop=lottery] { icon-image: "presets/lottery.svg"; set icon_z17; } /* duplicate of shopping_centre? */ node[shop=shopping_centre] { icon-image: "shop/mall.png"; set icon_z17; } node[shop=pet] { icon-image: "shop/pet.svg"; set icon_z17; } node[shop=photo] { icon-image: "shop/photo.svg"; set icon_z17; } node[shop=ticket] { icon-image: "shop/ticket.svg"; set icon_z17; } node[shop=interior_decoration] { icon-image: "shop/interior_decoration.svg"; set icon_z17; } node[shop=car_parts] { icon-image: "vehicle/car_parts.svg"; set icon_z17; } node[shop=video_games] { icon-image: "shop/video_games.png"; set icon_z17; } node[shop=bed] { icon-image: "shop/bed.svg"; set icon_z17; } node[shop=beauty] { icon-image: "shop/beauty.svg"; set icon_z17; } node[shop=cosmetics] { icon-image: "shop/cosmetics.svg"; set icon_z17; } node[shop=perfumery] { icon-image: "shop/perfumery.svg"; set icon_z17; } node[shop=tea] { icon-image: "shop/groceries/tea.svg"; set icon_z17; } node[shop=coffee] { icon-image: "shop/groceries/coffee.svg"; set icon_z17; } node[shop=antiques] { icon-image: "shop/antique.svg"; set icon_z17; } node[shop=music] { icon-image: "shop/music.svg"; set icon_z17; } node[shop=funeral_directors] { icon-image: "shop/funeral_directors.svg"; set icon_z17; } node[shop=wine] { icon-image: "shop/wine.svg"; set icon_z17; } node[shop=farm] { icon-image: "presets/apple.png"; set icon_z17; } node[shop=tattoo] { icon-image: "shop/tattoo.svg"; set icon_z17; } node[shop=art] { icon-image: "shop/art.svg"; set icon_z17; } node[shop=bag] { icon-image: "shop/bag.svg"; set icon_z17; } /******************/ /* emergency tags */ /******************/ area[emergency=ambulance_station], area[emergency=water_tank] { fill-color: emergency#eeeeee; } node[emergency=ambulance_station] { icon-image: "emergency/ambulance_station.svg"; set icon_z17; } node[emergency=water_tank] { icon-image: "emergency/water_tank.svg"; set icon_z17; } node[emergency=phone] { icon-image: "vehicle/emergency_phone.png"; set icon_z17; } node[emergency=defibrillator] { icon-image: "presets/aed.svg"; set icon_z17; } node[emergency=fire_hydrant] { icon-image: "service/fire_hydrant.png"; set icon_z17; } node[emergency=fire_extinguisher] { icon-image: "emergency/fire_extinguisher.svg"; set icon_z17; } node[emergency=fire_hose] { icon-image: "emergency/fire_hose.svg"; set icon_z17; } node[emergency=assembly_point] { icon-image: "emergency/assembly_point.svg"; set icon_z17; } node[emergency=siren] { icon-image: "emergency/siren.svg"; set icon_z17; } /****************/ /* amenity tags */ /****************/ area[amenity=pub], area[amenity=biergarten], area[amenity=nightclub], area[amenity=stripclub], area[amenity=casino], area[amenity=brothel], area[amenity=cafe], area[amenity=restaurant], area[amenity=food_court], area[amenity=fast_food], area[amenity=bar], area[amenity=ice_cream] { fill-color: amenity#ecba52; } node[amenity=pub] { icon-image: "food/pub.png"; set icon_z17; } node[amenity=biergarten] { icon-image: "food/biergarten.png"; set icon_z17; } node[amenity=nightclub] { icon-image: "leisure/discoball.svg"; set icon_z17; } node[amenity=stripclub] { icon-image: "leisure/nightclub.png"; set icon_z17; } node[amenity=casino] { icon-image: "leisure/casino.svg"; set icon_z17; } node[amenity=brothel] { icon-image: "leisure/stripclub.png"; set icon_z17; } node[amenity=cafe] { icon-image: "food/cafe.png"; set icon_z17; } node[amenity=restaurant] { icon-image: "food/restaurant.svg"; set icon_z17; } node[amenity=food_court] { icon-image: "food/restaurant.png"; set icon_z17; } node[amenity=fast_food] { icon-image: "food/fastfood.png"; set icon_z17; } node[amenity=bar] { icon-image: "food/bar.png"; set icon_z17; } node[amenity=ice_cream] { icon-image: "food/icecream.png"; set icon_z17; } area[amenity=bicycle_parking]:closed { fill-color: amenity_traffic#f7efb7; } way[amenity=bicycle_parking] { width: 2; color: amenity_traffic#f7efb7; } area[amenity=parking_space], area[amenity=parking], area[amenity=motorcycle_parking], area[amenity=bicycle_rental], area[amenity=bicycle_repair_station], area[amenity=car_rental], area[amenity=car_sharing], area[amenity=car_wash], area[amenity=taxi], area[amenity=fuel] { fill-color: amenity_traffic#f7efb7; } node[amenity=parking_space] { icon-image: "vehicle/parking/parking_space.svg"; set icon_z17; } node[amenity=parking] { icon-image: "vehicle/parking.png"; set icon_z17; } node[amenity=parking_entrance] { icon-image: "vehicle/parking.png"; set icon_z17; } node[amenity=parking_entrance][parking=multi-storey], node[amenity=parking][parking=multi-storey] { icon-image: "vehicle/parking/multi-storey.png"; set icon_z17; } node[amenity=parking_entrance][parking=underground], node[amenity=parking][parking=underground] { icon-image: "vehicle/parking/underground.png"; set icon_z17; } node[amenity=motorcycle_parking] { icon-image: "vehicle/parking/motorbike.png"; set icon_z17; } node[amenity=bicycle_parking] { icon-image: "vehicle/parking/bicycle.png"; set icon_z17; } node[park_ride][park_ride!=no] { icon-image: "vehicle/parking/park_ride.svg"; set icon_z17; } node[amenity=parking_space][wheelchair?] { icon-image: "vehicle/parking/handicapped.png"; set icon_z17; } node[amenity=bicycle_rental] { icon-image: "vehicle/rental/bicycle.png"; set icon_z17; } node[amenity=bicycle_repair_station] { icon-image: "vehicle/bicycle_repair_station.svg"; set icon_z17; } node[amenity=car_rental] { icon-image: "vehicle/rental/car.png"; set icon_z17; } node[amenity=car_sharing] { icon-image: "vehicle/car_sharing.png"; set icon_z17; } node[amenity=car_wash] { icon-image: "vehicle/car_wash.png"; set icon_z17; } node[amenity=taxi] { icon-image: "transport/taxi.png"; set icon_z17; } node[amenity=fuel] { icon-image: "vehicle/fuel.png"; set icon_z17; } node[amenity=charging_station] { icon-image: "vehicle/fuel/charging_station.png"; set icon_z17; } node[amenity=grit_bin] { icon-image: "misc/grit_bin.svg"; set icon_z17; } node[amenity=telephone] { icon-image: "service/telephone.png"; set icon_z17; } node[amenity=clock] { icon-image: "service/clock.svg"; set icon_z17; } area[amenity=toilets], area[amenity=shower], area[amenity=recycling], area[amenity=sanitary_dump_station] { fill-color: amenity_light#f7efb7; } node[amenity=toilets] { icon-image: "service/toilets.png"; set icon_z17; } node[amenity=shower] { icon-image: "service/shower.svg"; set icon_z17; } node[amenity=recycling] { icon-image: "service/recycling/recycling.svg"; set icon_z17; } node[amenity=recycling][recycling_type=container] { icon-image: "service/recycling/recycling_container.svg"; } node[amenity=recycling][recycling_type=centre] { icon-image: "service/recycling/recycling_centre.svg"; } node[amenity=waste_basket] { icon-image: "service/recycling/trash-bin.png"; set icon_z17; } node[amenity=waste_disposal] { icon-image: "service/recycling/waste_disposal.png"; set icon_z17; } node[amenity=sanitary_dump_station] { icon-image: "service/recycling/sanitary_dump_station.svg"; set icon_z17; } area[amenity=townhall], area[amenity=embassy], area[amenity=community_centre] { fill-color: amenity_light#f7efb7; } node[amenity=townhall] { icon-image: "presets/townhall.png"; set icon_z17; } node[amenity=embassy] { icon-image: "service/administration/embassy.png"; set icon_z17; } node[amenity=community_centre] { icon-image: "service/community_centre.png"; set icon_z17; } area[amenity=water_point], area[amenity=fountain] { fill-color: light_water#00005f; } node[amenity=drinking_water] { icon-image: "food/drinking_water.png"; set icon_z17; } node[amenity=water_point] { icon-image: "accommodation/camping/water.png"; set icon_z17; } node[amenity=fountain] { icon-image: "misc/fountain.png"; set icon_z17; } area[amenity=place_of_worship], area[amenity=grave_yard], area[amenity=crematorium], area[amenity=post_office], area[amenity=studio], area[amenity=school], area[amenity=university], area[amenity=college], area[amenity=kindergarten], area[amenity=driving_school] { fill-color: amenity_light#f7efb7; } node[amenity=place_of_worship] { icon-image: "religion.png"; set icon_z17; } node[amenity=place_of_worship][religion=bahai] { icon-image: "religion/bahai.png"; set icon_z17; } node[amenity=place_of_worship][religion=buddhist] { icon-image: "religion/buddhism.png"; set icon_z17; } node[amenity=place_of_worship][religion=christian] { icon-image: "religion/church.png"; set icon_z17; } node[amenity=place_of_worship][religion=hindu] { icon-image: "religion/hinduism.png"; set icon_z17; } node[amenity=place_of_worship][religion=jain] { icon-image: "religion/jainism.png"; set icon_z17; } node[amenity=place_of_worship][religion=jewish] { icon-image: "religion/jewish.png"; set icon_z17; } node[amenity=place_of_worship][religion=muslim] { icon-image: "religion/muslim.png"; set icon_z17; } node[amenity=place_of_worship][religion=sikh] { icon-image: "religion/sikhism.png"; set icon_z17; } node[amenity=place_of_worship][religion=shinto] { icon-image: "religion/shinto.png"; set icon_z17; } node[amenity=place_of_worship][religion=spiritualist][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } node[amenity=place_of_worship][religion=taoist] { icon-image: "religion/taoism.png"; set icon_z17; } node[amenity=place_of_worship][religion=unitarian][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } node[amenity=place_of_worship][religion=zoroastrian][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } node[amenity=grave_yard] { icon-image: "rendering/landuse/cemetery.png"; set icon_z17; } node[amenity=crematorium][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } node[amenity=post_office] { icon-image: "service/post_office.png"; set icon_z17; } node[amenity=post_box] { icon-image: "service/post_box.png"; set icon_z17; } node[amenity=studio] { icon-image: "service/studio.png"; set icon_z17; } node[amenity=school] { icon-image: "education/school.png"; set icon_z17; } node[amenity=university] { icon-image: "education/university.png"; set icon_z17; } node[amenity=college] { icon-image: "education/college.png"; set icon_z17; } node[amenity=kindergarten] { icon-image: "education/kindergarten.png"; set icon_z17; } node[amenity=driving_school] { icon-image: "education/driving_school.png"; set icon_z17; } area[amenity=pharmacy], area[amenity=hospital], area[amenity=clinic], area[amenity=nursing_home], area[amenity=social_facility], area[amenity=baby_hatch], area[amenity=doctors], area[amenity=dentist], area[amenity=veterinary] { fill-color: health#eeeeee; } node[amenity=pharmacy] { icon-image: "health/pharmacy.svg"; set icon_z17; } node[amenity=hospital] { icon-image: "health/hospital.svg"; set icon_z17; } node[amenity=clinic] { icon-image: "health/clinic.svg"; set icon_z17; } node[amenity=nursing_home] { icon-image: "social_facility/nursing_home.svg"; set icon_z17; } node[amenity=social_facility][social_facility=group_home] { icon-image: "social_facility/group_home.svg"; set icon_z17; } node[amenity=social_facility][social_facility=assisted_living] { icon-image: "social_facility/assisted_living.svg"; set icon_z17; } node[amenity=social_facility][social_facility=outreach] { icon-image: "social_facility/outreach.svg"; set icon_z17; } node[amenity=social_facility][social_facility=shelter] { icon-image: "social_facility/shelter.svg"; set icon_z17; } node[amenity=social_facility][social_facility=food_bank] { icon-image: "social_facility/food_bank.svg"; set icon_z17; } node[amenity=baby_hatch] { icon-image: "health/baby_hatch.svg"; set icon_z17; } node[amenity=doctors] { icon-image: "health/doctors.svg"; set icon_z17; } node[amenity=dentist] { icon-image: "health/dentist.svg"; set icon_z17; } node[amenity=veterinary] { icon-image: "health/veterinary.svg"; set icon_z17; } area[amenity=library], area[amenity=police], area[amenity=ranger_station], area[amenity=fire_station], area[amenity=bus_station], area[amenity=ferry_terminal], area[amenity=theatre], area[amenity=cinema], area[amenity=arts_centre], area[amenity=courthouse], area[amenity=prison], area[amenity=bank], area[amenity=bureau_de_change], area[amenity=bbq] { fill-color: amenity_light#f7efb7; } node[amenity=library] { icon-image: "shop/library.png"; set icon_z17; } node[amenity=police] { icon-image: "service/police.png"; set icon_z17; } node[amenity=ranger_station] { icon-image: "service/ranger_station.svg"; set icon_z17; } node[amenity=fire_station] { icon-image: "service/firebrigade.png"; set icon_z17; } node[amenity=bus_station] { icon-image: "transport/bus.png"; set icon_z17; } node[amenity=ferry_terminal] { icon-image: "nautical/ferry.svg"; set icon_z17; } node[amenity=theatre] { icon-image: "presets/theater.png"; icon-width: 16; set icon_z17; } node[amenity=cinema] { icon-image: "leisure/cinema.png"; set icon_z17; } node[amenity=arts_centre] { icon-image: "service/arts_centre.png"; set icon_z17; } node[amenity=courthouse] { icon-image: "service/administration/courthouse.svg"; set icon_z17; } node[amenity=prison] { icon-image: "service/administration/prison.svg"; set icon_z17; } node[amenity=bank] { icon-image: "money/bank.png"; set icon_z17; } node[amenity=bureau_de_change] { icon-image: "money/exchange.png"; set icon_z17; } node[amenity=atm] { icon-image: "money/atm.png"; set icon_z17; } way[amenity=bench] { width: 2; color: amenity_light#f7efb7; } node[amenity=bench] { icon-image: "leisure/bench.png"; set icon_z17; } node[amenity=bbq] { icon-image: "leisure/bbq.png"; set icon_z17; } node[amenity=compressed_air] { icon-image: "vehicle/compressed_air.svg"; set icon_z17; } area[amenity=shelter], area[amenity=marketplace], area[amenity=wlan] { fill-color: amenity_light#f7efb7; } node[amenity=shelter] { icon-image: "accommodation/shelter.png"; set icon_z17; } node[amenity=shelter][shelter_type=public_transport] { icon-image: "accommodation/shelter_public_transport_brown.png"; set icon_z17; } node[amenity=shelter][shelter_type=picnic_shelter] { icon-image: "accommodation/shelter_picnic_brown.png"; set icon_z17; } node[amenity=shelter][shelter_type=basic_hut] { icon-image: "accommodation/basic_hut_blue.png"; set icon_z17; } node[amenity=shelter][shelter_type=lean_to] { icon-image: "accommodation/shelter_lean_to.svg"; set icon_z17; } node[amenity=hunting_stand] { icon-image: "hunting_stand.png"; set icon_z17; } node[amenity=marketplace] { icon-image: "place/marketplace.png"; set icon_z17; } node[amenity=wlan] { icon-image: "wlan.png"; set icon_z17; } node[amenity=vending_machine] { icon-image: "transport/ticket-machine.png"; set icon_z17; } node[vending=excrement_bags] { icon-image: "service/excrement_bags.png"; set icon_z17; } /**************/ /* craft tags */ /**************/ area[craft=carpenter], area[craft=shoemaker], area[craft=photographer], area[craft=metal_construction], area[craft=electrician], area[craft=brewery], area[craft=plumber], area[craft=sawmill], area[craft=gardener], area[craft=winery], area[craft=hvac], area[craft=painter], area[craft=stonemason], area[craft=handicraft], area[craft=pottery], area[craft=key_cutter], area[craft=caterer], area[craft=roofer], area[craft=beekeeper], area[craft=blacksmith], area[craft=locksmith], area[craft=window_construction], area[craft=upholsterer], area[craft=tiler] { fill-color: craft#999900; } node[craft=carpenter][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } node[craft=shoemaker][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } node[craft=photographer][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } node[craft=metal_construction][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; }node[craft=electrician][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } node[craft=brewery][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } node[craft=plumber] { icon-image: "craft/plumber.png"; set icon_z17; } node[craft=sawmill][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } node[craft=gardener][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } node[craft=winery][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } node[craft=hvac][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } node[craft=painter] { icon-image: "craft/painter.png"; set icon_z17; } node[craft=stonemason][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } node[craft=handicraft][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } node[craft=pottery] { icon-image: "craft/pottery.png"; set icon_z17; } node[craft=key_cutter][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } node[craft=caterer][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } node[craft=roofer][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } node[craft=beekeeper][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } node[craft=blacksmith][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } node[craft=locksmith][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } node[craft=window_construction] { icon-image: "craft/window_construction.png"; set icon_z17; } node[craft=upholsterer][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } node[craft=tiler] { icon-image: "craft/tiler.png"; set icon_z17; } /****************/ /* tourism tags */ /****************/ area[tourism=hotel], area[tourism=motel], area[tourism=guest_house], area[tourism=hostel], area[tourism=chalet], area[tourism=alpine_hut], area[tourism=wilderness_hut], area[tourism=camp_site], area[tourism=caravan_site] { fill-color: hotel#feced0; } node[tourism=hotel] { icon-image: "accommodation/hotel.svg"; set icon_z17; } node[tourism=motel] { icon-image: "accommodation/motel.svg"; set icon_z17; } node[tourism=guest_house] { icon-image: "accommodation/guest_house.png"; set icon_z17; } node[tourism=hostel] { icon-image: "accommodation/hostel.svg"; set icon_z17; } node[tourism=chalet] { icon-image: "accommodation/chalet.png"; set icon_z17; } node[tourism=alpine_hut] { icon-image: "accommodation/alpine_hut_blue.png"; set icon_z17; } node[tourism=wilderness_hut] { icon-image: "accommodation/wilderness_hut_blue.png"; set icon_z17; } node[tourism=camp_site] { icon-image: "accommodation/camping.png"; set icon_z17; } node[tourism=caravan_site] { icon-image: "accommodation/camping/caravan.png"; set icon_z17; } area[tourism=picnic_site], area[tourism=viewpoint], area[tourism=theme_park], area[tourism=attraction], area[tourism=zoo], area[tourism=museum] { fill-color: tourism#e180a2; } node[tourism=picnic_site] { icon-image: "leisure/picnic.png"; set icon_z17; } node[tourism=viewpoint] { icon-image: "sightseeing/viewpoint.png"; set icon_z17; } node[tourism=theme_park] { icon-image: "leisure/theme_park.png"; set icon_z17; } node[tourism=attraction] { icon-image: "sightseeing.png"; set icon_z17; } node[tourism=zoo] { icon-image: "leisure/zoo.png"; set icon_z17; } area[tourism=artwork]:closed { fill-color: tourism#e180a2; } way[tourism=artwork] { width: 2; color: tourism#e180a2; } node[tourism=artwork] { icon-image: "service/arts_centre.png"; set icon_z17; } node[tourism=museum] { icon-image: "sightseeing/museum.svg"; set icon_z17; } /********************/ /* information tags */ /********************/ area[tourism=information] { fill-color: tourism#e180a2; } node[tourism=information] { icon-image: "misc/information.png"; set icon_z17; } node[tourism=information][information=guidepost] { icon-image: "misc/information/guidepost.png"; set icon_z17; } area[tourism=information][information=office] { fill-color: tourism#e180a2; } node[tourism=information][information=office] { icon-image: "misc/information/informationoffice.png"; set icon_z17; } node[tourism=information][information=map] { icon-image: "misc/information/map.png"; set icon_z17; } node[tourism=information][information=board] { icon-image: "misc/information/board.png"; set icon_z17; } /*****************/ /* historic tags */ /*****************/ area[historic=castle], area[historic=monument], area[historic=memorial], area[historic=archaeological_site], area[historic=ruins], area[historic=battlefield], area[geological=palaeontological_site], area[historic=wayside_cross], area[historic=wayside_shrine], area[historic=boundary_stone] { fill-color: historic#663300; } node[historic=castle] { icon-image: "sightseeing/castle.svg"; set icon_z17; } node[historic=monument] { icon-image: "sightseeing/monument.png"; set icon_z17; } node[historic=memorial] { icon-image: "sightseeing/memorial.png"; set icon_z17; } node[historic=archaeological_site] { icon-image: "sightseeing/archaeological.png"; set icon_z17; } node[historic=ruins] { icon-image: "sightseeing/ruins.png"; set icon_z17; } node[historic=battlefield] { icon-image: "sightseeing/battlefield.png"; set icon_z17; } node[geological=palaeontological_site] { icon-image: "historic/palaeontological_site.png"; set icon_z17; } node[historic=wayside_cross] { icon-image: "religion/wayside_cross.png"; set icon_z17; } node[historic=wayside_shrine] { icon-image: "religion/wayside_shrine.png"; set icon_z17; } node[historic=boundary_stone] { icon-image: "historic/boundary_stone.png"; set icon_z17; } /****************/ /* landuse tags */ /****************/ area[landuse], area[leisure], area[amenity], area[place], area[natural], area[man_made] { z-index: -2; /* put areas that can have other areas inside (e.g. building) a little lower, see #9606 */ } area[landuse=farmland] { fill-color: farmland#b8e0b1; } area[landuse=meadow] { fill-color: meadow#b1e0b6; } area[landuse=vineyard], area[landuse=orchard] { fill-color: green#b1e0c2; } area[landuse=quarry] { fill-color: quarry#888888; } area[landuse=landfill] { fill-color: landfill#663300; } area[landuse=basin], area[landuse=reservoir] { fill-color: basin#0000bf; } area[landuse=forest] { fill-color: forest#b1efc8; } area[landuse=allotments] { fill-color: allotments#5dbf80; } area[landuse=greenhouse_horticulture], area[landuse=plant_nursery] { fill-color: green#b1e0c2; } area[landuse=grass] { fill-color: grass#97ca96; } area[landuse=residential] { fill-color: residential#f0f0f0; } area[landuse=garages] { fill-color: garages#d6c8aa; } area[landuse=farmyard] { fill-color: farmyard#f0f0f0; } area[landuse=retail], area[landuse=commercial] { fill-color: retail#ffc4ee; } area[landuse=industrial] { fill-color: industrial#ecd8ff; } area[landuse=brownfield] { fill-color: brownfield#ecba32; } area[landuse=greenfield] { fill-color: greenfield#b1ec5c; } area[landuse=railway] { fill-color: railland#888888; } area[landuse=construction] { fill-color: construction#ffff00; } way[landuse=construction] { width: 1; color: construction#ffff00; dashes: 9,9; } area[landuse=military] { fill-color: military#b62c2c; } area[landuse=religious] { fill-color: religious#ffd454; } area[landuse=cemetery] { fill-color: cemetery#b1efc8; } area[landuse=village_green] { fill-color: green#b1e0c2; } area[landuse=recreation_ground] { fill-color: green#b1e0c2; } node[landuse] { icon-image: "misc/deprecated.png"; set icon_z17; } /*****************/ /* military tags */ /*****************/ area[military=airfield], area[military=bunker], area[military=barracks], area[military=danger_area], area[military=range] { fill-color: military#b62c2c; } node[military=airfield] { icon-image: "transport/airport/airfield.png"; set icon_z17; } node[military=bunker] { icon-image: "misc/landmark/bunker.png"; set icon_z17; } node[military=barracks][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } node[military=danger_area] { icon-image: "misc/danger.png"; set icon_z17; } node[military=range] { icon-image: "misc/landmark/range.png"; set icon_z17; } /****************/ /* railway tags */ /****************/ area[railway=station] { fill-color: railwaypoint#f7efb7; } node[railway=station] { icon-image: "transport/railway_station.png"; set icon_z17; } node[railway=halt] { icon-image: "presets/station16.png"; set icon_z17; } node[railway=tram_stop] { icon-image: "transport/tram.png"; set icon_z17; } node[railway=subway_entrance] { icon-image: "transport/underground.png"; set icon_z17; } node[railway=crossing] { icon-image: "transport/railway/crossing.svg"; set icon_z17; } node[railway=level_crossing] { icon-image: "transport/railway/level_crossing.svg"; icon-width: 16; set icon_z17; } way[railway=rail] { width: 2; color: rail#404040; dashes: 9,9; dashes-background-color: raildashed#ffffff; } way[railway=rail][service=crossover], way[railway=rail][service=siding] { width: 1; } way[railway=rail][service=yard], way[railway=rail][service=spur] { width: 1; color: railyard#552200; } /* draw tram on top of other way (highway=*) or as a standalone style */ way[highway][railway=tram]::core_railway, way[!highway][railway=tram] { object-z-index: 1; modifier: false; /* don't draw default way if there is no line on default layer */ width: 1; color: railover#202020; dashes: 9,9; casing-width: 1; casing-color: otherrail#808080; casing-linecap: round; casing-dashes: 9,9; } way[highway][railway=tram][service=crossover]::core_railway, way[!highway][railway=tram][service=crossover], way[highway][railway=tram][service=siding]::core_railway, way[!highway][railway=tram][service=siding], way[highway][railway=tram][service=yard]::core_railway, way[!highway][railway=tram][service=yard], way[highway][railway=tram][service=spur]::core_railway, way[!highway][railway=tram][service=spur] { dashes: 6,6; casing-dashes: 6,6; } way[railway=light_rail] { width: 2; color: otherrail#808080; dashes: 9,9; } way[railway=subway] { width: 1; color: subway#606060; dashes: 9,9; } way[railway=preserved] { width: 1; color: oldrail#404040; dashes: 9,9; } way[railway=light_rail][service=crossover], way[railway=light_rail][service=siding], way[railway=light_rail][service=yard], way[railway=light_rail][service=spur], way[railway=subway][service=crossover], way[railway=subway][service=siding], way[railway=subway][service=yard], way[railway=subway][service=spur], way[railway=preserved][service=crossover], way[railway=preserved][service=siding], way[railway=preserved][service=yard], way[railway=preserved][service=spur] { dashes: 6,6; } /* disused often appears together with highway=xy */ /* -> draw on separate layer with higher z-index, but use */ /* modifier: false; to suppress default line when used alone. */ /* use default layer when used without highway=* to display bridge correctly */ way[railway=disused][highway]::core_railway, way[railway=disused][!highway], way[railway=abandoned][highway]::core_railway, way[railway=abandoned][!highway] { width: 1; modifier: false; z-index: 1; color: oldrail#404040; dashes: 9,9; } way[railway=narrow_gauge], way[railway=monorail] { width: 1; color: rail#404040; dashes: 9,9; } way[railway=narrow_gauge][service=crossover], way[railway=narrow_gauge][service=siding], way[railway=narrow_gauge][service=yard], way[railway=narrow_gauge][service=spur], way[railway=monorail][service=crossover], way[railway=monorail][service=siding], way[railway=monorail][service=yard], way[railway=monorail][service=spur] { dashes: 6,6; } area[railway=turntable] { fill-color: rail#404040; } node[railway=turntable] { icon-image: "transport/railway/turntable.svg"; set icon_z17; } node[railway=buffer_stop] { icon-image: "transport/railway/buffer_stop.svg"; set icon_z17; } area[railway=platform]:closed { fill-color: rail#404040; } way[railway=platform] { width: 2; color: rail#404040; } way[railway=funicular] { width: 1; color: rail#404040; dashes: 9,9; } node[railway=switch] { icon-image: "transport/railway/switch.svg"; icon-width: 16; set icon_z17; } node[railway=signal] { icon-image: "transport/railway/signal.svg"; set icon_z17; } node[railway=milestone] { icon-image: "transport/railway/milestone.svg"; set icon_z17; } node[railway=rail], node[railway=tram], node[railway=light_rail], node[railway=subway], node[railway=preserved], node[railway=disused], node[railway=abandoned], node[railway=narrow_gauge], node[railway=monorail], node[railway=platform], node[railway=funicular], node[service=yard], node[service=siding], node[service=spur] { icon-image: "misc/deprecated.png"; set icon_z17; } way[railway=construction][!highway] { width: 1; color: construction#ffff00; dashes: 9,9; } way[railway=construction][construction=rail] { width: 2; color: rail#404040; dashes: 9,9; dashes-background-color: construction#ffff00; } way[railway=construction][construction=light_rail] { width: 2; } way[railway=construction][construction=tram][highway]::core_railway, way[railway=construction][construction=tram][!highway] { z-index: 1; width: 1; color: railover#202020; dashes: 9,9; casing-width: 1; casing-color: construction#ffff00; casing-linecap: round; casing-dashes: 9,9; } /****************/ /* aeroway tags */ /****************/ area[aeroway=aerodrome] { fill-color: aeroway#660000; width: 2; dashes: 9,9; } node[aeroway=aerodrome][military!=airfield] { icon-image: "transport/airport.png"; set icon_z17; } area[aeroway=terminal] { fill-color: terminal#bb0000; } node[aeroway=terminal] { icon-image: "transport/airport/terminal.png"; set icon_z17; } area[aeroway=helipad] { fill-color: aeroway_dark#330000; } node[aeroway=helipad] { icon-image: "transport/airport/helipad.png"; set icon_z17; } area[aeroway=runway]:closed { fill-color: aeroway_dark#330000; } way[aeroway=runway] { width: 3; color: aeroway_dark#330000; } area[aeroway=taxiway]:closed { fill-color: aeroway#660000; } way[aeroway=taxiway] { width: 2; color: aeroway#660000; } way[aeroway=parking_position] { width: 1; color: aeroway#660000; } node[aeroway=parking_position] { icon-image: "transport/airport/parking_position.png"; set icon_z17; } area[aeroway=apron], area[aeroway=hangar] { fill-color: aeroway_light#990000; } node[aeroway=apron], node[aeroway=runway], node[aeroway=taxiway] { icon-image: "misc/deprecated.png"; set icon_z17; } node[aeroway=hangar] { icon-image: "transport/airport/hangar.png"; set icon_z17; } node[aeroway=gate] { icon-image: "transport/airport/gate.png"; set icon_z17; } node[aeroway=windsock] { icon-image: "transport/airport/windsock.png"; set icon_z17; } /******************/ /* aerialway tags */ /******************/ way[aerialway=cable_car], way[aerialway=gondola] { width: 1; color: aerialway#663300; dashes: 9,9; } way[aerialway=chair_lift] { width: 1; color: aerialway#663300; dashes: 6,6; } way[aerialway=mixed_lift] { width: 1; color: aerialway#663300; dashes: 6,6,9,6; } way[aerialway=j-bar], way[aerialway=t-bar], way[aerialway=platter], way[aerialway=rope_tow], way[aerialway=drag_lift] { width: 1; color: aerialway#663300; dashes: 3,3; } way[aerialway=magic_carpet] { width: 1; color: aerialway#663300; dashes: 3,3; } way[aerialway=goods] { width: 1; color: aerialway#663300; dashes: 2,2; } area[aerialway=station] { fill-color: aerialway#663300; } node[aerialway=station] { icon-image: "transport/aerialway/station.png"; set icon_z17; } node[aerialway=pylon] { icon-image: "transport/aerialway/pylon.svg"; set icon_z17; } node[aerialway=cable_car], node[aerialway=gondola], node[aerialway=chair_lift], node[aerialway=mixed_lift], node[aerialway=drag_lift], node[aerialway=t-bar], node[aerialway=j-bar], node[aerialway=platter], node[aerialway=magic_carpet], node[aerialway=rope_tow], node[aerialway=goods] { icon-image: "misc/deprecated.png"; set icon_z17; } /*************************/ /* public_transport tags */ /*************************/ node[highway=bus_stop] { icon-image: "transport/bus_small.png"; set icon_z17; } node[public_transport=stop_position] { icon-image: "transport/railway_small.png"; set icon_z17; } node[public_transport=stop_position][bus=yes] { icon-image: "transport/bus.svg"; set icon_z17; } node[public_transport=stop_position][train=yes] { icon-image: "transport/train.svg"; set icon_z17; } node[public_transport=stop_position][tram=yes] { icon-image: "transport/railway/tram.svg"; set icon_z17; } node[public_transport=stop_position][subway=yes] { icon-image: "transport/railway/subway.svg"; set icon_z17; } node[public_transport=stop_position][monorail=yes] { icon-image: "transport/railway/monorail.svg"; set icon_z17; } node[public_transport=stop_position][trolleybus=yes] { icon-image: "transport/trolleybus.svg"; set icon_z17; } node[public_transport=stop_position][aerialway=yes] { icon-image: "transport/aerialway/station.png"; set icon_z17; } node[public_transport=stop_position][ferry=yes] { icon-image: "nautical/ferry.svg"; set icon_z17; } area[public_transport=platform]:closed { fill-color: service#809bc0; } way[public_transport=platform]!:closed { width: 3; color: service#809bc0; dashes: 12,3; } node[public_transport=platform] { icon-image: "transport/platform.svg"; set icon_z17; } area[public_transport=station] { fill-color: railwaypoint#f7efb7; } node[public_transport=station] { icon-image: "transport/station.svg"; set icon_z17; } /**************/ /* sport tags */ /**************/ area[sport="9pin"], area[sport="10pin"], area[sport=athletics], area[sport=running], area[sport=soccer], area[sport=australian_football], area[sport=american_football], area[sport=canadian_football], area[sport=gaelic_games], area[sport=rugby_league], area[sport=rugby_union] { fill-color: sport#bde3cb; } node[sport="9pin"] { icon-image: "sport/10pin.png"; set icon_z17; } node[sport="10pin"] { icon-image: "sport/10pin.png"; set icon_z17; } node[sport=athletics] { icon-image: "sport/athletics.png"; set icon_z17; } node[sport=running] { icon-image: "sport/running.svg"; set icon_z17; } node[sport=soccer], node[sport=gaelic_games] { icon-image: "sport/soccer.png"; set icon_z17; } node[sport=australian_football], node[sport=american_football], node[sport=canadian_football], node[sport=rugby_league], node[sport=rugby_union] { icon-image: "sport/football.png"; set icon_z17; } area[sport=baseball], area[sport=basketball], area[sport=boules], area[sport=bowls], area[sport=canoe], area[sport=chess], area[sport=climbing]:closed, area[sport=cricket], area[sport=croquet] { fill-color: sport#bde3cb; } node[sport=baseball] { icon-image: "sport/baseball.png"; set icon_z17; } node[sport=basketball] { icon-image: "sport/basketball.png"; set icon_z17; } node[sport=boules] { icon-image: "sport/boule.png"; set icon_z17; } node[sport=bowls] { icon-image: "sport/boule.png"; set icon_z17; } node[sport=canoe] { icon-image: "sport/canoe.svg"; set icon_z17; } node[sport=chess] { icon-image: "sport/chess.png"; set icon_z17; } node[sport=climbing] { icon-image: "sport/climbing.png"; set icon_z17; } node[sport=cricket] { icon-image: "sport/cricket.png"; set icon_z17; } node[sport=croquet] { icon-image: "sport/croquet.png"; set icon_z17; } area[sport=cycling], area[sport=dog_racing], area[sport=equestrian], area[sport=golf], area[sport=gymnastics], area[sport=field_hockey], area[sport=ice_hockey], area[sport=horse_racing], area[sport=karting][highway!=raceway], area[sport=karting][highway=raceway][area=yes], area[sport=motocross][highway!=raceway], area[sport=motocross][highway=raceway][area=yes], area[sport=motor][highway!=raceway], area[sport=motor][highway=raceway][area=yes] { fill-color: sport#bde3cb; } node[sport=cycling] { icon-image: "sport/cycling.png"; set icon_z17; } node[sport=dog_racing] { icon-image: "leisure/dog.png"; set icon_z17; } node[sport=equestrian] { icon-image: "presets/equestrian.png"; icon-width: 16; set icon_z17; } node[sport=golf] { icon-image: "sport/golf.svg"; set icon_z17; } node[sport=gymnastics] { icon-image: "presets/gymnastics.png"; icon-width: 16; set icon_z17; } node[sport=field_hockey] { icon-image: "sport/field_hockey.png"; set icon_z17; } node[sport=ice_hockey] { icon-image: "sport/ice_hockey.png"; set icon_z17; } node[sport=horse_racing] { icon-image: "sport/riding.png"; set icon_z17; } node[sport=karting] { icon-image: "sport/karting.png"; set icon_z17; } node[sport=motocross] { icon-image: "sport/motocross.png"; set icon_z17; } node[sport=motor] { icon-image: "sport/motor.png"; set icon_z17; } area[sport=multi], area[sport=pelota], area[sport=racquet], area[sport=ice_skating], area[sport=roller_skating], area[sport=skateboard] { fill-color: sport#bde3cb; } node[sport=multi] { icon-image: "sport/multi.png"; set icon_z17; } node[sport=pelota] { icon-image: "sport/pelota.png"; set icon_z17; } node[sport=racquet] { icon-image: "sport/racquetball.png"; set icon_z17; } node[sport=ice_skating] { icon-image: "sport/skating.png"; set icon_z17; } node[sport=roller_skating] { icon-image: "sport/roller_skating.svg"; set icon_z17; } node[sport=skating] { icon-image: "misc/deprecated.png"; set icon_z17; } node[sport=skateboard] { icon-image: "sport/skateboard.png"; set icon_z17; } area[sport=swimming] { fill-color: swimming_pool#51c4ef; } node[sport=swimming] { icon-image: "sport/pool.png"; set icon_z17; } area[sport=table_tennis], area[sport=tennis], area[sport=paintball] { fill-color: sport#bde3cb; } node[sport=table_tennis] { icon-image: "sport/table_tennis.png"; set icon_z17; } node[sport=tennis] { icon-image: "sport/tennis.png"; set icon_z17; } node[sport=paintball][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } area[sport=squash], area[sport=shooting], area[sport=volleyball], area[sport=beachvolleyball], area[sport=billiards], area[sport=bowling], area[sport=handball], area[sport=rowing], area[sport=sailing], area[sport=scuba_diving], area[sport=badminton] { fill-color: sport#bde3cb; } node[sport=squash][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } node[sport=shooting] { icon-image: "presets/range.png"; icon-width: 16; set icon_z17; } node[sport=volleyball] { icon-image: "sport/volleyball.png"; set icon_z17; } node[sport=beachvolleyball] { icon-image: "sport/beachvolleyball.png"; set icon_z17; } node[sport=billiards] { icon-image: "sport/billiards.svg"; set icon_z17; } node[sport=bowling] { icon-image: "sport/10pin.png"; set icon_z17; } node[sport=handball] { icon-image: "sport/handball.png"; set icon_z17; } node[sport=rowing] { icon-image: "sport/rowing.png"; set icon_z17; } node[sport=sailing][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } node[sport=scuba_diving] { icon-image: "sport/scuba_diving.svg"; set icon_z17; } node[sport=badminton][!is_prop_set(icon-image)] { icon-image: "misc/no_icon.png"; set icon_z17; } area[sport=archery], area[sport=fishing], area[sport=model_aerodrome], area[sport=rc_car] { fill-color: sport#bde3cb; } node[sport=archery] { icon-image: "sport/archery.png"; set icon_z17; } node[sport=fishing] { icon-image: "sport/fishing.png"; set icon_z17; } node[sport=model_aerodrome] { icon-image: "transport/airport.png"; set icon_z17; } node[sport=rc_car] { icon-image: "transport/car.png"; set icon_z17; } /****************/ /* natural tags */ /****************/ area[natural=spring] { fill-color: light_water#00005f; } node[natural=spring] { icon-image: "misc/landmark/spring.svg"; set icon_z17; } node[natural=saddle] { icon-image: "presets/saddle.svg"; set icon_z0; set text_z0; } node[natural=peak] { icon-image: "presets/peak.svg"; set icon_z0; set text_z0; } node[natural=peak][tourism=viewpoint] { icon-image: "sightseeing/peak_viewpoint.svg"; set icon_z0; set text_z0; } area[natural=glacier] { fill-color: glacier#ffffff; } node[natural=volcano] { icon-image: "misc/landmark/volcano_small.png"; set icon_z0; set text_z0; } area[natural=cliff]:closed { fill-color: natural#002f00; } way[natural=cliff] { repeat-image: "misc/cliff-pattern.png"; repeat-image-align: top; width: 1; color: #b2b2b2; } node[natural=cliff] { icon-image: "misc/cliff.svg"; set icon_z17; } way[natural=ridge] { width: 1; color: natural#002f00; } way[natural=valley] { width: 1; color: natural#002f00; } area[natural=scree] { fill-color: natural#002f00; } area[natural=scrub] { fill-color: scrub#007000; } area[natural=fell] { fill-color: natural#002f00; } area[natural=heath] { fill-color: heath#ffffc0; } way[natural=tree_row] { width: 2; color: woodarea#008000; } area[natural=wood] { fill-color: woodarea#008000; } area[natural=grassland] { fill-color: green#b1e0c2; } area[natural=wetland] { fill-color: marsh#4f4ff3; } area[natural=water] { fill-color: water#0000ff; } area[natural=water][intermittent=yes] { width: 2; dashes: 15, 5; } way[natural=coastline] { width: 2; color: water#0000ff; right-casing-color: water#0000ff; right-casing-width: 5; right-casing-opacity: 0.30; } area[natural=mud] { fill-color: mud#cba762; } area[natural=beach] { fill-color: beach#f8dba2; } area[natural=sand] { fill-color: sand#f8dba2; } area[natural=bare_rock] { fill-color: bare_rock#f8f8c7; } area[natural=rock] { fill-color: stone#f8f8c7; } node[natural=rock] { icon-image: "misc/rock.svg"; set icon_z17; } area[natural=stone] { fill-color: stone#f8f8c7; } node[natural=stone] { icon-image: "misc/stone.svg"; set icon_z17; } area[natural=bay], area[natural=cave_entrance] { fill-color: natural#002f00; } node[natural=bay] { icon-image: "nautical/bay.svg"; set icon_z17; } node[natural=cave_entrance] { icon-image: "misc/landmark/cave_entrance.png"; set icon_z17; } node[natural=tree] { icon-image: "misc/landmark/trees.png"; set icon_z17; } node[natural=tree][type=conifer], node[natural=tree][leaf_type=needleleaved] { icon-image: "misc/landmark/trees_conifer.png"; set icon_z17; } node[natural=tree][type=broad_leaved], node[natural=tree][leaf_type=broadleaved] { icon-image: "misc/landmark/trees_broad_leaved.png"; set icon_z17; } node[natural=tree][type=palm] { icon-image: "misc/landmark/trees_palm.png"; set icon_z17; } node[natural=glacier], node[natural=scree], node[natural=scrub], node[natural=fell], node[natural=heath], node[natural=tree_row], node[natural=wood], node[natural=grassland], node[natural=wetland], node[natural=water], node[natural=coastline], node[natural=mud], node[natural=beach], node[natural=sand], node[natural=land], node[natural=bare_rock], node[natural=ridge], node[natural=valley] { icon-image: "misc/deprecated.png"; set icon_z17; } /*****************/ /* waterway tags */ /*****************/ way[waterway=river] { width: 2; color: water#0000ff; } area[waterway=riverbank] { fill-color: riverbank#0000cf; width: 1; color: riverbank#0000cf; } way[waterway=canal] { width: 2; color: water#0000ff; } way[waterway=stream] { width: 1; color: stream#6600cc; } way[waterway=ditch], way[waterway=drain] { width: 1; color: water#0000ff; } way[waterway=river][intermittent=yes], area[waterway=riverbank][intermittent=yes], way[waterway=canal][intermittent=yes], way[waterway=stream][intermittent=yes], way[waterway=ditch][intermittent=yes], way[waterway=drain][intermittent=yes] { dashes: 15, 5; } area[waterway=dock] { fill-color: dock#0000cf; } node[waterway=dock] { icon-image: "nautical/boatyard.png"; set icon_z17; } node[waterway=lock_gate] { icon-image: "nautical/lock_gate.png"; set icon_z17; } node[waterway=turning_point] { icon-image: "nautical/turning.png"; set icon_z17; } area[waterway=boatyard] { fill-color: manmade#d8d8d8; } node[waterway=boatyard] { icon-image: "nautical/boatyard.png"; set icon_z17; } node[waterway=water_point], node[waterway=waste_disposal], node[waterway=mooring] { icon-image: "misc/deprecated.png"; set icon_z17; } node[mooring] { icon-image: "nautical/marina.png"; set icon_z17; } area[waterway=fuel] { fill-color: amenity_traffic#f7efb7; } node[waterway=fuel] { icon-image: "nautical/marine_fuel.png"; icon-width: 16; set icon_z17; } way[waterway=weir] { width: 2; color: manmade#d8d8d8; } node[waterway=weir] { icon-image: "nautical/weir.svg"; set icon_z17; } area[waterway=dam]:closed { fill-color: manmade#d8d8d8; } way[waterway=dam] { width: 2; color: manmade#d8d8d8; } node[waterway=dam] { icon-image: "nautical/dam.svg"; set icon_z17; } /* it's not possible to have both line and area, line seems more likely */ way[waterway=waterfall] { width: 2; color: manmade#d8d8d8; } node[waterway=waterfall] { icon-image: "nautical/waterfall.svg"; set icon_z17; } node[waterway=river], node[waterway=riverbank], node[waterway=canal], node[waterway=wadi], node[waterway=stream], node[waterway=ditch], node[waterway=drain] { icon-image: "misc/deprecated.png"; set icon_z17; } /**************/ /* route tags */ /**************/ way[route=ferry] { width: 1; color: ferry#809bc0; dashes: 9,9; } node[route=bus], node[route=ferry], node[route=flight], node[route=ncn], node[route=subsea], node[route=ski], node[route=tour], node[route=pub_crawl] { icon-image: "misc/deprecated.png"; set icon_z17; } /*******************/ /* properties tags */ /*******************/ node[mountain_pass?] { icon-image: "misc/landmark/mountain_pass.svg"; set icon_z0; set text_z0; } /*****************/ /* boundary tags */ /*****************/ way[boundary=protected_area]::core_boundary, way[boundary=administrative]::core_boundary, way[boundary=postal_code]::core_boundary, way[boundary=political]::core_boundary, way[boundary=maritime]::core_boundary, way[boundary=national_park]::core_boundary { z-index: 2; modifier: false; width: 1; color: boundary#FF6600; dashes: 9,9; } way[admin_level=9]::core_boundary, relation[admin_level=9] > way::core_boundary, way[admin_level=10]::core_boundary, relation[admin_level=10] > way::core_boundary { z-index: 2; modifier: false; width: 1; color: boundary#FF6600; dashes: 9,9; } way[admin_level=7]::core_boundary, relation[admin_level=7] > way::core_boundary, way[admin_level=8]::core_boundary, relation[admin_level=8] > way::core_boundary { z-index: 2; modifier: false; width: 2; color: boundary#FF6600; dashes: 9,9; } way[admin_level=5]::core_boundary, relation[admin_level=5] > way::core_boundary, way[admin_level=6]::core_boundary, relation[admin_level=6] > way::core_boundary { z-index: 2; modifier: false; width: 3; color: boundary#FF6600; dashes: 9,9; } way[admin_level=3]::core_boundary, relation[admin_level=3] > way::core_boundary, way[admin_level=4]::core_boundary, relation[admin_level=4] > way::core_boundary { z-index: 2; modifier: false; width: 4; color: boundary#FF6600; dashes: 9,9; } way[admin_level=1]::core_boundary, relation[admin_level=1] > way::core_boundary, way[admin_level=2]::core_boundary, relation[admin_level=2] > way::core_boundary { z-index: 2; modifier: false; width: 5; color: boundary#FF6600; dashes: 9,9; } node[boundary=national], node[boundary=administrative], node[boundary=postal_code], node[boundary=political], node[boundary=national_park] { icon-image: "misc/deprecated.png"; set icon_z17; } /******************/ /* maxspeed nodes */ /******************/ node[traffic_sign][maxspeed=none][!is_prop_set(icon-image)] { icon-image: "vehicle/restriction/maxspeed_none.svg"; set icon_z17; } node[traffic_sign][maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] { maxspeedprop: tag(maxspeed); set maxspeedclass; } node[traffic_sign][maxspeed=signals][!is_prop_set(icon-image)] { maxspeedprop: " ?"; set maxspeedclass; } node[traffic_sign][maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] { maxspeedprop: get(split(" mph",tag(maxspeed)),0); set maxspeedclass; } node[traffic_sign][maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] { maxspeedprop: get(split(" km/h",tag(maxspeed)),0); set maxspeedclass; } node[traffic_sign][maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] { maxspeedprop: get(split(" knots",tag(maxspeed)),0); set maxspeedclass; } node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg { /* background (white) */ symbol-shape: circle; symbol-size: 17; symbol-fill-color: white; major-z-index: 4.2; } node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg, node[traffic_sign][maxspeed=signals]::core_maxnodebg { /* background (black) */ symbol-fill-color: black; } node[prop(maxspeedclass, default)]::core_maxnodefg { /* foreground (black text and red circle) */ symbol-shape: circle; symbol-size: 15; symbol-stroke-color: crimson; symbol-stroke-width: 2; text: prop(maxspeedprop, default); font-size: 8; font-weight: bold; text-color: black; text-anchor-horizontal: center; text-anchor-vertical: center; text-offset-x: 0; text-offset-y: -1; major-z-index: 4.2; } node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg, node[traffic_sign][maxspeed=signals]::core_maxnodefg { /* foreground (white text) */ text-color: white; } node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodebg { symbol-shape: none; } node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodefg { text: none; symbol-shape: none; } /**************/ /* place tags */ /**************/ area[setting("place_fill_colour")][place=continent], area[setting("place_fill_colour")][place=country], area[setting("place_fill_colour")][place=state], area[setting("place_fill_colour")][place=region], area[setting("place_fill_colour")][place=county], area[setting("place_fill_colour")][place=city], area[setting("place_fill_colour")][place=town], area[setting("place_fill_colour")][place=village], area[setting("place_fill_colour")][place=hamlet], area[setting("place_fill_colour")][place=farm], area[setting("place_fill_colour")][place=isolated_dwelling], area[setting("place_fill_colour")][place=neighbourhood], area[setting("place_fill_colour")][place=suburb], area[setting("place_fill_colour")][place=locality], area[setting("place_fill_colour")][place=island], area[setting("place_fill_colour")][place=islet] { fill-color: place#8de3cb; set place; } node[place=continent], node[place=country], node[place=state], node[place=region], node[place=county], node[place=city], node[place=town], node[place=suburb], node[place=village], node[place=neighbourhood], node[place=hamlet], node[place=isolated_dwelling], node[place=farm], node[place=island], node[place=islet] { set icon_z0; set text_z0; font-weight: bold; text-color:black; text-halo-color: white; text-halo-radius: 1; set place; } node[place=continent], node[place=country], node[place=state], node[place=region], node[place=county] { icon-image: "place/settlement/capital.png"; z-index: 2.9; } node[place=city] { icon-image: "place/settlement/city.png"; z-index: 2.8; } node[place=town] { icon-image: "place/settlement/town.png"; z-index: 2.7; } node[place=suburb] { icon-image: "place/settlement/suburb.png"; z-index: 2.6; } node[place=village] { icon-image: "place/settlement/village.png"; z-index: 2.5; } node[place=neighbourhood] { icon-image: "place/settlement/neighbourhood.png"; z-index: 2.4; } node[place=hamlet] { icon-image: "place/settlement/hamlet.png"; z-index: 2.3; } node[place=isolated_dwelling] { icon-image: "place/settlement/isolated_dwelling.png"; z-index: 2.2; } node[place=farm] { icon-image: "place/settlement/farm.png"; z-index: 2.1; } node|z15-[place=locality], node|z-14[place=locality][!setting("hide_icons")] { icon-image: "place/locality.png"; font-weight: bold; text-color:black; text-halo-color: white; text-halo-radius: 1; } node[place=island] { icon-image: "place/island.png"; } node[place=islet] { icon-image: "place/islet.png"; } /***************************/ /* "work in progress" tags */ /***************************/ node|z16-[fixme]::core_note_fixme, node|z-15[fixme][!setting("hide_icons")]::core_note_fixme, node|z16-[FIXME]::core_note_fixme, node|z-15[FIXME][!setting("hide_icons")]::core_note_fixme { object-z-index: 10; icon-image: "misc/fixme-annotation.png"; } node|z16-[note]::core_note_fixme, node|z-15[note][!setting("hide_icons")]::core_note_fixme { object-z-index: 10; icon-image: "misc/note-annotation.png"; } node|z16-[note][fixme]::core_note_fixme, node|z-15[note][fixme][!setting("hide_icons")]::core_note_fixme, node|z16-[note][FIXME]::core_note_fixme, node|z-15[note][FIXME][!setting("hide_icons")]::core_note_fixme { icon-image: "misc/note-fixme-annotation.png"; } /* special display of unreviewed tiger data (USA) */ way["tiger:reviewed"=no]::core_tiger { major-z-index: -10; width: 11; color: tiger_data#808000; opacity: 0.6; } /****************************************/ /* zoom levels and general node display */ /****************************************/ /* Summary of different zoom levels: (any zoom) place=* (except locality) and a few natural icons with their text is shown |z-15 untagged way nodes are hidden completely |z15 place=locality icon |z16- fixme=* and note=* symbols; place=locality text |z17- normal POI icons (without text), street name along highway=* ways |z18- text for normal POI icons is shown * text size and node size is adapted according to zoom level (see style source below), place labels (except locality) don't get smaller * maxspeed icons should not be distinguishable from POIs with "icon-image" property */ node|z-16[setting("hide_icons")], node|z17-[!is_prop_set("icon-image")][setting("hide_icons")]!.maxspeedclass, node[!is_prop_set("icon-image")][!setting("hide_icons")]!.maxspeedclass { symbol-size: 2; symbol-shape: square; symbol-stroke-color: node_standard#ffff00; major-z-index: 4.95; /* put node squares above line text */ } way > node|z-15[setting("shrink_nodes")]!:tagged { symbol-shape: none; } node:connection { symbol-stroke-color: node_connection#ffff00; } node:tagged { symbol-stroke-color: none; symbol-fill-color: node_tagged#00ffff; } way > node|z16[setting("shrink_nodes")]!:tagged { symbol-size: 1; } node|z17[setting("shrink_nodes")] { symbol-size: 4; } way > node|z17[setting("shrink_nodes")] { symbol-size: 2; } node|z17[setting("shrink_nodes")]:connection { symbol-size: 4; } node|z18[setting("shrink_nodes")] { symbol-size: 4; } way > node|z18[setting("shrink_nodes")] { symbol-size: 3; } node|z18[setting("shrink_nodes")]:connection { symbol-size: 5; } node|z19-[setting("shrink_nodes")] { symbol-size: 4; } way > node|z19-[setting("shrink_nodes")] { symbol-size: 4; } node|z19-[setting("shrink_nodes")]:connection { symbol-size: 6; } node[!setting("shrink_nodes")] { symbol-size: 4; } way > node[!setting("shrink_nodes")] { symbol-size: 4; } node[!setting("shrink_nodes")]:connection { symbol-size: 6; } node:selected { symbol-shape: square; symbol-size: 6; symbol-fill-color: node_selected#ff0000; symbol-stroke-color: node_selected#ff0000; } node|z-16[setting("hide_icons")].icon_z17!.icon_z0, relation|z-16[type=restriction][setting("hide_icons")] { icon-image: none; } node|z-17[setting("hide_icons")]!.text_z0 { text: none; } node|z16-17[setting("hide_icons")][place=locality] { text: auto; } node|z-18,area|z-18 { font-size: 8; } node|z19,area|z19 { font-size: 9; } node|z20-,area|z20- { font-size: 11; } node.place, way.place, area.place { font-size: 11; } /*******************/ /* way text labels */ /*******************/ way|z17-[highway^=motorway][setting("highway_labels")], way|z17-[highway^=trunk][setting("highway_labels")], way|z17-[highway^=primary][setting("highway_labels")], way|z17-[highway^=secondary][setting("highway_labels")], way|z17-[highway^=tertiary][setting("highway_labels")], way|z17-[highway=unclassified][setting("highway_labels")], way|z17-[highway=residential][setting("highway_labels")], way|z17-[highway=living_street][setting("highway_labels")], way|z17-[highway=escape][setting("highway_labels")], way|z17-[highway=pedestrian][!area?][setting("highway_labels")], way|z17-[highway=steps][setting("highway_labels")], way|z17-[highway=footway][setting("highway_labels")], way|z17-[highway=path][setting("highway_labels")], way|z17-[highway=service][setting("highway_labels")], way|z17-[highway=track][setting("highway_labels")], way|z17-[highway=cycleway][setting("highway_labels")], way|z17-[highway=bridleway][setting("highway_labels")], way|z17-[highway=bus_guideway][setting("highway_labels")], way|z17-[highway=raceway][setting("highway_labels")], way|z17-[highway=construction][setting("highway_labels")], way|z17-[highway=road][setting("highway_labels")] { text: auto; text-color: black; font-size: 9; text-position: line; text-halo-opacity: 1; text-halo-radius: 1.5; } way|z17-[highway^=motorway][setting("highway_labels")] { text-halo-color: motorway#809bc0; } way|z17-[highway^=trunk][setting("highway_labels")] { text-halo-color: trunk#7fc97f; } way|z17-[highway^=primary][setting("highway_labels")] { text-halo-color: primary#fb805f; } way|z17-[highway^=secondary][setting("highway_labels")] { text-halo-color: secondary#fdbf6f; } way|z17-[highway^=tertiary][setting("highway_labels")] { text-halo-color: tertiary#f7f496; } way|z17-[highway=unclassified][setting("highway_labels")], way|z17-[highway=residential][setting("highway_labels")], way|z17-[highway=living_street][setting("highway_labels")], way|z17-[highway=escape][setting("highway_labels")] { text-halo-color: street#c0c0c0; } way|z17-[highway=pedestrian][!area?][setting("highway_labels")], way|z17-[highway=steps][setting("highway_labels")], way|z17-[highway=footway][setting("highway_labels")], way|z17-[highway=path][setting("highway_labels")] { text-halo-color: foot#00ff00; } way|z17-[highway=service][setting("highway_labels")] { text-halo-color: service#809bc0; } way|z17-[highway=track][setting("highway_labels")] { text-halo-color: highway_track#6e541c; } way|z17-[highway=cycleway][setting("highway_labels")], way|z17-[highway=path][setting("highway_labels")].cyclecolor { text-halo-color: bicycle#b100ff; } way|z17-[highway=bridleway][setting("highway_labels")] { text-halo-color: horse#a18559; } way|z17-[highway=bus_guideway][setting("highway_labels")] { text-halo-color: rail#404040; } way|z17-[highway=raceway][setting("highway_labels")] { text-halo-color: raceway#ff80ff; } way|z17-[highway=construction][setting("highway_labels")] { text-halo-color: construction#ffff00; } way|z17-[highway=road][setting("highway_labels")] { text-halo-color: highway_road#770000; } way|z17-[highway][railway=platform][setting("highway_labels")] { text-halo-color: rail#404040; } way|z17-[highway][public_transport=platform][setting("highway_labels")] { text-halo-color: service#809bc0; } way|z18[highway][setting("highway_labels")] { font-size: 10; } way|z19[highway][setting("highway_labels")] { font-size: 11; } way|z20-[highway][setting("highway_labels")] { font-size: 12; } /*************/ /* Area fill */ /*************/ /* small extent for unclosed area (see below for closed) */ area[setting("partial_fill")] { fill-extent: 15; } /* Turn partial fill off and use plain fill, when the partial fill covers about 100% of the area. This reduces artifacts (typically for incomplete multipolygons). Switching between full and partial fill while drawing an area might be irritating, so only do this at low zoom. */ area|z-13[setting("partial_fill")] { fill-extent-threshold: 1.0; } /* Larger extent for closed areas. Turn partial fill off, when it covers more than about 50% of the area. This avoids areas with small unfilled patches in the center. */ area[setting("partial_fill")]:closed2 { fill-extent: 25; fill-extent-threshold: JOSM_pref("draw.area.extent_threshold", 0.5); }