| Version 5 (modified by , 7 years ago) ( diff ) |
|---|
/* iD JOSM Paint Style - a modified version of the Main JOSM paint style which renders roads, waterways, landuse, and other features similar to iD. */
meta { title: "iD"; description: "Renders roads, waterways, landuse, and other features like iD."; version: "0.101"; /* don't remove the revision variable */ author: "Leif Rasmussen"; link: "https://josm.openstreetmap.de/wiki/Styles/iD"; min-josm-version: "7193"; } 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::hide_tagged_waynodes { type: boolean; label: tr("Hide tagged waynodes 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: "presets/vehicle/restriction/turn_restrictions/no_left_turn_red.svg"; set icon_z17; text: auto; } relation[restriction=no_left_turn][setting("alt_turn_icons")] { icon-image: "presets/vehicle/restriction/turn_restrictions/no_left_turn.svg"; set icon_z17; text: auto; } relation[restriction=no_right_turn][!setting("alt_turn_icons")] { icon-image: "presets/vehicle/restriction/turn_restrictions/no_right_turn_red.svg"; set icon_z17; text: auto; } relation[restriction=no_right_turn][setting("alt_turn_icons")] { icon-image: "presets/vehicle/restriction/turn_restrictions/no_right_turn.svg"; set icon_z17; text: auto; } relation[restriction=no_straight_on][!setting("alt_turn_icons")] { icon-image: "presets/vehicle/restriction/turn_restrictions/no_straight_on_red.svg"; set icon_z17; text: auto; } relation[restriction=no_straight_on][setting("alt_turn_icons")] { icon-image: "presets/vehicle/restriction/turn_restrictions/no_straight_on.svg"; set icon_z17; text: auto; } relation[restriction=no_u_turn] { icon-image: "presets/vehicle/restriction/turn_restrictions/no_u_turn.svg"; set icon_z17; text: auto; } relation[restriction=only_left_turn] { icon-image: "presets/vehicle/restriction/turn_restrictions/only_left_turn.svg"; set icon_z17; text: auto; } relation[restriction=only_right_turn] { icon-image: "presets/vehicle/restriction/turn_restrictions/only_right_turn.svg"; set icon_z17; text: auto; } relation[restriction=only_straight_on] { icon-image: "presets/vehicle/restriction/turn_restrictions/only_straight_on.svg"; set icon_z17; text: auto; } node[restriction] { icon-image: "presets/misc/deprecated.svg"; 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: +10; color: bridge#000000; opacity: 0.8; } 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: 2; color: tunnel#964B00; opacity: 0.5; } node[oneway], node[bridge], node[tunnel?], node[tunnel?!], node[cutting?!], node[embankment?!] { icon-image: "presets/misc/deprecated.svg"; set icon_z17; } /****************************/ /* access restrictions tags */ /****************************/ node[traffic_sign][access?!] { icon-image: "presets/vehicle/restriction/restrictions.svg"; 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: "presets/misc/no_icon.svg"; set icon_z17; } node[traffic_sign][bicycle?!] { icon-image: "presets/vehicle/restriction/bicycle.svg"; set icon_z17; } node[traffic_sign][bicycle=designated] { icon-image: "presets/vehicle/restriction/bicycle-designated.svg"; set icon_z17; } node[traffic_sign][foot?!] { icon-image: "presets/vehicle/restriction/foot.svg"; set icon_z17; } node[traffic_sign][foot=designated] { icon-image: "presets/vehicle/restriction/foot-designated.svg"; set icon_z17; } node[traffic_sign][goods?!], node[traffic_sign][hgv?!] { icon-image: "presets/vehicle/restriction/goods.svg"; set icon_z17; } node[traffic_sign][horse?!] { icon-image: "presets/vehicle/restriction/horse.svg"; set icon_z17; } node[traffic_sign][horse=designated] { icon-image: "presets/vehicle/restriction/horse-designated.svg"; set icon_z17; } node[traffic_sign][motorcycle?!] { icon-image: "presets/vehicle/restriction/motorbike.svg"; set icon_z17; } node[traffic_sign][motorcar?!] { icon-image: "presets/vehicle/restriction/motorcar.svg"; set icon_z17; } node[traffic_sign][psv?!] { icon-image: "presets/vehicle/restriction/psv.svg"; set icon_z17; } node[traffic_sign][motorboat?!][!is_prop_set(icon-image)], node[traffic_sign][boat?!][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; set icon_z17; } node[noexit=yes] { icon-image: "presets/vehicle/restriction/dead_end.svg"; set icon_z17; } node[traffic_sign][maxweight] { icon-image: "presets/vehicle/restriction/maxweight.svg"; set icon_z17; } node[traffic_sign][maxheight] { icon-image: "presets/vehicle/restriction/maxheight.svg"; set icon_z17; } node[traffic_sign][maxwidth] { icon-image: "presets/vehicle/restriction/maxwidth.svg"; set icon_z17; } node[traffic_sign][maxlength] { icon-image: "presets/vehicle/restriction/maxlength.svg"; set icon_z17; } node[traffic_sign][minspeed] { icon-image: "presets/vehicle/restriction/minspeed.svg"; set icon_z17; } node[traffic_sign][maxstay][!is_prop_set(icon-image)], node[traffic_sign][toll][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; set icon_z17; } /*****************************/ /* building/entrance/address */ /*****************************/ node["addr:housenumber"] { icon-image: "presets/misc/housenumber_small.svg"; 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?!][building!=y][building!=1] { fill-color: building#e06e5f; } area[building=roof], area[building][!building?!][wall?!], area[building:part][!building:part?!] { fill-color: buildingpart#dcbbbb; } node[building][!building?!] { icon-image: "presets/landmark/building.svg"; set icon_z17; } node[building=garage] { icon-image: "presets/landuse/garages.svg"; set icon_z17; } node[building=garages] { icon-image: "presets/landuse/garages.svg"; set icon_z17; } node[building=transformer_tower] { icon-image: "presets/power/transformer_tower.svg"; set icon_z17; } node[entrance=yes], node[entrance=home], node[entrance=staircase] { icon-image: "presets/misc/entrance_yes.svg"; set icon_z17; } node[entrance=main] { icon-image: "presets/misc/entrance_main.svg"; set icon_z17; } node[entrance=service] { icon-image: "presets/misc/entrance_service.svg"; set icon_z17; } node[entrance=exit] { icon-image: "presets/misc/entrance_exit.svg"; set icon_z17; } node[entrance=emergency] { icon-image: "presets/misc/entrance_emergency.svg"; set icon_z17; } node[building=entrance], node[building:part] { icon-image: "presets/misc/deprecated.svg"; set icon_z17; } /****************/ /* barrier tags */ /****************/ way[barrier=bollard] { width: 2; color: barrier#F0F050; dashes: 3,9; } node[barrier=bollard] { icon-image: "presets/barrier/bollard.svg"; set icon_z17; } node[barrier=gate] { icon-image: "presets/barrier/gate.svg"; 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=kerb], way[barrier=guard_rail], way[barrier=retaining_wall], way[barrier=jersey_barrier] { repeat-image: "presets/barrier/kerb_pattern.svg"; repeat-image-align: top; } way[barrier=retaining_wall] { repeat-image: "presets/misc/cliff_pattern.svg"; 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: "presets/misc/deprecated.svg"; set icon_z17; } node[barrier=kerb] { icon-image: "presets/barrier/kerb.svg"; set icon_z17; } node[barrier=block] { icon-image: "presets/barrier/block.svg"; set icon_z17; } node[barrier=chain] { icon-image: "presets/barrier/chain.svg"; set icon_z17; } node[barrier=stile] { icon-image: "presets/barrier/stile.svg"; set icon_z17; } node[barrier=turnstile] { icon-image: "presets/barrier/turnstile.svg"; set icon_z17; } node[barrier=cycle_barrier] { icon-image: "presets/barrier/cycle_barrier.svg"; set icon_z17; } node[barrier=lift_gate] { icon-image: "presets/barrier/lift_gate.svg"; set icon_z17; } node[barrier=swing_gate] { icon-image: "presets/barrier/swing_gate.svg"; set icon_z17; } area[barrier=toll_booth]:closed { fill-color: barrier#F0F050; } node[barrier=toll_booth] { icon-image: "presets/barrier/toll_station.svg"; set icon_z17; } node[barrier=entrance] { icon-image: "presets/barrier/entrance.svg"; set icon_z17; } node[barrier=cattle_grid] { icon-image: "presets/barrier/cattle_grid.svg"; set icon_z17; } node[barrier=border_control] { icon-image: "presets/barrier/douane.svg"; set icon_z17; } node[barrier=sally_port] { icon-image: "presets/barrier/sally_port.svg"; set icon_z17; } node[barrier=spikes] { icon-image: "presets/barrier/spikes.svg"; set icon_z17; } node[barrier=jersey_barrier] { icon-image: "presets/barrier/jersey_barrier.svg"; set icon_z17; } node[barrier=kissing_gate] { icon-image: "presets/barrier/kissing_gate.svg"; set icon_z17; } node[barrier=bump_gate][!is_prop_set(icon-image)], node[barrier=bus_trap][!is_prop_set(icon-image)], node[barrier=hampshire_gate][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; set icon_z17; } /****************/ /* highway tags */ /****************/ way[motorroad=yes]::core_motorroad { major-z-index: 2; z-index: -1; width: +4; color: motorroad#3377ff; } way|z16-[highway=motorway], way|z16-[highway=motorway_link] { width: 6; z-index: 0.13; /* #15483 */ color: motorway#cf2081; opacity: 1; casing-width: 1; casing-color: #70372f; } way|z15[highway=motorway], way|z15[highway=motorway_link] { width: 3.46; z-index: 0.13; /* #15483 */ color: motorway#cf2081; opacity: 1; casing-width: 1; casing-color: #70372f; } way|z-14[highway=motorway], way|z-14[highway=motorway_link] { width: 2; z-index: 0.13; /* #15483 */ color: motorway#cf2081; opacity: 1; casing-width: 1; casing-color: #70372f; } way|z16-[highway=trunk], way|z16-[highway=trunk_link] { width: 6; z-index: 0.11; color: trunk#dd2522; opacity: 1; casing-width: 1; casing-color: #70372f; } way|z15[highway=trunk], way|z15[highway=trunk_link] { width: 3.46; z-index: 0.11; color: trunk#dd2522; opacity: 1; casing-width: 1; casing-color: #70372f; } way|z-14[highway=trunk], way|z-14[highway=trunk_link] { width: 2; z-index: 0.11; color: trunk#dd2522; opacity: 1; casing-width: 1; casing-color: #70372f; } way|z16-[highway=primary],way|z16-[highway=primary_link] { width: 6; z-index: 0.09; color: primary#f99806; opacity: 1; casing-width: 1; casing-color: #70372f; } way|z15[highway=primary],way|z15[highway=primary_link] { width: 3.46; z-index: 0.09; color: primary#f99806; opacity: 1; casing-width: 1; casing-color: #70372f; } way|z-14[highway=primary],way|z-14[highway=primary_link] { width: 2; z-index: 0.09; color: primary#f99806; opacity: 1; casing-width: 1; casing-color: #70372f; } way|z16-[highway=secondary], way|z16-[highway=secondary_link] { width: 6; z-index: 0.07; color: secondary#f3f312; opacity: 1; casing-width: 1; casing-color: #70372f; } way|z15[highway=secondary], way|z15[highway=secondary_link] { width: 3.46; z-index: 0.07; color: secondary#f3f312; opacity: 1; casing-width: 1; casing-color: #70372f; } way|z-14[highway=secondary], way|z-14[highway=secondary_link] { width: 2; z-index: 0.07; color: secondary#f3f312; opacity: 1; casing-width: 1; casing-color: #70372f; } way|z16-[highway=tertiary], way|z16-[highway=tertiary_link] { width: 6; z-index: 0.05; color: tertiary#fff9b3; opacity: 1; casing-width: 1; casing-color: #70372f; } way|z15[highway=tertiary], way|z15[highway=tertiary_link] { width: 3.46; z-index: 0.05; color: tertiary#fff9b3; opacity: 1; casing-width: 1; casing-color: #70372f; } way|z-14[highway=tertiary], way|z-14[highway=tertiary_link] { width: 2; z-index: 0.05; color: tertiary#fff9b3; opacity: 1; casing-width: 1; casing-color: #70372f; } way|z16-[highway=unclassified] { width: 6; z-index: 0.03; color: street#ddccaa; opacity: 1; casing-width: 1; casing-color: #444444; } way|z15[highway=unclassified] { width: 3.46; z-index: 0.03; color: street#ddccaa; opacity: 1; casing-width: 1; casing-color: #444444; } way|z-14[highway=unclassified] { width: 2; z-index: 0.03; color: street#ddccaa; opacity: 1; casing-width: 1; casing-color: #444444; } 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; opacity: 1; } way[highway=track][area?], relation[type=multipolygon][highway=track] { fill-color: highway_track#6e541c; } way|z16-[highway=track] { width: 4; color: highway_track#c5b59f; casing-dashes: 4,4; casing-color: #cccccc; casing-width: 1; } way|z15[highway=track] { width: 2.58; color: highway_track#c5b59f; casing-dashes: 4,4; casing-color: #cccccc; casing-width: 0.7; } way|z-14[highway=track] { width: 1.67; color: highway_track#c5b59f; casing-dashes: 4,4; casing-color: #cccccc; casing-width: 0.3; } way|z16-[highway=residential] { width: 6; z-index: 0.02; color: street#ffffff; opacity: 1; casing-width: 1; casing-color: #444444; } way|z15[highway=residential] { width: 3.46; z-index: 0.02; color: street#ffffff; opacity: 1; casing-width: 1; casing-color: #444444; } way|z-14[highway=residential] { width: 2; z-index: 0.02; color: street#ffffff; opacity: 1; casing-width: 0.6; casing-color: #444444; } way|z16-[highway=living_street] { width: 6; z-index: 0.01; dashes: 9,9; dashes-background-color: livingdashed#00ff00; color: street#c0c0c0; opacity: 1; } way|z15[highway=living_street] { width: 3.46; z-index: 0.01; dashes: 6,6; dashes-background-color: livingdashed#00ff00; color: street#c0c0c0; opacity: 1; } way|z-14[highway=living_street] { width: 2; z-index: 0.01; dashes: 3,3; dashes-background-color: livingdashed#00ff00; color: street#c0c0c0; opacity: 1; } way[highway=service][area?], relation[type=multipolygon][highway=service] { fill-color: service#809bc0; } way|z16-[highway=service][!area?][!service] { width: 4; color: service#ffffff; casing-width: 0.7; casing-color: #444444; } way|z15[highway=service][!area?][!service] { width: 1.73; color: service#ffffff; casing-width: 0.5; casing-color: #444444; } way|z14[highway=service][!area?][!service] { width: 1; color: service#ffffff; casing-width: 0.2; casing-color: #444444; } way|z16-[highway=service][!area?][service] { width: 4; color: service#ddccaa; casing-width: 0.7; casing-color: #444444; } way|z15[highway=service][!area?][service] { width: 1.73; color: service#ddccaa; casing-width: 0.5; casing-color: #444444; } way|z14[highway=service][!area?][service] { width: 1; color: service#ddccaa; casing-width: 0.3; casing-color: #444444; z-index: 0.009; } way[highway=bridleway] { width: 3.3; color: horse#e06d5f; dashes: 6,6; casing-width: 1; casing-color: #ffffff; z-index: 0.009; } way[highway=cycleway] { width: 3.3; color: bicycle#58a9ed; dashes: 6,6; casing-width: 1; casing-color: #ffffff; z-index: 0.009; } way[highway=footway][area?], relation[type=multipolygon][highway=footway] { fill-color: foot#00ff00; } way[highway=footway][!area?] { width: 3.3; color: foot#998888; dashes: 6,6; casing-width: 1; casing-color: #ffffff; z-index: 0.009; } way[highway=footway][!area?][footway=crossing], way[highway=footway][!area?][footway=parking_aisle] { width: 3.3; color: foot#998888; dashes: 6,6; casing-width: 1; casing-color: #ddccaa; z-index: 0.009; } way[highway=path] { width: 3.3; color: foot#998888; dashes: 6,6; casing-width: 1; casing-color: #ddccaa; z-index: 0.009; } way[highway=pedestrian][area?], relation[type=multipolygon][highway=pedestrian] { width: 3; color: foot#00ff00; fill-color: foot#00ff00; } way[highway=pedestrian] { width: 3.3; color: foot#ffffff; dashes: 5,5; casing-width: 1; casing-color: #8cd05f; z-index: 0.009; } way[highway=steps] { width: 3; color: foot#81d25c; dashes: 3,3; casing-width: 1; casing-color: #ffffff; z-index: 0.009; } way[highway=bus_guideway] { width: 3; color: rail#404040; dashes: 9,9; } way[highway=raceway] { width: 3; 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: "presets/vehicle/junction.svg"; set icon_z17; } node[highway=traffic_mirror] { icon-image: "presets/vehicle/traffic_mirror.svg"; set icon_z17; } node[highway=milestone] { icon-image: "presets/vehicle/milestone.svg"; set icon_z17; } node[direction=clockwise] { icon-image: "presets/vehicle/restriction/roundabout_left.svg"; set icon_z17; } node[highway=mini_roundabout] { icon-image: "presets/vehicle/restriction/mini_roundabout_left.svg"; set icon_z17; } node:righthandtraffic[highway=mini_roundabout] { icon-image: "presets/vehicle/restriction/mini_roundabout_right.svg"; set icon_z17; } node[highway=stop] { icon-image: "presets/vehicle/restriction/stop.svg"; set icon_z17; } node[highway=give_way] { icon-image: "presets/vehicle/restriction/give_way.svg"; set icon_z17; } node[highway=traffic_signals] { icon-image: "presets/vehicle/traffic_signals.svg"; set icon_z17; } node[highway=traffic_signals][crossing][crossing!=no] { icon-image: "presets/vehicle/traffic_signals_crossing.svg"; set icon_z17; } node[highway=traffic_signals][crossing_ref=zebra] { icon-image: "presets/vehicle/traffic_signals_crossing_ref_zebra.svg"; set icon_z17; } node[highway=traffic_signals][crossing=island] { icon-image: "presets/vehicle/traffic_signals_crossing_island.svg"; set icon_z17; } node[highway=traffic_signals][crossing=traffic_signals] { icon-image: "presets/vehicle/traffic_signals_crossing_traffic_signals.svg"; set icon_z17; } node[highway=street_lamp] { icon-image: "presets/misc/streetlamp.svg"; set icon_z17; } node[highway=speed_camera] { icon-image: "presets/vehicle/restriction/speed_camera.svg"; set icon_z17; } relation[type=enforcement] >[role="device"] node { icon-image: "presets/vehicle/restriction/speed_camera.svg"; set icon_z17; } node[traffic_sign=city_limit] { icon-image: "presets/vehicle/restriction/city_limit.svg"; set icon_z17; } node[highway=crossing][crossing!=no] { icon-image: "presets/vehicle/crossing.svg"; set icon_z17; } node[highway=crossing][crossing=unmarked] { icon-image: "presets/vehicle/crossing_unmarked.svg"; set icon_z17; } node[highway=crossing][crossing=island] { icon-image: "presets/vehicle/crossing_island.svg"; set icon_z17; } node[highway=crossing][crossing_ref=zebra] { icon-image: "presets/vehicle/crossing_ref_zebra.svg"; set icon_z17; } node[highway=crossing][crossing=traffic_signals] { icon-image: "presets/vehicle/crossing_traffic_signals.svg"; set icon_z17; } node[highway=motorway_junction] { icon-image: "presets/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: "presets/vehicle/services.svg"; set icon_z17; } area[highway=rest_area] { fill-color: services#c0c0c0; } node[highway=rest_area] { icon-image: "presets/vehicle/rest_area.svg"; set icon_z17; } node[ford=stepping_stones], node[ford?] { icon-image: "presets/vehicle/ford.svg"; set icon_z17; } way[ford=stepping_stones]::core_ford, way[ford?]::core_ford { z-index: 1; width: 2; color: water#0000ff; dashes: 9,9; dashes-offset: 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: "presets/vehicle/turning_circle.svg"; set icon_z17; } node[highway=turning_loop] { icon-image: "presets/vehicle/turning_loop.svg"; set icon_z17; } node[highway=passing_place] { icon-image: "presets/vehicle/passing_place.svg"; set icon_z17; } area[highway=elevator] { fill-color: elevator#a6bace; } node[highway=elevator] { icon-image: "presets/service/elevator.svg"; set icon_z17; } way[highway=construction] { width: 2; color: construction#ffff00; dashes: 9,9; } node[highway=construction] { icon-image: "presets/misc/construction.svg"; set icon_z17; } area[highway=emergency_access_point] { fill-color: emergency_access_point#c0c0c0; } node[highway=emergency_access_point] { icon-image: "presets/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: "presets/misc/deprecated.svg"; set icon_z17; } area["area:highway"] { fill-color: #888888; fill-opacity: 0.6; } /************************/ /* traffic_calming tags */ /************************/ node[traffic_calming] { icon-image: "presets/vehicle/traffic_calming.svg"; set icon_z17; } node[traffic_calming=chicane] { icon-image: "presets/vehicle/chicane.svg"; set icon_z17; } node[traffic_calming=choker] { icon-image: "presets/vehicle/choker.svg"; set icon_z17; } node[traffic_calming=island] { icon-image: "presets/vehicle/island.svg"; set icon_z17; } node[traffic_calming=bump] { icon-image: "presets/vehicle/bump.svg"; set icon_z17; } node[traffic_calming=hump] { icon-image: "presets/vehicle/hump.svg"; set icon_z17; } node[traffic_calming=table] { icon-image: "presets/vehicle/table.svg"; set icon_z17; } node[traffic_calming=cushion] { icon-image: "presets/vehicle/cushion.svg"; set icon_z17; } node[traffic_calming=rumble_strip] { icon-image: "presets/vehicle/rumble_strip.svg"; set icon_z17; } /****************/ /* junction tag */ /****************/ node[junction=roundabout] { icon-image: "presets/vehicle/restriction/roundabout_left.svg"; set icon_z17; } node:righthandtraffic[junction=roundabout] { icon-image: "presets/vehicle/restriction/roundabout_right.svg"; 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][area=yes]::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][area=yes]::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][area=yes]::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][area=yes]::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][area=yes]::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][area=yes]::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: "presets/sport/skiing.svg"; set icon_z17; } /**************/ /* power tags */ /**************/ node[power=portal] { icon-image: "presets/power/portal.svg"; set icon_z17; } node[power=tower] { icon-image: "presets/power/tower.svg"; set icon_z17; } node[power=pole] { icon-image: "presets/power/pole.svg"; set icon_z17; } node[power=pole][switch] { icon-image: "presets/power/pole_switch.svg"; set icon_z17; } node[power=pole][transformer=distribution] { icon-image: "presets/power/pole_transformer.svg"; set icon_z17; } node[power=catenary_mast] { icon-image: "presets/power/catenary_mast.svg"; set icon_z17; } node[power=insulator] { icon-image: "presets/power/insulator.svg"; set icon_z17; } way[power=portal], way[power=line], way[power=minor_line] { width: 1.5; color: power#939393; } 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: "presets/misc/deprecated.svg"; set icon_z17; } area[power=plant], area[power=substation], area[power=compensator], area[power=converter], area[power=switchgear], area[power=generator] { fill-color: power#eeeeee; } node[man_made=street_cabinet][street_cabinet=power] { icon-image: "presets/power/cable_distribution_cabinet.svg"; set icon_z17; } node[power=generator] { icon-image: "presets/power/generator.svg"; set icon_z17; } node[power=substation] { icon-image: "presets/power/substation.svg"; set icon_z17; } node[power=transformer] { icon-image: "presets/power/transformer.svg"; set icon_z17; } node[power=terminal] { icon-image: "presets/power/terminal.svg"; set icon_z17; } node[power=switch] { icon-image: "presets/power/switch.svg"; set icon_z17; } node[power=converter] { icon-image: "presets/power/converter.svg"; set icon_z17; } node[power=compensator] { icon-image: "presets/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/power_source-nuclear.svg"; set icon_z17; } node[generator:source=wind] { icon-image: "presets/power/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/power_source-water.svg"; set icon_z17; } node[generator:source=geothermal] { icon-image: "presets/power/power_source-geothermal.svg"; set icon_z17; } node[generator:source=solar] { icon-image: "presets/power/power_source-sun.svg"; set icon_z17; } node[generator:source=coal] { icon-image: "presets/power/power_source-coal.svg"; set icon_z17; } node[generator:source=gas] { icon-image: "presets/power/power_source-gas.svg"; set icon_z17; } node[generator:source=biomass], node[generator:source=biofuel], node[generator:source=biogas] { icon-image: "presets/power/power_source-biofuel.svg"; set icon_z17; } node[generator:source=oil], node[generator:source=diesel], node[generator:source=gasoline] { icon-image: "presets/power/power_source-oil.svg"; set icon_z17; } node[generator:source=waste] { icon-image: "presets/power/power_source-waste.svg"; set icon_z17; } node[power_source] { icon-image: "presets/misc/deprecated.svg"; set icon_z17; } /*****************/ /* man_made tags */ /*****************/ area[man_made=beacon], area[man_made=bridge], area[bridge:support], area[man_made=chimney], area[man_made=kiln], 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: "presets/landmark/beacon.svg"; set icon_z17; } node[man_made=bridge] { icon-image: "presets/misc/deprecated.svg"; set icon_z17; } node[bridge:support] { icon-image: "presets/transport/bridge/bridge_support.svg"; set icon_z17; } node[man_made=chimney] { icon-image: "presets/landmark/chimney.svg"; set icon_z17; } node[man_made=kiln] { icon-image: "presets/misc/kiln.svg"; set icon_z17; } node[man_made=flagpole] { icon-image: "presets/misc/flag.svg"; set icon_z17; } node[man_made=cross] { icon-image: "presets/landmark/cross.svg"; set icon_z17; } node[man_made=gasometer] { icon-image: "presets/landmark/gasometer.svg"; set icon_z17; } node[man_made=silo] { icon-image: "presets/landmark/silo.svg"; set icon_z17; } node[man_made=storage_tank] { icon-image: "presets/landmark/storage_tank.svg"; set icon_z17; } node[man_made=bunker_silo] { icon-image: "presets/landmark/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; } way[man_made=dyke] { width: 2; color: dyke#0aa846; } node[man_made=lighthouse] { icon-image: "presets/landmark/lighthouse.svg"; set icon_z17; } node[man_made=monitoring_station] { icon-image: "presets/misc/monitoring_station.svg"; set icon_z17; } node[man_made=mineshaft] { icon-image: "presets/landmark/mine.svg"; 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: "presets/landmark/crane.svg"; set icon_z17; } node[man_made=adit] { icon-image: "presets/landmark/adit.svg"; 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: "presets/nautical/pier.svg"; set icon_z17; } way[embankment?][!highway][!railway][!waterway], way[man_made=embankment][!highway][!railway][!waterway] { repeat-image: "presets/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: "presets/misc/embankment-pattern-centered.png"; } way[man_made=pipeline][!waterway] { width: 2; color: pipeline#660000; } node[pipeline=marker] { icon-image: "presets/misc/pipeline_marker.svg"; set icon_z17; } node[pipeline=valve] { icon-image: "presets/misc/valve.svg"; set icon_z17; } node[man_made=breakwater], node[man_made=groyne], node[man_made=embankment], node[man_made=pipeline] { icon-image: "presets/misc/deprecated.svg"; set icon_z17; } node[man_made=petroleum_well][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; set icon_z17; } area[man_made=reservoir_covered], 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: "presets/landmark/reservoir_covered.svg"; set icon_z17; } node[man_made=surveillance] { icon-image: "presets/service/surveillance.svg"; set icon_z17; } node[man_made=survey_point] { icon-image: "presets/landmark/survey_point.svg"; set icon_z17; } node[man_made=tower] { icon-image: "presets/landmark/tower.svg"; set icon_z17; } node[man_made=wastewater_plant] { icon-image: "presets/landmark/wastewater_plant.svg"; set icon_z17; } node[man_made=watermill] { icon-image: "presets/landmark/watermill.svg"; set icon_z17; } node[man_made=water_tower] { icon-image: "presets/landmark/water_tower.svg"; set icon_z17; } node[man_made=water_well] { icon-image: "presets/landmark/water_well.svg"; set icon_z17; } node[man_made=windmill] { icon-image: "presets/landmark/windmill.svg"; set icon_z17; } node[man_made=works] { icon-image: "presets/landmark/works.svg"; set icon_z17; } node[man_made=water_works] { icon-image: "presets/landmark/water_works.svg"; set icon_z17; } way[man_made=cutline] { width: 2; color: cutline#99ff55; } node[man_made=cutline] { icon-image: "presets/misc/deprecated.svg"; 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: "presets/office/accountant.svg"; set icon_z17; } node[office=administrative] { icon-image: "presets/office/administrative.svg"; set icon_z17; } node[office=advertising_agency] { icon-image: "presets/office/advertising_agency.svg"; set icon_z17; } node[office=architect] { icon-image: "presets/office/architect.svg"; set icon_z17; } node[office=association] { icon-image: "presets/office/association.svg"; set icon_z17; } node[office=company] { icon-image: "presets/office/private_company.svg"; set icon_z17; } node[office=educational_institution] { icon-image: "presets/office/educational_institution.svg"; set icon_z17; } node[office=employment_agency] { icon-image: "presets/office/employment_agency.svg"; set icon_z17; } node[office=estate_agent] { icon-image: "presets/office/real_state.svg"; set icon_z17; } node[office=foundation] { icon-image: "presets/office/foundation.svg"; set icon_z17; } node[office=insurance] { icon-image: "presets/office/insurance.svg"; set icon_z17; } node[office=it] { icon-image: "presets/office/it.svg"; set icon_z17; } node[office=lawyer] { icon-image: "presets/office/lawyer.svg"; set icon_z17; } node[office=newspaper] { icon-image: "presets/office/newspaper.svg"; set icon_z17; } node[office=ngo] { icon-image: "presets/office/ong.svg"; set icon_z17; } node[office=notary] { icon-image: "presets/office/notary.svg"; set icon_z17; } node[office=political_party] { icon-image: "presets/office/political_party.svg"; set icon_z17; } node[office=religion] { icon-image: "presets/office/religion.svg"; set icon_z17; } node[office=research] { icon-image: "presets/office/research.svg"; set icon_z17; } node[office=tax_advisor] { icon-image: "presets/office/tax_advisor.svg"; set icon_z17; } node[office=telecommunication] { icon-image: "presets/office/telecommunication.svg"; set icon_z17; } node[office=government] { icon-image: "presets/office/government.svg"; set icon_z17; } /****************/ /* leisure tags */ /****************/ area[leisure=bandstand], area[leisure=sports_centre], area[leisure=fitness_centre], area[leisure=stadium], area[leisure=horse_riding], area[leisure=resort], area[leisure=beach_resort], area[leisure=water_park] { fill-color: leisure#c7f1a3; } node[leisure=bandstand] { icon-image: "presets/leisure/bandstand.svg"; set icon_z17; } node[leisure=sports_centre] { icon-image: "presets/sport/sports_centre.svg"; set icon_z17; } node[leisure=fitness_centre] { icon-image: "presets/sport/fitness_centre.svg"; set icon_z17; } node[leisure=stadium] { icon-image: "presets/sport/stadium.svg"; set icon_z17; } node[leisure=horse_riding] { icon-image: "presets/leisure/horse_riding.svg"; set icon_z17; } node[leisure=resort] { icon-image: "presets/leisure/resort.svg"; set icon_z17; } node[leisure=beach_resort] { icon-image: "presets/leisure/beach_resort.svg"; set icon_z17; } node[leisure=water_park] { icon-image: "presets/leisure/water_park.svg"; 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: "presets/sport/track.svg"; set icon_z17; } area[leisure=pitch] { fill-color: pitch#baee8d; } node[leisure=pitch] { icon-image: "presets/sport/pitch.svg"; set icon_z17; } area[leisure=marina] { fill-color: marina#0070cf; } node[leisure=marina] { icon-image: "presets/nautical/marina.svg"; set icon_z17; } way[leisure=slipway] { width: 2; color: leisure#c7f1a3; } node[leisure=slipway] { icon-image: "presets/nautical/slipway.svg"; 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; width: 1; } node[leisure=fishing] { icon-image: "presets/sport/fishing.svg"; set icon_z17; } node[leisure=bird_hide] { icon-image: "presets/leisure/bird_hide.svg"; set icon_z17; } node[leisure=nature_reserve] { icon-image: "presets/leisure/nature_reserve.svg"; set icon_z17; } node[leisure=park] { icon-image: "presets/misc/deprecated.svg"; set icon_z17; } node[leisure=playground] { icon-image: "presets/leisure/playground.svg"; set icon_z17; } node[leisure=garden] { icon-image: "presets/leisure/garden.svg"; set icon_z17; } node[leisure=common] { icon-image: "presets/leisure/common.svg"; set icon_z17; } node[leisure=firepit] { icon-image: "presets/leisure/firepit.svg"; set icon_z17; } node[leisure=picnic_table] { icon-image: "presets/leisure/picnic.svg"; set icon_z17; } area[leisure=swimming_pool] { fill-color: swimming_pool#51c4ef; } node[leisure=swimming_pool] { icon-image: "presets/sport/swimming.svg"; 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: "presets/leisure/fitness_station.svg"; set icon_z17; } node[leisure=miniature_golf] { icon-image: "presets/sport/miniature_golf.svg"; set icon_z17; } node[leisure=dog_park] { icon-image: "presets/leisure/dogpark.svg"; set icon_z17; } node[leisure=ice_rink] { icon-image: "presets/sport/ice_hockey.svg"; set icon_z17; } node[leisure=sauna] { icon-image: "presets/leisure/sauna.svg"; set icon_z17; } area[leisure=golf_course] { fill-color: leisure#c7f1a3; } node[leisure=golf_course] { icon-image: "presets/sport/golf/golf.svg"; set icon_z17; } /*************/ /* golf tags */ /*************/ area[golf=tee] { fill-color: golf#c7f1a3; } node[golf=tee] { icon-image: "presets/sport/golf/tee.svg"; set icon_z17; } way[golf=hole] { width: 1; dashes: 10,10; color: golf_hole#808080; } node[golf=pin] { icon-image: "presets/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: "presets/sport/golf/driving_range.svg"; set icon_z17; } /********************/ /* advertising tags */ /********************/ node[advertising=column] { icon-image: "presets/leisure/advertising_column.svg"; set icon_z17; } area[advertising=column] { fill-color: advertising#880000; } node[advertising=billboard] { icon-image: "presets/leisure/billboard.svg"; set icon_z17; } way[advertising=billboard] { width: 2; color: advertising#880000; } /*************/ /* 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_repair], area[shop=tyres], area[shop=chemist], area[shop=tobacco], area[shop=clothes], area[shop=computer], area[shop=confectionery], area[shop=pastry], 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=gas], 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=dairy], area[shop=cheese], 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=charity], 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: "presets/shop/supermarket.svg"; set icon_z17; } node[shop=convenience] { icon-image: "presets/shop/convenience.svg"; set icon_z17; } node[shop=bakery] { icon-image: "presets/shop/groceries/bakery.svg"; set icon_z17; } node[shop=butcher] { icon-image: "presets/shop/groceries/butcher.svg"; set icon_z17; } node[shop=bicycle] { icon-image: "presets/shop/bicycle.svg"; set icon_z17; } node[shop=doityourself] { icon-image: "presets/shop/diy_store.svg"; set icon_z17; } node[shop=dry_cleaning], node[shop=laundry] { icon-image: "presets/shop/laundry.svg"; set icon_z17; } node[shop=outdoor] { icon-image: "presets/shop/outdoor.svg"; set icon_z17; } node[shop=kiosk] { icon-image: "presets/shop/kiosk.svg"; set icon_z17; } node[shop=beverages] { icon-image: "presets/shop/beverages.svg"; set icon_z17; } node[shop=alcohol] { icon-image: "presets/shop/alcohol.svg"; set icon_z17; } node[shop=books] { icon-image: "presets/shop/book.svg"; set icon_z17; } node[shop=boutique] { icon-image: "presets/shop/boutique.svg"; set icon_z17; } node[shop=car] { icon-image: "presets/shop/vehicle.svg"; set icon_z17; } node[shop=car_repair] { icon-image: "presets/vehicle/repair_shop.svg"; set icon_z17; } node[shop=tyres] { icon-image: "presets/vehicle/tyres.svg"; set icon_z17; } node[shop=chemist] { icon-image: "presets/shop/chemist.svg"; set icon_z17; } node[shop=tobacco] { icon-image: "presets/shop/tobacco.svg"; set icon_z17; } node[shop=clothes] { icon-image: "presets/shop/clothes.svg"; set icon_z17; } node[shop=computer] { icon-image: "presets/shop/computer.svg"; set icon_z17; } node[shop=confectionery] { icon-image: "presets/shop/groceries/confectionery.svg"; set icon_z17; } node[shop=pastry] { icon-image: "presets/shop/groceries/pastry.svg"; set icon_z17; } node[shop=copyshop] { icon-image: "presets/shop/copyshop.svg"; set icon_z17; } node[shop=curtain] { icon-image: "presets/shop/curtain.svg"; set icon_z17; } node[shop=cycle_repair] { icon-image: "presets/shop/bicycle.svg"; set icon_z17; } node[shop=department_store] { icon-image: "presets/shop/mall.svg"; set icon_z17; } node[shop=deli] { icon-image: "presets/shop/groceries/deli.svg"; set icon_z17; } node[shop=electronics] { icon-image: "presets/shop/electronics.svg"; set icon_z17; } node[shop=erotic] { icon-image: "presets/shop/erotic.svg"; set icon_z17; } node[shop=furniture] { icon-image: "presets/shop/furniture.svg"; set icon_z17; } node[shop=fabric] { icon-image: "presets/shop/fabric.svg"; set icon_z17; } node[shop=florist] { icon-image: "presets/shop/florist.svg"; set icon_z17; } node[shop=frame] { icon-image: "presets/shop/frame.svg"; set icon_z17; } node[shop=gas] { icon-image: "presets/shop/gas.svg"; set icon_z17; } node[shop=gift] { icon-image: "presets/shop/present.svg"; set icon_z17; } node[shop=greengrocer] { icon-image: "presets/shop/groceries/greengrocer.svg"; set icon_z17; } node[shop=garden_centre] { icon-image: "presets/shop/garden_centre.svg"; set icon_z17; } node[shop=hairdresser] { icon-image: "presets/shop/hairdresser.svg"; set icon_z17; } node[shop=hardware] { icon-image: "presets/shop/hardware.svg"; set icon_z17; } node[shop=hearing_aids] { icon-image: "presets/shop/hearing_aids.svg"; set icon_z17; } node[shop=hifi] { icon-image: "presets/shop/hifi.svg"; set icon_z17; } node[shop=houseware] { icon-image: "presets/shop/houseware.svg"; set icon_z17; } node[shop=jewelry] { icon-image: "presets/shop/jewelry.svg"; set icon_z17; } node[shop=kitchen] { icon-image: "presets/shop/kitchen.svg"; set icon_z17; } node[shop=mall] { icon-image: "presets/shop/mall.svg"; set icon_z17; } node[shop=mobile_phone] { icon-image: "presets/shop/mobile_phone.svg"; set icon_z17; } node[shop=motorcycle] { icon-image: "presets/vehicle/motorbike.svg"; set icon_z17; } node[shop=musical_instrument] { icon-image: "presets/shop/musical_instrument.svg"; set icon_z17; } node[shop=newsagent] { icon-image: "presets/shop/news.svg"; set icon_z17; } node[shop=optician] { icon-image: "presets/shop/optician.svg"; set icon_z17; } node[shop=medical_supply] { icon-image: "presets/shop/medical_supply.svg"; set icon_z17; } node[shop=paint] { icon-image: "presets/shop/paint.svg"; set icon_z17; } node[shop=pawnbroker] { icon-image: "presets/shop/pawnbroker.svg"; set icon_z17; } node[shop=seafood] { icon-image: "presets/shop/groceries/seafood.svg"; set icon_z17; } node[shop=dairy] { icon-image: "presets/shop/groceries/dairy.svg"; set icon_z17; } node[shop=cheese] { icon-image: "presets/shop/groceries/cheese.svg"; set icon_z17; } node[shop=shoes] { icon-image: "presets/shop/shoes.svg"; set icon_z17; } node[shop=sports] { icon-image: "presets/sport/multi.svg"; set icon_z17; } node[shop=stationery] { icon-image: "presets/shop/stationery.svg"; set icon_z17; } node[shop=tailor] { icon-image: "presets/shop/tailor.svg"; set icon_z17; } node[shop=travel_agency] { icon-image: "presets/shop/travel_agency.svg"; set icon_z17; } node[shop=toys] { icon-image: "presets/shop/toys.svg"; set icon_z17; } node[shop=vacuum_cleaner] { icon-image: "presets/shop/vacuum_cleaner.svg"; set icon_z17; } node[shop=variety_store] { icon-image: "presets/shop/variety_store.svg"; set icon_z17; } node[shop=charity] { icon-image: "presets/shop/charity.svg"; set icon_z17; } node[shop=video] { icon-image: "presets/shop/video.svg"; set icon_z17; } node[shop=bookmaker] { icon-image: "presets/shop/lottery.svg"; set icon_z17; } node[shop=lottery] { icon-image: "presets/shop/lottery.svg"; set icon_z17; } /* duplicate of shopping_centre? */ node[shop=shopping_centre] { icon-image: "presets/shop/mall.svg"; set icon_z17; } node[shop=pet] { icon-image: "presets/shop/pet.svg"; set icon_z17; } node[shop=photo] { icon-image: "presets/shop/photo.svg"; set icon_z17; } node[shop=ticket] { icon-image: "presets/shop/ticket.svg"; set icon_z17; } node[shop=interior_decoration] { icon-image: "presets/shop/interior_decoration.svg"; set icon_z17; } node[shop=car_parts] { icon-image: "presets/vehicle/car_parts.svg"; set icon_z17; } node[shop=video_games] { icon-image: "presets/shop/video_games.svg"; set icon_z17; } node[shop=bed] { icon-image: "presets/shop/bed.svg"; set icon_z17; } node[shop=beauty] { icon-image: "presets/shop/beauty.svg"; set icon_z17; } node[shop=cosmetics] { icon-image: "presets/shop/cosmetics.svg"; set icon_z17; } node[shop=perfumery] { icon-image: "presets/shop/perfumery.svg"; set icon_z17; } node[shop=tea] { icon-image: "presets/shop/groceries/tea.svg"; set icon_z17; } node[shop=coffee] { icon-image: "presets/shop/groceries/coffee.svg"; set icon_z17; } node[shop=antiques] { icon-image: "presets/shop/antique.svg"; set icon_z17; } node[shop=music] { icon-image: "presets/shop/music.svg"; set icon_z17; } node[shop=funeral_directors] { icon-image: "presets/shop/funeral_directors.svg"; set icon_z17; } node[shop=wine] { icon-image: "presets/shop/wine.svg"; set icon_z17; } node[shop=farm] { icon-image: "presets/shop/groceries/farm.svg"; set icon_z17; } node[shop=tattoo] { icon-image: "presets/shop/tattoo.svg"; set icon_z17; } node[shop=art] { icon-image: "presets/shop/art.svg"; set icon_z17; } node[shop=bag] { icon-image: "presets/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: "presets/emergency/ambulance_station.svg"; set icon_z17; } node[emergency=water_tank] { icon-image: "presets/emergency/water_tank.svg"; set icon_z17; } node[emergency=phone] { icon-image: "presets/vehicle/emergency_phone.svg"; set icon_z17; } node[emergency=defibrillator] { icon-image: "presets/emergency/aed.svg"; set icon_z17; } node[emergency=fire_hydrant] { icon-image: "presets/service/fire_hydrant.svg"; set icon_z17; } node[emergency=fire_extinguisher] { icon-image: "presets/emergency/fire_extinguisher.svg"; set icon_z17; } node[emergency=fire_hose] { icon-image: "presets/emergency/fire_hose.svg"; set icon_z17; } node[emergency=assembly_point] { icon-image: "presets/emergency/assembly_point.svg"; set icon_z17; } node[emergency=siren] { icon-image: "presets/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: "presets/food/pub.svg"; set icon_z17; } node[amenity=biergarten] { icon-image: "presets/food/biergarten.svg"; set icon_z17; } node[amenity=nightclub] { icon-image: "presets/leisure/nightclub.svg"; set icon_z17; } node[amenity=stripclub] { icon-image: "presets/leisure/stripclub.svg"; set icon_z17; } node[amenity=casino] { icon-image: "presets/leisure/casino.svg"; set icon_z17; } node[amenity=brothel] { icon-image: "presets/leisure/brothel.svg"; set icon_z17; } node[amenity=cafe] { icon-image: "presets/food/cafe.svg"; set icon_z17; } node[amenity=restaurant] { icon-image: "presets/food/restaurant.svg"; set icon_z17; } node[amenity=food_court] { icon-image: "presets/food/food_court.svg"; set icon_z17; } node[amenity=fast_food] { icon-image: "presets/food/fast_food.svg"; set icon_z17; } node[amenity=bar] { icon-image: "presets/food/bar.svg"; set icon_z17; } node[amenity=ice_cream] { icon-image: "presets/food/ice_cream.svg"; 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] { fill-color: parking_space#f7efb8; } 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#adadad; } node[amenity=parking_space] { icon-image: "presets/vehicle/parking/parking_space.svg"; set icon_z17; } node[amenity=parking] { icon-image: "presets/vehicle/parking/parking.svg"; set icon_z17; } node[amenity=parking_entrance] { icon-image: "presets/vehicle/parking/parking.svg"; set icon_z17; } node[amenity=parking_entrance][parking=multi-storey], node[amenity=parking][parking=multi-storey] { icon-image: "presets/vehicle/parking/multi-storey.svg"; set icon_z17; } node[amenity=parking_entrance][parking=underground], node[amenity=parking][parking=underground] { icon-image: "presets/vehicle/parking/underground.svg"; set icon_z17; } node[amenity=motorcycle_parking] { icon-image: "presets/vehicle/parking/motorbike.svg"; set icon_z17; } node[amenity=bicycle_parking] { icon-image: "presets/vehicle/parking/bicycle.svg"; set icon_z17; } node[park_ride][park_ride!=no] { icon-image: "presets/vehicle/parking/park_ride.svg"; set icon_z17; } node[amenity=parking_space][wheelchair?] { icon-image: "presets/vehicle/parking/handicapped.svg"; set icon_z17; } node[amenity=bicycle_rental] { icon-image: "presets/vehicle/bicycle_rental.svg"; set icon_z17; } node[amenity=bicycle_repair_station] { icon-image: "presets/vehicle/bicycle_repair_station.svg"; set icon_z17; } node[amenity=car_rental] { icon-image: "presets/vehicle/car_rental.svg"; set icon_z17; } node[amenity=car_sharing] { icon-image: "presets/vehicle/car_sharing.svg"; set icon_z17; } node[amenity=car_wash] { icon-image: "presets/vehicle/car_wash.svg"; set icon_z17; } node[amenity=taxi] { icon-image: "presets/transport/taxi.svg"; set icon_z17; } node[amenity=fuel] { icon-image: "presets/vehicle/fuel.svg"; set icon_z17; } node[amenity=charging_station] { icon-image: "presets/vehicle/charging_station.svg"; set icon_z17; } node[amenity=grit_bin] { icon-image: "presets/misc/grit_bin.svg"; set icon_z17; } node[amenity=telephone] { icon-image: "presets/service/telephone.svg"; set icon_z17; } node[amenity=clock] { icon-image: "presets/service/clock.svg"; set icon_z17; } node[amenity=photo_booth] { icon-image: "presets/service/photo_booth.svg"; set icon_z17; } area[amenity=toilets], area[amenity=shower], area[amenity=internet_cafe], area[amenity=recycling], area[amenity=sanitary_dump_station] { fill-color: amenity_light#f7efb7; } node[amenity=toilets] { icon-image: "presets/service/toilets.svg"; set icon_z17; } node[amenity=shower] { icon-image: "presets/service/shower.svg"; set icon_z17; } node[amenity=internet_cafe] { icon-image: "presets/service/internet_cafe.svg"; set icon_z17; } node[amenity=recycling] { icon-image: "presets/service/recycling/recycling.svg"; set icon_z17; } node[amenity=recycling][recycling_type=container] { icon-image: "presets/service/recycling/recycling_container.svg"; } node[amenity=recycling][recycling_type=centre] { icon-image: "presets/service/recycling/recycling_centre.svg"; } node[amenity=waste_basket] { icon-image: "presets/service/recycling/waste_basket.svg"; set icon_z17; } node[amenity=waste_disposal] { icon-image: "presets/service/recycling/waste_disposal.svg"; set icon_z17; } node[amenity=sanitary_dump_station] { icon-image: "presets/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/service/townhall.svg"; set icon_z17; } node[amenity=embassy] { icon-image: "presets/service/embassy.svg"; set icon_z17; } node[amenity=community_centre] { icon-image: "presets/service/community_centre.svg"; set icon_z17; } area[amenity=water_point], area[amenity=fountain] { fill-color: light_water#00005f; } node[amenity=drinking_water] { icon-image: "presets/food/drinking_water.svg"; set icon_z17; } node[amenity=water_point] { icon-image: "presets/accommodation/water.svg"; set icon_z17; } node[amenity=fountain] { icon-image: "presets/misc/fountain.svg"; 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: "presets/religion/religion.svg"; set icon_z17; } node[amenity=place_of_worship][religion=bahai] { icon-image: "presets/religion/bahai.svg"; set icon_z17; } node[amenity=place_of_worship][religion=buddhist] { icon-image: "presets/religion/buddhism.svg"; set icon_z17; } node[amenity=place_of_worship][religion=christian] { icon-image: "presets/religion/church.svg"; set icon_z17; } node[amenity=place_of_worship][religion=hindu] { icon-image: "presets/religion/hinduism.svg"; set icon_z17; } node[amenity=place_of_worship][religion=jain] { icon-image: "presets/religion/jainism.svg"; set icon_z17; } node[amenity=place_of_worship][religion=jewish] { icon-image: "presets/religion/jewish.svg"; set icon_z17; } node[amenity=place_of_worship][religion=muslim] { icon-image: "presets/religion/muslim.svg"; set icon_z17; } node[amenity=place_of_worship][religion=sikh] { icon-image: "presets/religion/sikhism.svg"; set icon_z17; } node[amenity=place_of_worship][religion=shinto] { icon-image: "presets/religion/shinto.svg"; set icon_z17; } node[amenity=place_of_worship][religion=spiritualist][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; set icon_z17; } node[amenity=place_of_worship][religion=taoist] { icon-image: "presets/religion/taoism.svg"; set icon_z17; } node[amenity=place_of_worship][religion=unitarian][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; set icon_z17; } node[amenity=place_of_worship][religion=zoroastrian][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; set icon_z17; } node[amenity=grave_yard] { icon-image: "presets/landuse/graveyard.svg"; set icon_z17; } node[amenity=crematorium][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; set icon_z17; } node[amenity=post_office] { icon-image: "presets/service/post_office.svg"; set icon_z17; } node[amenity=post_box] { icon-image: "presets/service/post_box.svg"; set icon_z17; } node[amenity=studio] { icon-image: "presets/service/studio.svg"; set icon_z17; } node[amenity=school] { icon-image: "presets/education/school.svg"; set icon_z17; } node[amenity=university] { icon-image: "presets/education/university.svg"; set icon_z17; } node[amenity=college] { icon-image: "presets/education/college.svg"; set icon_z17; } node[amenity=kindergarten] { icon-image: "presets/education/kindergarten.svg"; set icon_z17; } node[amenity=driving_school] { icon-image: "presets/education/driving_school.svg"; 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: "presets/health/pharmacy.svg"; set icon_z17; } node[amenity=hospital] { icon-image: "presets/health/hospital.svg"; set icon_z17; } node[amenity=clinic] { icon-image: "presets/health/clinic.svg"; set icon_z17; } node[amenity=social_facility][social_facility=nursing_home], node[amenity=nursing_home] { icon-image: "presets/social_facility/nursing_home.svg"; set icon_z17; } node[amenity=social_facility][social_facility=group_home] { icon-image: "presets/social_facility/group_home.svg"; set icon_z17; } node[amenity=social_facility][social_facility=assisted_living] { icon-image: "presets/social_facility/assisted_living.svg"; set icon_z17; } node[amenity=social_facility][social_facility=outreach] { icon-image: "presets/social_facility/outreach.svg"; set icon_z17; } node[amenity=social_facility][social_facility=shelter] { icon-image: "presets/social_facility/shelter.svg"; set icon_z17; } node[amenity=social_facility][social_facility=food_bank] { icon-image: "presets/social_facility/food_bank.svg"; set icon_z17; } node[amenity=baby_hatch] { icon-image: "presets/health/baby_hatch.svg"; set icon_z17; } node[amenity=doctors] { icon-image: "presets/health/doctors.svg"; set icon_z17; } node[amenity=dentist] { icon-image: "presets/health/dentist.svg"; set icon_z17; } node[amenity=veterinary] { icon-image: "presets/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], area[amenity=watering_place] { fill-color: amenity_light#f7efb7; } node[amenity=library] { icon-image: "presets/education/library.svg"; set icon_z17; } node[amenity=police] { icon-image: "presets/service/police.svg"; set icon_z17; } node[amenity=ranger_station] { icon-image: "presets/service/ranger_station.svg"; set icon_z17; } node[amenity=fire_station] { icon-image: "presets/service/firebrigade.svg"; set icon_z17; } node[amenity=bus_station] { icon-image: "presets/transport/bus_old.svg"; set icon_z17; } node[amenity=ferry_terminal] { icon-image: "presets/nautical/ferry.svg"; set icon_z17; } node[amenity=theatre] { icon-image: "presets/leisure/theater.svg"; set icon_z17; } node[amenity=cinema] { icon-image: "presets/leisure/cinema.svg"; set icon_z17; } node[amenity=arts_centre] { icon-image: "presets/sightseeing/arts_centre.svg"; set icon_z17; } node[amenity=courthouse] { icon-image: "presets/service/courthouse.svg"; set icon_z17; } node[amenity=prison] { icon-image: "presets/service/prison.svg"; set icon_z17; } node[amenity=bank] { icon-image: "presets/money/bank.svg"; set icon_z17; } node[amenity=bureau_de_change] { icon-image: "presets/money/exchange.svg"; set icon_z17; } node[amenity=atm] { icon-image: "presets/money/atm.svg"; set icon_z17; } way[amenity=bench] { width: 2; color: amenity_light#f7efb7; } node[amenity=bench] { icon-image: "presets/leisure/bench.svg"; set icon_z17; } node[amenity=bbq] { icon-image: "presets/leisure/bbq.svg"; set icon_z17; } node[amenity=compressed_air] { icon-image: "presets/vehicle/compressed_air.svg"; set icon_z17; } node[amenity=watering_place] { icon-image: "presets/misc/watering_place.svg"; set icon_z17; } area[amenity=shelter], area[amenity=marketplace], area[amenity=wlan] { fill-color: amenity_light#f7efb7; } node[amenity=shelter] { icon-image: "presets/accommodation/shelter.svg"; set icon_z17; } node[amenity=shelter][shelter_type=public_transport] { icon-image: "presets/accommodation/shelter_public_transport.svg"; set icon_z17; } node[amenity=shelter][shelter_type=picnic_shelter] { icon-image: "presets/accommodation/shelter_picnic.svg"; set icon_z17; } node[amenity=shelter][shelter_type=basic_hut] { icon-image: "presets/accommodation/basic_hut.svg"; set icon_z17; } node[amenity=shelter][shelter_type=lean_to] { icon-image: "presets/accommodation/shelter_lean_to.svg"; set icon_z17; } node[amenity=hunting_stand] { icon-image: "presets/landmark/hunting_stand.svg"; set icon_z17; } node[amenity=marketplace] { icon-image: "presets/shop/marketplace.svg"; set icon_z17; } node[amenity=vending_machine] { icon-image: "presets/transport/ticket-machine.svg"; set icon_z17; } node[vending=excrement_bags] { icon-image: "presets/service/excrement_bags.svg"; 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: "presets/misc/no_icon.svg"; set icon_z17; } node[craft=shoemaker][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; set icon_z17; } node[craft=photographer][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; set icon_z17; } node[craft=metal_construction][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; set icon_z17; }node[craft=electrician] { icon-image: "presets/craft/electrician.svg"; set icon_z17; } node[craft=brewery][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; set icon_z17; } node[craft=plumber] { icon-image: "presets/craft/plumber.svg"; set icon_z17; } node[craft=sawmill][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; set icon_z17; } node[craft=gardener][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; set icon_z17; } node[craft=winery][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; set icon_z17; } node[craft=hvac][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; set icon_z17; } node[craft=painter] { icon-image: "presets/craft/painter.svg"; set icon_z17; } node[craft=stonemason][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; set icon_z17; } node[craft=handicraft][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; set icon_z17; } node[craft=pottery] { icon-image: "presets/craft/pottery.svg"; set icon_z17; } node[craft=key_cutter] { icon-image: "presets/craft/key_cutter.svg"; set icon_z17; } node[craft=caterer][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; set icon_z17; } node[craft=roofer] { icon-image: "presets/craft/roofer.svg"; set icon_z17; } node[craft=beekeeper] { icon-image: "presets/craft/beekeeper.svg"; set icon_z17; } node[craft=blacksmith][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; set icon_z17; } node[craft=locksmith] { icon-image: "presets/craft/locksmith.svg"; set icon_z17; } node[craft=window_construction] { icon-image: "presets/craft/window_construction.svg"; set icon_z17; } node[craft=upholsterer][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; set icon_z17; } node[craft=tiler] { icon-image: "presets/craft/tiler.svg"; set icon_z17; } /****************/ /* tourism tags */ /****************/ area[tourism=hotel], area[tourism=motel], area[tourism=guest_house], area[tourism=apartment], 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: "presets/accommodation/hotel.svg"; set icon_z17; } node[tourism=motel] { icon-image: "presets/accommodation/motel.svg"; set icon_z17; } node[tourism=guest_house] { icon-image: "presets/accommodation/guest_house.svg"; set icon_z17; } node[tourism=apartment] { icon-image: "presets/accommodation/apartment.svg"; set icon_z17; } node[tourism=hostel] { icon-image: "presets/accommodation/hostel.svg"; set icon_z17; } node[tourism=chalet] { icon-image: "presets/accommodation/chalet.svg"; set icon_z17; } node[tourism=alpine_hut] { icon-image: "presets/accommodation/alpine_hut.svg"; set icon_z17; } node[tourism=wilderness_hut] { icon-image: "presets/accommodation/wilderness_hut.svg"; set icon_z17; } node[tourism=camp_site] { icon-image: "presets/accommodation/camping.svg"; set icon_z17; } node[tourism=caravan_site] { icon-image: "presets/accommodation/caravan.svg"; set icon_z17; } area[tourism=attraction]:closed { fill-color: tourism#e180a2; } way[tourism=attraction] { width: 2; color: tourism#e180a2; } node[tourism=attraction] { icon-image: "presets/sightseeing/attraction.svg"; set icon_z17; } area[tourism=picnic_site], area[tourism=viewpoint], area[tourism=theme_park], area[tourism=zoo], area[tourism=museum] { fill-color: tourism#e180a2; } node[tourism=picnic_site] { icon-image: "presets/leisure/picnic.svg"; set icon_z17; } node[tourism=viewpoint] { icon-image: "presets/sightseeing/viewpoint.svg"; set icon_z17; } node[tourism=theme_park] { icon-image: "presets/leisure/theme_park.svg"; set icon_z17; } node[tourism=zoo] { icon-image: "presets/leisure/zoo.svg"; set icon_z17; } area[tourism=artwork]:closed { fill-color: tourism#e180a2; } way[tourism=artwork][!highway] { width: 2; color: tourism#e180a2; } node[tourism=artwork] { icon-image: "presets/sightseeing/arts_centre.svg"; set icon_z17; } node[tourism=museum] { icon-image: "presets/sightseeing/museum.svg"; set icon_z17; } /********************/ /* attraction tags */ /********************/ area[attraction=animal] { fill-color: attraction#ffbfd3; color: attraction#ffbfd3; /* color explizitly needed here to overwrite the color already set by (a lot of wrongly tagged) tourism=attraction */ } node[attraction=animal] { icon-image: "presets/attraction/animal.svg"; set icon_z17; } /********************/ /* information tags */ /********************/ area[tourism=information] { fill-color: tourism#e180a2; } node[tourism=information] { icon-image: "presets/misc/information/information.svg"; set icon_z17; } node[tourism=information][information=guidepost] { icon-image: "presets/misc/information/guidepost.svg"; set icon_z17; } area[tourism=information][information=office] { fill-color: tourism#e180a2; } node[tourism=information][information=office] { icon-image: "presets/misc/information/informationoffice.svg"; set icon_z17; } node[tourism=information][information=map] { icon-image: "presets/misc/information/map.svg"; set icon_z17; } node[tourism=information][information=board] { icon-image: "presets/misc/information/board.svg"; set icon_z17; } /*****************/ /* historic tags */ /*****************/ area[historic=castle], area[historic=monument], area[historic=memorial], area[historic=tomb], 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: "presets/sightseeing/castle.svg"; set icon_z17; } node[historic=monument] { icon-image: "presets/sightseeing/monument.svg"; set icon_z17; } node[historic=memorial] { icon-image: "presets/sightseeing/memorial.svg"; set icon_z17; } node[historic=archaeological_site] { icon-image: "presets/sightseeing/archaeological.svg"; set icon_z17; } node[historic=ruins] { icon-image: "presets/sightseeing/ruins.svg"; set icon_z17; } node[historic=battlefield] { icon-image: "presets/sightseeing/battlefield.svg"; set icon_z17; } node[geological=palaeontological_site] { icon-image: "presets/sightseeing/palaeontological_site.svg"; set icon_z17; } node[historic=wayside_cross] { icon-image: "presets/religion/wayside_cross.svg"; set icon_z17; } node[historic=wayside_shrine] { icon-image: "presets/religion/wayside_shrine.svg"; set icon_z17; } node[historic=boundary_stone] { icon-image: "presets/landmark/boundary_stone.svg"; set icon_z17; } area[cemetery=grave] { fill-color: grave#663300; } node[cemetery=grave] { icon-image: "presets/misc/grave.svg"; set icon_z17; } node[historic=tomb] { icon-image: "presets/misc/tomb.svg"; 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; width: 1; } area[landuse=meadow] { fill-color: meadow#b1e0b6; width: 1; } area[landuse=vineyard], area[landuse=orchard] { fill-color: green#b1e0c2; width: 1; } area[landuse=quarry] { fill-color: quarry#888888; width: 1; } area[landuse=landfill] { fill-color: landfill#663300; width: 1; } area[landuse=basin], area[landuse=reservoir] { fill-color: basin#0000bf; } area[landuse=forest] { fill-color: forest#1c7a13; } area[landuse=allotments] { fill-color: allotments#5dbf80; width: 1; } area[landuse=greenhouse_horticulture], area[landuse=plant_nursery] { fill-color: green#b1e0c2; width: 1; } area[landuse=salt_pond] { fill-color: salt_pond#eeeeee; } area[landuse=aquaculture] { fill-color: aquaculture#189dff; width: 1; } area[landuse=grass]{ fill-color: grass#97ca96; } area[landuse=residential] { fill-color: residential#c4bd19; width: 1; } area[landuse=garages] { fill-color: garages#d6c8aa; width: 1; } area[landuse=farmyard] { fill-color: farmyard#f0f0f0; width: 1; } area[landuse=retail], area[landuse=commercial] { fill-color: retail#ffc4ee; width: 1; } area[landuse=industrial] { fill-color: industrial#ecd8ff; width: 1; } area[landuse=brownfield] { fill-color: brownfield#ecba32; width: 1; } area[landuse=greenfield] { fill-color: greenfield#b1ec5c; width: 1; } area[landuse=railway] { fill-color: railland#888888; width: 1; } area[landuse=construction] { fill-color: construction#ffff00; width: 1; } 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; width: 1; } area[landuse=cemetery] { fill-color: cemetery#b1efc8; width: 1; } area[landuse=village_green] { fill-color: green#b1e0c2; width: 1; } area[landuse=recreation_ground] { fill-color: green#b1e0c2; width: 1; } node[landuse] { icon-image: "presets/misc/deprecated.svg"; 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: "presets/transport/airport/airfield.svg"; set icon_z17; } node[military=bunker] { icon-image: "presets/landmark/bunker.svg"; set icon_z17; } node[military=barracks][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; set icon_z17; } node[military=danger_area] { icon-image: "presets/misc/danger.svg"; set icon_z17; } node[military=range] { icon-image: "presets/sport/range.svg"; set icon_z17; } /****************/ /* railway tags */ /****************/ area[railway=station] { fill-color: railwaypoint#f7efb7; } node[railway=station] { icon-image: "presets/transport/railway_station.svg"; set icon_z17; } node[railway=halt] { icon-image: "presets/transport/railway_halt.svg"; set icon_z17; } node[railway=tram_stop] { icon-image: "presets/transport/tram.svg"; set icon_z17; } node[railway=subway_entrance] { icon-image: "presets/transport/underground.svg"; set icon_z17; } node[railway=crossing] { icon-image: "presets/transport/railway/crossing.svg"; set icon_z17; } node[railway=level_crossing] { icon-image: "presets/transport/railway/level_crossing.svg"; set icon_z17; } way[railway=rail] { width: 2; color: rail#ffffff; dashes: 12,12; casing-color: raildashed#555555; casing-width: 2; } /* 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: 2; color: rail#ffffff; dashes: 12,12; casing-color: raildashed#555555; casing-width: 2; } way[railway=light_rail] { width: 2; color: rail#ffffff; dashes: 12,12; casing-color: raildashed#555555; casing-width: 2; } way[railway=subway] { width: 2; color: rail#ffffff; dashes: 12,12; casing-color: raildashed#000000; casing-width: 2; } 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: "presets/transport/railway/turntable.svg"; set icon_z17; } node[railway=buffer_stop] { icon-image: "presets/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: "presets/transport/railway/switch.svg"; set icon_z17; } node[railway=signal] { icon-image: "presets/transport/railway/signal.svg"; set icon_z17; } node[railway=milestone] { icon-image: "presets/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: "presets/misc/deprecated.svg"; 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: "presets/transport/airport.svg"; set icon_z17; } area[aeroway=terminal] { fill-color: terminal#bb0000; } node[aeroway=terminal] { icon-image: "presets/transport/airport/terminal.svg"; set icon_z17; } area[aeroway=helipad] { fill-color: aeroway_dark#330000; } node[aeroway=helipad] { icon-image: "presets/transport/airport/helipad.svg"; 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: "presets/transport/airport/parking_position.svg"; set icon_z17; } area[aeroway=apron], area[aeroway=hangar] { fill-color: aeroway_light#9900
Note:
See TracWiki
for help on using the wiki.


