meta { title: "Better JOSM"; description: "Improved and cleaner look for JOSM, similiar to iD. All in one. Made with reference to Better-iD by Maerek (spam46200)"; icon: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/logo_minimal.svg"; version: "1.2"; author: "Yukiro"; link: "https://github.com/Yukiroshi/Clean-JOSM"; } settings::display { label: General display; } setting::scaling { type: double; label: Scaling multiplier; default: 1; group: "display"; } setting::font { type: string; label: "Font"; default: Bahnschrift; group: "display"; } setting::high_contrast { type: boolean; label: Make everything a bit more prominent; default: false; group: "display"; } setting::round_symbols { type: boolean; label: Rounded nodes; default: true; group: "display"; } setting::clean_view { type: boolean; label: Cleaner map when zomed out; default: true; group: "display"; } setting::highway_labels { type: boolean; label: Display street labels (at high zoom); default: true; group: "display"; } setting::place_fill_colour { type: boolean; label: Display fill colour of areas with place=*; default: false; group: "display"; } setting::partial_fill { type: boolean; label: Areas are drawn with fill only around their inner edges; default: true; group: "display"; } setting::surface { type: boolean; label: Add surface indicator; default: true; group: "display"; } canvas { fill-color: canvas#5b5b5b; } /* Color properties */ *::* { /* Basic */ black: black#000; black1: black1#111; black2: black2#222; black3: black3#333; gray: gray#444; gray1: gray1#555; gray2: gray2#777; white: white#fff; white1: white1#eee; white2: white2#ddd; white3: white3#ccc; white4: white4#bbb; white5: white5#aaa; tan: tan#ddccaa; gray_tan: gray_tan#ddd9b3; gray_brown: gray_brown#998888; light_brown: light_brown#a47026; brown: brown#663300; pink_red: pink_red#cf2081; reddish: reddish#ff0055; red: red#dd2522; orange: orange#f99806; yellow: yellow#f4f458; green: green#81d25c; blue: blue#58a9ed; water_color: water_color#77d3ee; /* Specific */ motorway: prop(pink_red); trunk: prop(red); primary: prop(orange); secondary: prop(yellow); tertiary: prop(gray_tan); unclassified: prop(tan); residential: prop(white2); living_street: prop(white3); cycleway: prop(blue); } /* SVG properties */ *::* { svg: eval("data:image/svg+xml, "); } /**/ * { font-family: setting(font); font-size: 12; text: auto; text-anchor-horizontal: center; text-halo-radius: 1.5; text-color: prop(white2); text-halo-color: prop(black2); linecap: none; linejoin: none; } node { color: prop(black2); } relation > *::* { set member; } area[building]::*, area[landuse]::*, area[area?]::*, relation[type=multipolygon] > way::* { set area; } /* Pixel/metre */ *|z-15 { pixel_per_metre: 0.312; } *|z16 { pixel_per_metre: 0.625; } *|z17 { pixel_per_metre: 1.25; } *|z18 { pixel_per_metre: 2.5; } *|z19 { pixel_per_metre: 5; } *|z20 { pixel_per_metre: 10; } *|z21 { pixel_per_metre: 20; } *|z22 { pixel_per_metre: 40; } *|z23 { pixel_per_metre: 80; } *|z24 { pixel_per_metre: 160; } *|z25 { pixel_per_metre: 320; } *|z26- { pixel_per_metre: 640; } /* Zoom level scaling */ *|z-13::* { zoom: 0.75; } *|z14::* { zoom: 0.8; } *|z15::* { zoom: 0.85; } *|z16::* { zoom: 0.9; } *|z17::* { zoom: 1; } *|z18::* { zoom: 1.1; } *|z19::* { zoom: 1.2; } *|z20::* { zoom: 1.3; } *|z21::* { zoom: 1.4; } *|z22::* { zoom: 1.5; } *|z23::* { zoom: 1.6; } *|z24::* { zoom: 1.7; } *|z25-::* { zoom: 1.75; } *|z-15::* { zoom_font: 1.0; } *|z16::* { zoom_font: 1.05; } *|z17::* { zoom_font: 1.1; } *|z18::* { zoom_font: 1.15; } *|z19::* { zoom_font: 1.2; } *|z20::* { zoom_font: 1.25; } *|z21::* { zoom_font: 1.3; } *|z22::* { zoom_font: 1.35; } *|z23::* { zoom_font: 1.4; } *|z24::* { zoom_font: 1.45; } *|z25-::* { zoom_font: 1.5; } *::* { zoom: prop(zoom, default) * setting(scaling,default); zoom_font: prop(zoom_font, default) * setting(scaling,default); } *::* { icon-height: 17; } /* Improved Rotation / Direction originally by Tordanik*/ settings::cones_arrows { label: "Cones and arrows"; } setting::direction_cone_opacity { type: double; label: Cones and arrows opacity (0.0 - 1.0); default: 0.75; group: cones_arrows; } setting::direction_cone_size { type: double; label: Cones and arrows size; default: 25; group: cones_arrows; } *::* { small_cone: concat(prop(svg,default),""); small_arrow: concat("data:image/svg+xml,"); } /* Nodes on ways direction */ way > node[side=left]::small_cone, way >[index!=1] node[railway:signal:position=left]::small_cone { icon-rotation: parent_way_angle() - 90deg; } way > node[side=right]::small_cone, way >[index!=1] node[railway:signal:position=right]::small_cone { icon-rotation: parent_way_angle() + 90deg; } node[side]::small_cone, node[railway:signal:position]::small_cone { icon-image: prop(small_cone); icon-height: setting(direction_cone_size) / 1.25; icon-offset-y: -10; z-index: -1; icon-opacity: setting(direction_cone_opacity) ; } way[highway] >[index=-1] node[noexit], way[highway] > node[traffic_sign], way[highway] > node[highway], way[highway] > node[cycleway], way[oneway != -1] > node[stop_position:direction=forward], way[railway][oneway != -1] > node[railway:signal:direction=forward], way[highway][oneway != -1] > node[traffic_sign:direction=forward], way[highway][oneway != -1] > node[traffic_signals:direction=forward], way[oneway != -1] > node[direction=forward] { icon-rotation: parent_way_angle(); } way >[index=1] node[noexit], way[oneway != -1] > node[stop_position:direction=backward], way[railway][oneway != -1] > node[railway:signal:direction=backward], way[highway][oneway != -1] > node[traffic_sign:direction=backward], way[highway][oneway != -1] > node[traffic_signals:direction=backward], way[oneway != -1] > node[direction=backward] { icon-rotation: parent_way_angle() - 180deg; } way[highway][highway!~/footway|pedestrian|cycleway|path/] > node[highway=crossing] { icon-rotation: parent_way_angle() + 90deg; } way[highway][highway!~/footway|pedestrian|cycleway|path/] > node[crossing:island=yes]::traffic_island { icon-rotation: parent_way_angle() + 90deg; } way[highway][highway!~/footway|pedestrian|cycleway|path/] > node[crossing=traffic_signals]::traffic_signals, way[highway][highway!~/footway|pedestrian|cycleway|path/] > node[crossing:signals=yes]::traffic_signals { icon-rotation: parent_way_angle() + 90deg; } way[highway][highway=~/footway|pedestrian|cycleway|path/] > node[crossing:island=yes]::traffic_island { icon-rotation: parent_way_angle(); } way[highway][highway=~/footway|pedestrian|cycleway|path/] > node[crossing=traffic_signals]::traffic_signals, way[highway][highway=~/footway|pedestrian|cycleway|path/] > node[crossing:signals=yes]::traffic_signals { icon-rotation: parent_way_angle(); } way[highway][highway!~/footway|pedestrian|path/] > node[traffic_calming], way[highway][highway!=cycleway] > node[traffic_calming] { icon-rotation: parent_way_angle(); /* Apply rotation again to set correctly when crossing ways */ } node[direction]::direction_cone_1{ icon-opacity: setting(direction_cone_opacity); } /* Numeric and cardinal directions */ node[direction>=0][direction<360]::direction_cone_1 { set has_cone_1; icon-rotation: degree_to_radians(tag(direction)); } node[direction=~/^(north|east|south|west|N|E|S|W|NE|SE|SW|NW)$/]::direction_cone_1 { set has_cone_1; icon-rotation: cardinal_to_radians(tag(direction)); } /* Numeric and cardinal directions (copies for camera:direction */ node["camera:direction">=0]["camera:direction"<360]::direction_cone_1 { set has_cone_1; icon-rotation: degree_to_radians(tag("camera:direction")); } node["camera:direction"=~/^(north|east|south|west|N|E|S|W|NE|SE|SW|NW)$/]::direction_cone_1 { set has_cone_1; icon-rotation: cardinal_to_radians(tag("camera:direction")); } /* Secondary intercardinal direction (not supported by cardinal_to_radians) */ node[camera:direction=NNE]::direction_cone_1, node[direction=NNE]::direction_cone_1 { set has_cone_1; icon-rotation: 22.5deg; } node[camera:direction=ENE]::direction_cone_1, node[direction=ENE]::direction_cone_1 { set has_cone_1; icon-rotation: 67.5deg; } node[camera:direction=ESE]::direction_cone_1, node[direction=ESE]::direction_cone_1 { set has_cone_1; icon-rotation: 112.5deg; } node[camera:direction=SSE]::direction_cone_1, node[direction=SSE]::direction_cone_1 { set has_cone_1; icon-rotation: 157.5deg; } node[camera:direction=SSW]::direction_cone_1, node[direction=SSW]::direction_cone_1 { set has_cone_1; icon-rotation: 202.5deg; } node[camera:direction=WSW]::direction_cone_1, node[direction=WSW]::direction_cone_1 { set has_cone_1; icon-rotation: 247.5deg; } node[camera:direction=WNW]::direction_cone_1, node[direction=WNW]::direction_cone_1 { set has_cone_1; icon-rotation: 292.5deg; } node[camera:direction=NNW]::direction_cone_1, node[direction=NNW]::direction_cone_1 { set has_cone_1; icon-rotation: 337.5deg; } /* Up to eight numeric or cardinal directions in semicolon-separated values */ node[direction=~/;/]::*, node["camera:direction"=~/;/]::* { direction_list: split(";", cond(has_tag_key("direction"), tag("direction"), tag("camera:direction"))); direction_len: length(prop(direction_list)); } node[direction=~/^([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)(;([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)){1,7}$/]::direction_cone_1, node["camera:direction"=~/^([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)(;([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)){1,7}$/]::direction_cone_1 { set has_cone_1; direction_value: get(prop(direction_list), 0); icon-rotation: cond(regexp_test("^[0-9]{1,3}$", prop(direction_value)), degree_to_radians(prop(direction_value)), cond(prop(direction_value) = "NNE", 22.5deg, cond(prop(direction_value) = "ENE", 67.5deg, cond(prop(direction_value) = "ESE", 112.5deg, cond(prop(direction_value) = "SSE", 157.5deg, cond(prop(direction_value) = "SSW", 202.5deg, cond(prop(direction_value) = "WSW", 247.5deg, cond(prop(direction_value) = "WNW", 292.5deg, cond(prop(direction_value) = "NNW", 337.5deg, cardinal_to_radians(prop(direction_value))))))))))); icon-opacity: cond(prop(direction_len) > 0, setting(direction_cone_opacity), 0); } node[direction=~/^([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)(;([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)){1,7}$/]::direction_cone_2, node["camera:direction"=~/^([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)(;([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)){1,7}$/]::direction_cone_2 { set has_cone_2; direction_value: get(prop(direction_list), 1); icon-rotation: cond(regexp_test("^[0-9]{1,3}$", prop(direction_value)), degree_to_radians(prop(direction_value)), cond(prop(direction_value) = "NNE", 22.5deg, cond(prop(direction_value) = "ENE", 67.5deg, cond(prop(direction_value) = "ESE", 112.5deg, cond(prop(direction_value) = "SSE", 157.5deg, cond(prop(direction_value) = "SSW", 202.5deg, cond(prop(direction_value) = "WSW", 247.5deg, cond(prop(direction_value) = "WNW", 292.5deg, cond(prop(direction_value) = "NNW", 337.5deg, cardinal_to_radians(prop(direction_value))))))))))); icon-opacity: cond(prop(direction_len) > 1, setting(direction_cone_opacity), 0); } node[direction=~/^([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)(;([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)){1,7}$/]::direction_cone_3, node["camera:direction"=~/^([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)(;([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)){1,7}$/]::direction_cone_3 { set has_cone_3; direction_value: get(prop(direction_list), 2); icon-rotation: cond(regexp_test("^[0-9]{1,3}$", prop(direction_value)), degree_to_radians(prop(direction_value)), cond(prop(direction_value) = "NNE", 22.5deg, cond(prop(direction_value) = "ENE", 67.5deg, cond(prop(direction_value) = "ESE", 112.5deg, cond(prop(direction_value) = "SSE", 157.5deg, cond(prop(direction_value) = "SSW", 202.5deg, cond(prop(direction_value) = "WSW", 247.5deg, cond(prop(direction_value) = "WNW", 292.5deg, cond(prop(direction_value) = "NNW", 337.5deg, cardinal_to_radians(prop(direction_value))))))))))); icon-opacity: cond(prop(direction_len) > 2, setting(direction_cone_opacity), 0); } node[direction=~/^([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)(;([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)){1,7}$/]::direction_cone_4, node["camera:direction"=~/^([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)(;([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)){1,7}$/]::direction_cone_4 { set has_cone_4; direction_value: get(prop(direction_list), 3); icon-rotation: cond(regexp_test("^[0-9]{1,3}$", prop(direction_value)), degree_to_radians(prop(direction_value)), cond(prop(direction_value) = "NNE", 22.5deg, cond(prop(direction_value) = "ENE", 67.5deg, cond(prop(direction_value) = "ESE", 112.5deg, cond(prop(direction_value) = "SSE", 157.5deg, cond(prop(direction_value) = "SSW", 202.5deg, cond(prop(direction_value) = "WSW", 247.5deg, cond(prop(direction_value) = "WNW", 292.5deg, cond(prop(direction_value) = "NNW", 337.5deg, cardinal_to_radians(prop(direction_value))))))))))); icon-opacity: cond(prop(direction_len) > 3, setting(direction_cone_opacity), 0); } node[direction=~/^([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)(;([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)){1,7}$/]::direction_cone_5, node["camera:direction"=~/^([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)(;([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)){1,7}$/]::direction_cone_5 { set has_cone_5; direction_value: get(prop(direction_list), 4); icon-rotation: cond(regexp_test("^[0-9]{1,3}$", prop(direction_value)), degree_to_radians(prop(direction_value)), cond(prop(direction_value) = "NNE", 22.5deg, cond(prop(direction_value) = "ENE", 67.5deg, cond(prop(direction_value) = "ESE", 112.5deg, cond(prop(direction_value) = "SSE", 157.5deg, cond(prop(direction_value) = "SSW", 202.5deg, cond(prop(direction_value) = "WSW", 247.5deg, cond(prop(direction_value) = "WNW", 292.5deg, cond(prop(direction_value) = "NNW", 337.5deg, cardinal_to_radians(prop(direction_value))))))))))); icon-opacity: cond(prop(direction_len) > 4, setting(direction_cone_opacity), 0); } node[direction=~/^([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)(;([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)){1,7}$/]::direction_cone_6, node["camera:direction"=~/^([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)(;([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)){1,7}$/]::direction_cone_6 { set has_cone_6; direction_value: get(prop(direction_list), 5); icon-rotation: cond(regexp_test("^[0-9]{1,3}$", prop(direction_value)), degree_to_radians(prop(direction_value)), cond(prop(direction_value) = "NNE", 22.5deg, cond(prop(direction_value) = "ENE", 67.5deg, cond(prop(direction_value) = "ESE", 112.5deg, cond(prop(direction_value) = "SSE", 157.5deg, cond(prop(direction_value) = "SSW", 202.5deg, cond(prop(direction_value) = "WSW", 247.5deg, cond(prop(direction_value) = "WNW", 292.5deg, cond(prop(direction_value) = "NNW", 337.5deg, cardinal_to_radians(prop(direction_value))))))))))); icon-opacity: cond(prop(direction_len) > 5, setting(direction_cone_opacity), 0); } node[direction=~/^([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)(;([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)){1,7}$/]::direction_cone_7, node["camera:direction"=~/^([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)(;([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)){1,7}$/]::direction_cone_7 { set has_cone_7; direction_value: get(prop(direction_list), 6); icon-rotation: cond(regexp_test("^[0-9]{1,3}$", prop(direction_value)), degree_to_radians(prop(direction_value)), cond(prop(direction_value) = "NNE", 22.5deg, cond(prop(direction_value) = "ENE", 67.5deg, cond(prop(direction_value) = "ESE", 112.5deg, cond(prop(direction_value) = "SSE", 157.5deg, cond(prop(direction_value) = "SSW", 202.5deg, cond(prop(direction_value) = "WSW", 247.5deg, cond(prop(direction_value) = "WNW", 292.5deg, cond(prop(direction_value) = "NNW", 337.5deg, cardinal_to_radians(prop(direction_value))))))))))); icon-opacity: cond(prop(direction_len) > 6, setting(direction_cone_opacity), 0); } node[direction=~/^([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)(;([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)){1,7}$/]::direction_cone_8, node["camera:direction"=~/^([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)(;([0-9]{1,3}|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW)){1,7}$/]::direction_cone_8 { set has_cone_8; direction_value: get(prop(direction_list), 7); icon-rotation: cond(regexp_test("^[0-9]{1,3}$", prop(direction_value)), degree_to_radians(prop(direction_value)), cond(prop(direction_value) = "NNE", 22.5deg, cond(prop(direction_value) = "ENE", 67.5deg, cond(prop(direction_value) = "ESE", 112.5deg, cond(prop(direction_value) = "SSE", 157.5deg, cond(prop(direction_value) = "SSW", 202.5deg, cond(prop(direction_value) = "WSW", 247.5deg, cond(prop(direction_value) = "WNW", 292.5deg, cond(prop(direction_value) = "NNW", 337.5deg, cardinal_to_radians(prop(direction_value))))))))))); icon-opacity: cond(prop(direction_len) > 7, setting(direction_cone_opacity), 0); } /* Forward/backward direction */ way > node[stop_position:direction=forward]::direction_cone_1, way[railway] > node[railway:signal:direction=forward]::direction_cone_1, way[highway] > node[traffic_sign:direction=forward]::direction_cone_1, way[highway][highway!~/footway|pedestrian|path/] > node[traffic_signals:direction=forward]::direction_cone_1, way > node[direction=forward]::direction_cone_1 { set has_cone_1; icon-rotation: parent_way_angle() - 180deg; icon-opacity: setting(direction_cone_opacity); } way > node[stop_position:direction=backward]::direction_cone_1, way[railway] > node[railway:signal:direction=backward]::direction_cone_1, way[highway] > node[traffic_sign:direction=backward]::direction_cone_1, way[highway][highway!~/footway|pedestrian|path/] > node[traffic_signals:direction=backward]::direction_cone_1, way > node[direction=backward]::direction_cone_1 { set has_cone_1; icon-rotation: parent_way_angle(); icon-opacity: setting(direction_cone_opacity); } way > node[stop_position:direction=both]::direction_cone_1, way[railway] > node[railway:signal:direction=both]::direction_cone_1, way[highway] > node[traffic_sign:direction=both]::direction_cone_1, way[highway][highway!~/footway|pedestrian|path/] > node[traffic_signals:direction=both]::direction_cone_1, way > node[direction=both]::direction_cone_1 { set has_cone_1; icon-rotation: parent_way_angle(); icon-opacity: setting(direction_cone_opacity); } way > node[stop_position:direction=both]::direction_cone_2, way[railway] > node[railway:signal:direction=both]::direction_cone_2, way[highway] > node[traffic_sign:direction=both]::direction_cone_2, way[highway][highway!~/footway|pedestrian|path/] > node[traffic_signals:direction=both]::direction_cone_2, way > node[direction=both]::direction_cone_2 { set has_cone_2; icon-rotation: parent_way_angle() + 180deg; icon-opacity: setting(direction_cone_opacity); } node|z16-.has_cone_1::direction_cone_1 { icon-image: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/cone.svg"; icon-height: setting(direction_cone_size); icon-offset-y: -15; z-index: -1;} node|z16-.has_cone_2::direction_cone_2 { icon-image: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/cone.svg"; icon-height: setting(direction_cone_size); icon-offset-y: -15; z-index: -1;} node|z16-.has_cone_3::direction_cone_3 { icon-image: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/cone.svg"; icon-height: setting(direction_cone_size); icon-offset-y: -15; z-index: -1;} node|z16-.has_cone_4::direction_cone_4 { icon-image: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/cone.svg"; icon-height: setting(direction_cone_size); icon-offset-y: -15; z-index: -1;} node|z16-.has_cone_5::direction_cone_5 { icon-image: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/cone.svg"; icon-height: setting(direction_cone_size); icon-offset-y: -15; z-index: -1;} node|z16-.has_cone_6::direction_cone_6 { icon-image: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/cone.svg"; icon-height: setting(direction_cone_size); icon-offset-y: -15; z-index: -1;} node|z16-.has_cone_7::direction_cone_7 { icon-image: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/cone.svg"; icon-height: setting(direction_cone_size); icon-offset-y: -15; z-index: -1;} node|z16-.has_cone_8::direction_cone_8 { icon-image: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/cone.svg"; icon-height: setting(direction_cone_size); icon-offset-y: -15; z-index: -1;} /* Improved lights originally by NieWnen */ settings::lights { label: "Lights"; } setting::light_glow_size { type: double; label: Light glow size; default: 50; group: lights; } setting::light_glow_opacity { type: double; label: Light glow opacity (0.0-1.0); default: 0.75; group: lights; } setting::light_point_size { type: double; label: Light point size; default: 40; group: lights; } setting::light_point_opacity { type: double; label: Light point opacity (0.0-1.0); default: 0.75; group: lights; } node[highway=street_lamp]::*, node[light_source]::* { set light; light_color: "#ff4"; light_color2: "#ffd344"; light_glow_size: setting(light_glow_size); light_point_size: setting(light_point_size) * prop(zoom,default); light_error: cond(tag(lamp_type) != tag("light:method"), true, false); } node[lamp_type]::*, node[light:method]::* { light_color: cond(tag(lamp_type) = electric || tag("light:method") = electric, "#dff", cond(tag(lamp_type) = led || tag("light:method") = led,"#eff", cond(tag(lamp_type) = fluorescent || tag("light:method") = fluorescent,"#fff", cond(tag(lamp_type) = mercury || tag("light:method") = mercury,"#a3fdff", cond(tag(lamp_type) = gaslight || tag("light:method") = gaslight,"#ffd773", cond(tag(lamp_type) = incandescent || tag("light:method") = incandescent,"#ffd", cond(tag(lamp_type) = halogen || tag("light:method") = halogen,"#eff", cond(tag(lamp_type) = sodium || tag("light:method") = sodium,"#ffc19b", cond( tag("light:method") = arc,"#fff", "#ff4"))))))))); light_color2: cond(tag(lamp_type) = electric || tag("light:method") = electric, "#cef", cond(tag(lamp_type) = led || tag("light:method") = led,"#dff", cond(tag(lamp_type) = fluorescent || tag("light:method") = fluorescent,"#eef4da", cond(tag(lamp_type) = mercury || tag("light:method") = mercury,"#60ffc4", cond(tag(lamp_type) = gaslight || tag("light:method") = gaslight,"#ffb700", cond(tag(lamp_type) = incandescent || tag("light:method") = incandescent,"#ecba3c", cond(tag(lamp_type) = halogen || tag("light:method") = halogen,"#b2f0ff", cond(tag(lamp_type) = sodium || tag("light:method") = sodium,"#ff9429", cond( tag("light:method") = arc,"#96cfe9", "#ffd344"))))))))); } node[light_source=warning]::* { light_color: "#fcc"; light_color2: "#f00"; } node["light:colour"=~/#|white|silver|gray|black|brown|red|orange|yellow|green|blue|purple/]::* { light_color: tag("light:colour"); light_color2: tag("light:colour"); } node[light_source=floodlight]::* { light_glow_size: setting(light_glow_size) * 1.5; light_point_size: setting(light_point_size) * 1.5; } node[light_source=signal_lamp]::* { light_glow_size: setting(light_glow_size) * 0.75; light_point_size: setting(light_point_size) * 0.75; } node|z14-[highway=street_lamp]::light_glow, node|z14-[light_source]::light_glow { object-z-index: -1.0; icon-image: concat(prop(svg,default),""); icon-height: prop(light_glow_size); icon-opacity: setting(light_glow_opacity); } node[light_source] { icon-image: concat(prop(svg,default),""); icon-opacity: setting(light_glow_opacity); } node[highway=street_lamp]::*, node[light_source]::* { light_direction_list: split(";", tag("light:direction")); light_direction_len: length(prop(light_direction_list)); } node[highway=street_lamp]::light_1, node[light_source]::light_1 { default_degree: 0; degree: cond(prop(light_direction_len) > 0, get(prop(light_direction_list), 0), prop(default_degree)); icon-rotation: degree_to_radians(prop(degree)); icon-opacity: cond(prop(light_direction_len) > 0 || tag("light:count") > 0, setting(light_point_opacity), 0); } node[highway=street_lamp]::light_2, node[light_source]::light_2 { default_degree: 360/tag("light:count"); degree: cond(prop(light_direction_len) > 1, get(prop(light_direction_list), 1), prop(default_degree)); icon-rotation: degree_to_radians(prop(degree)); icon-opacity: cond(prop(light_direction_len) > 1 || tag("light:count") > 1, setting(light_point_opacity), 0); } node[highway=street_lamp]::light_3, node[light_source]::light_3 { default_degree: 2*360/tag("light:count"); degree: cond(prop(light_direction_len) > 2, get(prop(light_direction_list), 2), prop(default_degree)); icon-rotation: degree_to_radians(prop(degree)); icon-opacity: cond(prop(light_direction_len) > 2 || tag("light:count") > 2, setting(light_point_opacity), 0); } node[highway=street_lamp]::light_4, node[light_source]::light_4 { default_degree: 3*360/tag("light:count"); degree: cond(prop(light_direction_len) > 3, get(prop(light_direction_list), 3), prop(default_degree)); icon-rotation: degree_to_radians(prop(degree)); icon-opacity: cond(prop(light_direction_len) > 3 || tag("light:count") > 3, setting(light_point_opacity), 0); } node[highway=street_lamp]::light_5, node[light_source]::light_5 { default_degree: 4*360/tag("light:count"); degree: cond(prop(light_direction_len) > 4, get(prop(light_direction_list), 4), prop(default_degree)); icon-rotation: degree_to_radians(prop(degree)); icon-opacity: cond(prop(light_direction_len) > 4 || tag("light:count") > 4, setting(light_point_opacity), 0); } node[highway=street_lamp]::light_6, node[light_source]::light_6 { default_degree: 5*360/tag("light:count"); degree: cond(prop(light_direction_len) > 5, get(prop(light_direction_list), 5), prop(default_degree)); icon-rotation: degree_to_radians(prop(degree)); icon-opacity: cond(prop(light_direction_len) > 5 || tag("light:count") > 5, setting(light_point_opacity), 0); } node[highway=street_lamp]::light_7, node[light_source]::light_7 { default_degree: 6*360/tag("light:count"); degree: cond(prop(light_direction_len) > 6, get(prop(light_direction_list), 6), prop(default_degree)); icon-rotation: degree_to_radians(prop(degree)); icon-opacity: cond(prop(light_direction_len) > 6 || tag("light:count") > 6, setting(light_point_opacity), 0); } node[highway=street_lamp]::light_8, node[light_source]::light_8 { default_degree: 7*360/tag("light:count"); degree: cond(prop(light_direction_len) > 7, get(prop(light_direction_list), 7), prop(default_degree)); icon-rotation: degree_to_radians(prop(degree)); icon-opacity: cond(prop(light_direction_len) > 7 || tag("light:count") > 7, setting(light_point_opacity), 0); } /* Embedded lights to support dynamic color changes */ node.light::* { light_point_svg: concat(prop(svg,default),""); } node|z15-.light::light_1 { icon-image: prop(light_point_svg); icon-height: prop(light_point_size); icon-offset-y: -7;} node|z15-.light::light_2 { icon-image: prop(light_point_svg); icon-height: prop(light_point_size); icon-offset-y: -7;} node|z15-.light::light_3 { icon-image: prop(light_point_svg); icon-height: prop(light_point_size); icon-offset-y: -7;} node|z15-.light::light_4 { icon-image: prop(light_point_svg); icon-height: prop(light_point_size); icon-offset-y: -7;} node|z15-.light::light_5 { icon-image: prop(light_point_svg); icon-height: prop(light_point_size); icon-offset-y: -7;} node|z15-.light::light_6 { icon-image: prop(light_point_svg); icon-height: prop(light_point_size); icon-offset-y: -7;} node|z15-.light::light_7 { icon-image: prop(light_point_svg); icon-height: prop(light_point_size); icon-offset-y: -7;} node|z15-.light::light_8 { icon-image: prop(light_point_svg); icon-height: prop(light_point_size); icon-offset-y: -7;} /* End of lights */ /* Improved Incline by Klumbumbus */ way[highway][incline][incline =~ /^(up|([0-9]+(\.?[0-9]+)?)[%°])$/][incline !~ /^((0(\.0+)?)[%°])$/] >[index=-1] node::incline_down, way[highway][incline][incline =~ /^(down|-([0-9]+(\.?[0-9]+)?)[%°])$/][incline !~ /^((0(\.0+)?)[%°])$/] >[index=1] node::incline_down { set incline_down; } way[highway][incline][incline =~ /^(up|([0-9]+(\.?[0-9]+)?)[%°])$/][incline !~ /^((0(\.0+)?)[%°])$/] >[index=1] node::incline_up, way[highway][incline][incline =~ /^(down|-([0-9]+(\.?[0-9]+)?)[%°])$/][incline !~ /^((0(\.0+)?)[%°])$/] >[index=-1] node::incline_up { set incline_up; } way[highway][incline][incline =~ /^((0(\.0+)?)[%°])$/] >[index=-1] node::incline_zero, way[highway][incline][incline =~ /^((0(\.0+)?)[%°])$/] >[index=1] node::incline_zero { set incline_zero; } /* Render arrows */ way[highway][incline] > node|z19-.incline_down::incline_down { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/arrow-up.svg"; icon-height: 20; icon-anchor-horizontal: center; icon-anchor-vertical: center; } way[highway][incline] >[index=1] node|z19-.incline_down::incline_down { icon-rotation: parent_way_angle(); } way[highway][incline] >[index=-1] node|z19-.incline_down::incline_down { icon-rotation: parent_way_angle() + 180deg; } way[highway][incline] > node|z19-.incline_up::incline_up { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/arrow-down.svg"; icon-height: 20; icon-anchor-horizontal: center; icon-anchor-vertical: center; } way[highway][incline] >[index=1] node|z19-.incline_up::incline_up { icon-rotation: parent_way_angle() + 180deg; } way[highway][incline] >[index=-1] node|z19-.incline_up::incline_up { icon-rotation: parent_way_angle(); } /**************/ /* Addresses */ /**************/ *["addr:housenumber"] { text-halo-color: #00329b; } node["addr:housenumber"] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/address.svg"; } 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; } /*********************/ /* turn restrictions */ /*********************/ relation[restriction=no_left_turn] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/sign-no-left-turn.svg"; text: auto; } relation[restriction=no_right_turn] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/sign-no-right-turn.svg"; text: auto; } relation[restriction=no_straight_on] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/sign-no-straight-on.svg"; text: auto; } relation[restriction=no_u_turn] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/sign-no-u-turn.svg"; text: auto; } relation[restriction=only_left_turn] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/sign-only-left-turn.svg"; text: auto; } relation[restriction=only_right_turn] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/sign-only-right-turn.svg"; text: auto; } relation[restriction=only_straight_on] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/sign-only-straight-on.svg"; text: auto; } /*****************/ /* Traffic signs */ /*****************/ node[traffic_sign] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/sign-only-right-turn.svg"; } 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"; } node[traffic_sign][bicycle?!] { icon-image: "presets/vehicle/restriction/bicycle.svg"; } node[traffic_sign][bicycle=designated] { icon-image: "presets/vehicle/restriction/bicycle-designated.svg"; } node[traffic_sign][foot?!] { icon-image: "presets/vehicle/restriction/foot.svg"; } node[traffic_sign][foot=designated] { icon-image: "presets/vehicle/restriction/foot-designated.svg"; } node[traffic_sign][goods?!], node[traffic_sign][hgv?!] { icon-image: "presets/vehicle/restriction/goods.svg"; } node[traffic_sign][horse?!] { icon-image: "presets/vehicle/restriction/horse.svg"; } node[traffic_sign][horse=designated] { icon-image: "presets/vehicle/restriction/horse-designated.svg"; } node[traffic_sign][motorcycle?!] { icon-image: "presets/vehicle/restriction/motorbike.svg"; } node[traffic_sign][motorcar?!] { icon-image: "presets/vehicle/restriction/motorcar.svg"; } node[traffic_sign][psv?!] { icon-image: "presets/vehicle/restriction/psv.svg"; } 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"; } node[noexit=yes] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/noexit.svg"; } node[traffic_sign][maxweight] { icon-image: "presets/vehicle/restriction/maxweight.svg"; } node[traffic_sign][maxheight] { icon-image: "presets/vehicle/restriction/maxheight.svg"; } node[traffic_sign][maxwidth] { icon-image: "presets/vehicle/restriction/maxwidth.svg"; } node[traffic_sign][maxlength] { icon-image: "presets/vehicle/restriction/maxlength.svg"; } node[traffic_sign][minspeed] { icon-image: "presets/vehicle/restriction/minspeed.svg"; } 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"; } /****************/ /* Highway tags */ /****************/ way[highway=~/^(motorway|motorway_link)$/], area["area:highway"=~/^(motorway|motorway_link)$/] { color: prop(motorway); } way[highway=~/^(trunk|trunk_link)$/], area["area:highway"=~/^(trunk|trunk_link)$/] { color: prop(trunk); } way[highway=~/^(primary|primary_link)$/], area["area:highway"=~/^(primary|primary_link)$/] { color: prop(primary); } way[highway=~/^(secondary|secondary_link)$/], area["area:highway"=~/^(secondary|secondary_link)$/] { color: prop(secondary); } way[highway=~/^(tertiary|tertiary_link)$/], area["area:highway"=~/^(tertiary|tertiary_link)$/] { color: prop(tertiary); } way[highway=unclassified] { color: prop(unclassified); } way[highway=~/^(motorway|trunk|primary|secondary|tertiary|unclassified)$/] { width: 5.5; casing-color: #70372f; } way[highway=~/^(motorway_link|trunk_link|primary_link|secondary_link|tertiary_link)$/] { width: 4; casing-color: #70372f; } way[highway=escape] { width: 3; color: street#c0c0c0; dashes: list(3 * prop(zoom,default),3 * prop(zoom,default)); } way[highway=road] { width: 3; color: highway_road#9E9E9E; casing-color: prop(gray1); } way[highway=track][area?], relation[type=multipolygon][highway=track] { fill-color: track#6e541c; } way[highway=track] { width: 4; track: #c5b59f; color: prop(track); casing-dashes: list(12 * prop(zoom,default),5 * prop(zoom,default),5 * prop(zoom,default),5 * prop(zoom,default),5 * prop(zoom,default),5 * prop(zoom,default)); casing-color: prop(white2); } way[highway=track][tracktype=grade1] { casing-dashes: 0; } way[highway=track][tracktype=grade2] { casing-dashes: list(20 * prop(zoom,default),5 * prop(zoom,default)); } way[highway=track][tracktype=grade3] { casing-dashes: list(15 * prop(zoom,default),10 * prop(zoom,default)); } way[highway=track][tracktype=grade4] { casing-dashes: list(7 * prop(zoom,default),12 * prop(zoom,default)); } way[highway=track][tracktype=grade5] { casing-dashes: list(5 * prop(zoom,default),15 * prop(zoom,default)); } way[highway=residential] { width: 4; color: prop(residential); casing-color: prop(gray); } way[highway=living_street] { width: 5; color: prop(living_street); casing-color: prop(white2); } way[highway=service][area?], relation[type=multipolygon][highway=service] { fill-color: service#809bc0; } way[highway=service][!area?] { width: 4; color: prop(white1); casing-color: prop(gray); } way[highway=service][service=~/driveway|parking_aisle|drive-through/][!area?] { width: 3; } way[highway=service][service=parking_aisle] { color: parking_aisle#CCCAC7; casing-color: prop(gray1); } way[highway=service][service=emergency_access] { color: emergency_access#DDB2AA; casing-color: prop(gray); } way[highway=bridleway]{ width: 2; color: horse#e06d5f; dashes: list(6 * prop(zoom,default), 6 * prop(zoom,default)); outer-width: 2; outer-color: prop(white1); z-index: 0.009; } way[highway=cycleway] { width: 2; color: prop(cycleway); dashes: list(6 * prop(zoom,default), 6 * prop(zoom,default)); outer-width: 2; outer-color: prop(white1); } way[highway=cycleway][cycleway=crossing] { outer-color: prop(tan); } area[highway=footway][area?], relation[type=multipolygon][highway=footway] { fill-color: foot#adadad; } way[highway=footway][!area?] { width: 2; color: prop(footway); dashes: list(6 * prop(zoom,default), 6 * prop(zoom,default)); outer-width: 2; outer-color: prop(white1); } way[highway=footway][!area?][footway=crossing], way[highway=footway][!area?][footway=parking_aisle] { color: prop(footway); outer-color: prop(tan); } way[highway=footway][!area?][footway=sidewalk] { color: sidewalk#d9a1a1; } way[highway=path] { width: 2; color: path#998888; dashes: list(6 * prop(zoom,default), 6 * prop(zoom,default)); outer-width: 2; outer-color: prop(tan); } way[highway=path][foot=designated][bicycle=designated], way[highway=cycleway][foot=designated] { width: 2.5; color: path#b458ed; outer-color: cond(tag(path) = crossing || tag(cycleway) = crossing, prop(tan),prop(white1)); } way[highway=pedestrian][area?], relation[type=multipolygon][highway=pedestrian] { fill-color: prop(gray_brown); } way[highway=pedestrian][!area?] { width: 2.5; color: prop(white1); dashes: list(5 * prop(zoom,default), 5 * prop(zoom,default)); outer-width: 4; outer-color: prop(gray_brown); casing-color: prop(gray1); } way[highway=steps] { width: 2; dashes: list(3 * prop(zoom,default), 3 * prop(zoom,default)); color: prop(green); outer-width: 2; outer-color: prop(white1); } 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; } way[highway=construction] { width: 6; color: construction#FC6C14; dashes: list(9 * prop(zoom,default), 9 * prop(zoom,default)); dashes-background-color: prop(white2); } way[highway=proposed] { width: 6; color: prop(white3); casing-color: #888888; dashes: list(15 * prop(zoom,default), 3 * prop(zoom,default)); casing-dashes: prop(dashes); } area[junction=yes] { fill-color: junction#c0c0c0; } node[junction=yes] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/junction.svg"; } node[highway] { icon-height: 20; } node[highway=traffic_mirror] { icon-image: "presets/vehicle/traffic_mirror.svg"; } node[highway=milestone] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/milestone.svg"; } node[direction=clockwise] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/roundabout-left.svg"; } node[highway=mini_roundabout] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/mini-roundabout-left.svg"; } node:righthandtraffic[highway=mini_roundabout] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/mini-roundabout-right.svg"; } node[highway=stop] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/sign-stop.svg"; } node[highway=give_way] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/sign-yield.svg"; } node[cycleway=asl] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/cycleway-asl.svg"; } node[highway=traffic_signals] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/traffic-signals.svg"; } node[highway=crossing][crossing!=no] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/crossing.svg"; } node[highway=crossing][crossing=unmarked], node[highway=crossing][crossing=informal] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/crossing-unmarked.svg"; } node[highway=crossing]["crossing:markings"=surface] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/crossing-markings-surface.svg"; } node[highway=crossing]["crossing:markings"=lines] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/crossing-markings-lines.svg"; } node[highway=crossing]["crossing:markings"="lines:paired"] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/crossing-markings-lines-paired.svg"; } node[highway=crossing]["crossing:markings"=dashes] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/crossing-markings-dashes.svg"; } node[highway=crossing]["crossing:markings"=dots] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/crossing-markings-dots.svg"; } node[highway=crossing]["crossing:markings"=zebra] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/crossing-markings-zebra.svg"; } node[inside("UK")][highway=crossing][crossing_ref=zebra] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/crossing-markings-zebra.svg"; } node[highway=crossing]["crossing:markings"="zebra:double"] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/crossing-markings-zebra-double.svg"; } node[highway=crossing]["crossing:markings"="zebra:paired"] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/crossing-markings-zebra-paired.svg"; } node[highway=crossing]["crossing:markings"="zebra:bicolour"] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/crossing-markings-zebra-bicolour.svg"; } node[highway=crossing]["crossing:markings"=ladder] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/crossing-markings-ladder.svg"; } node[highway=crossing]["crossing:markings"="ladder:skewed"] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/crossing-markings-ladder-skewed.svg"; } node[highway=crossing]["crossing:markings"="ladder:paired"] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/crossing-markings-ladder-paired.svg"; } node[highway=crossing]["crossing:markings"=pictograms] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/crossing-pictogram.svg"; } node|z18-[highway=crossing][crossing:island=yes]::traffic_island, node|z18-[highway=crossing][crossing=island]::traffic_island { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/crossing-island.svg"; icon-height: 25; } node|z18-[highway=crossing][crossing=traffic_signals]::traffic_signals, node|z18-[highway=crossing][crossing:signals=yes]::traffic_signals { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/crossing-traffic-lights.svg"; icon-height: 25; } node[highway=street_lamp] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/street-lamp.svg"; icon-height: 15; } node[highway=speed_camera] { icon-image: "presets/vehicle/restriction/speed_camera.svg"; } relation[type=enforcement] > node[role="device"] { icon-image: "presets/vehicle/restriction/speed_camera.svg"; } node[highway=toll_gantry] { icon-image: "presets/vehicle/restriction/toll_gantry.svg"; } node[traffic_sign=city_limit] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/sign-city.svg"; } node[traffic_sign=city_limit][city_limit=end] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/sign-city-end.svg"; } node[highway=motorway_junction] { icon-image: "presets/vehicle/motorway_junction.svg"; } area[highway=services]:closed, node[highway=services] { fill-color: services#ed6464; icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/services.svg"; } area[highway=rest_area]:closed, node[highway=rest_area] { fill-color: services#c0c0c0; icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/rest-area.svg"; } node[highway=trailhead] { icon-image: "presets/landmark/trailhead.svg"; } node[ford] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/ford.svg"; } way[ford]::core_ford { z-index: 1; width: 2; color: water#5070ff; dashes: 9,9; } node[hazard] { icon-image: "presets/transport/hazard.svg"; } area[highway=platform]:closed { fill-color: prop(tan); } node[highway=turning_circle] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/turning-circle.svg"; } node[highway=turning_loop] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/turning-loop.svg"; } node[highway=passing_place] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/passing-place.svg"; } node[highway=passing_place][direction=both] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/passing-place-double.svg"; } node[highway=emergency_bay] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/emergency-bay.svg"; } node[highway=emergency_bay][direction=both] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/emergency-bay-double.svg"; } area[highway=elevator] { fill-color: elevator#a6bace; } node[highway=elevator] { icon-image: "presets/service/elevator.svg"; } node[highway=construction] { icon-image: "presets/misc/construction.svg"; } area[highway=emergency_access_point] { fill-color: emergency_access_point#c0c0c0; } node[highway=emergency_access_point] { icon-image: "presets/service/emergency_access_point.svg"; } area["area:highway"] { fill-color: #888; } area["area:highway"=~/emergency|prohibited/]::fill { fill-image: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/patterns/pattern-stripe.svg"; } area["area:highway"=traffic_island] { fill-color: prop(white3); } area["area:highway"=~/emergency|prohibited/] { fill-color: prop(white); } area["area:highway"=~/motorway|motorway_link/] { fill-color: prop(motorway); } area["area:highway"=~/trunk|trunk_link/] { fill-color: prop(trunk); } area["area:highway"=~/primary|primary_link/] { fill-color: prop(primary); } area["area:highway"=~/secondary|secondary_link/] { fill-color: prop(secondary); } area["area:highway"=~/tertiary|tertiary_link/] { fill-color: prop(tertiary); } area["area:highway"=unclassified] { fill-color: streetprop(tan); } area["area:highway"=residential] { fill-color: prop(white2); } area["area:highway"=escape] { fill-color: street#c0c0c0; } area["area:highway"=road] { fill-color: highway_road#9e9e9e; } area["area:highway"=track] { fill-color: highway_track#c5b59f; } area["area:highway"=path] { fill-color: path#dacbb5; } area["area:highway"=footway] { fill-color: footway#999; } area["area:highway"=steps] { fill-color: prop(green); } area["area:highway"=pedestrian] { fill-color: prop(gray_brown); } /************************/ /* traffic_calming tags */ /************************/ node[traffic_calming] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/traffic-calming.svg"; icon-height: 35; } node[traffic_calming=chicane] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/traffic-calming-chicane.svg"; } node[traffic_calming=choker] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/traffic-calming-choker.svg"; } node[traffic_calming=island] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/traffic-calming-island.svg"; } node[traffic_calming=bump] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/speed-bump-top.svg"; } node[traffic_calming=hump] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/speed-hump-top.svg"; } node[traffic_calming=table] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/speed-table-top.svg"; } node[traffic_calming=cushion] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/traffic-calming-cushion.svg"; } node[traffic_calming=cushion][direction][direction!=both] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/traffic-calming-cushion-single.svg"; icon-height: 60; } node[traffic_calming=rumble_strip] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/traffic-calming-rumble-strip.svg"; } node[traffic_calming=dip] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/traffic-calming-dip.svg"; } node[traffic_calming=mini_bumps] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/traffic-calming-mini-bumps.svg"; } /****************/ /* junction tag */ /****************/ node[junction=roundabout] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/roundabout-left.svg"; } node:righthandtraffic[junction=roundabout] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/roundabout-right.svg"; } /**************/ /* piste tags */ /**************/ /*TO DO*/ way[route=ski]::core_piste { z-index: -1; modifier: false; width: 6; color: ski#809bc0; } area[piste:difficulty=easy][!highway][area?]::core_piste { fill-color: piste_easy#3330ff; } 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#3330ff; } area[piste:difficulty=intermediate][!highway][area?]::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?]::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?]::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?]::core_piste { fill-color: piste_freeride#dddf00; } way[piste:difficulty=freeride]::core_piste { z-index: -1; modifier: false; width: 6; color: piste_freeride#dddf00; } area[piste:difficulty=novice][!highway][area?]::core_piste { fill-color: piste_novice#00ff00; } way[piste:difficulty=novice]::core_piste { z-index: -1; modifier: false; width: 6; color: piste_novice#00ff00; } way[piste:type=~/downhill|nordic|skitour|sled|hike|ice_skate|ski_jumpe|connection|ski_jump_landing|playground|snowshoe|yes|fatbike/] { width: 4; color: piste#aa99dd; casing-width: 0.7; casing-color: #4c4b51; } 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"; } /**************/ /* power tags */ /**************/ /*TO DO*/ node[power=portal] { icon-image: "presets/power/portal.svg"; } *[power=tower] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/power-tower.svg"; } node[power=pole] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/power-pole.svg"; } node[power=pole][switch] { icon-image: "presets/power/pole_switch.svg"; } node[power=pole][transformer=distribution] { icon-image: "presets/power/pole_transformer.svg"; } node[power=catenary_mast] { icon-image: "presets/power/catenary_mast.svg"; } node[power=insulator] { icon-image: "presets/power/insulator.svg"; } way[power=~/portal|line/] { width: 1.5; color: power#e5c200; } way[power=minor_line] { width: 1; color: power#e5c200; } way[power=cable] { width: 1; color: power#eeeeee; dashes: 9,9; } area[power=~/plant|substation|compensator|converter|switchgear|generator/], area[man_made=street_cabinet][street_cabinet=power] { fill-color: power#eeeeee; } node[man_made=street_cabinet][street_cabinet=power] { icon-image: "presets/power/cable_distribution_cabinet.svg"; } node[power=generator] { icon-image: "presets/power/generator.svg"; } node[power=heliostat] { icon-image: "presets/power/heliostat.svg"; } node[power=substation] { icon-image: "presets/power/substation.svg"; } *[power=transformer] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/power-transformer.svg"; } node[power=terminal] { icon-image: "presets/power/terminal.svg"; } node[power=switch] { icon-image: "presets/power/switch.svg"; } node[power=converter] { icon-image: "presets/power/converter.svg"; } node[power=compensator] { icon-image: "presets/power/compensator.svg"; } /*************************/ /* generator:source tags */ /*************************/ /*TO DO*/ area[generator:source] { fill-color: power#eeeeee; } node[generator:source=nuclear] { icon-image: "presets/power/power_source-nuclear.svg"; } node[generator:source=wind] { icon-image: "presets/power/power_source-wind.svg"; } node[generator:source=hydro], node[generator:source=tidal], node[generator:source=wave], node[generator:source=osmotic] { icon-image: "presets/power/power_source-water.svg"; } node[generator:source=geothermal] { icon-image: "presets/power/power_source-geothermal.svg"; } node[generator:source=solar] { icon-image: "presets/power/power_source-sun.svg"; } node[generator:source=coal] { icon-image: "presets/power/power_source-coal.svg"; } node[generator:source=gas] { icon-image: "presets/power/power_source-gas.svg"; } node[generator:source=biomass], node[generator:source=biofuel], node[generator:source=biogas] { icon-image: "presets/power/power_source-biofuel.svg"; } node[generator:source=oil], node[generator:source=diesel], node[generator:source=gasoline] { icon-image: "presets/power/power_source-oil.svg"; } node[generator:source=waste] { icon-image: "presets/power/power_source-waste.svg"; } /*****************/ /* man_made tags */ /*****************/ /*TO DO*/ area[man_made][man_made!=embankment]:closed { fill-color: manmade#d8d8d8; } node[man_made=street_cabinet][street_cabinet!=power] { icon-image: "presets/misc/street_cabinet.svg"; } node[man_made=beacon] { icon-image: "presets/landmark/beacon.svg"; } node[man_made=chimney] { icon-image: "presets/landmark/chimney.svg"; } node[man_made=kiln] { icon-image: "presets/misc/kiln.svg"; } node[man_made=flagpole] { icon-image: "presets/misc/flag.svg"; } node[man_made=cross] { icon-image: "presets/landmark/cross.svg"; } node[man_made=carpet_hanger] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/cloth.svg"; } node[man_made=gasometer] { icon-image: "presets/landmark/gasometer.svg"; } node[man_made=silo] { icon-image: "presets/landmark/silo.svg"; } node[man_made=storage_tank] { icon-image: "presets/landmark/storage_tank.svg"; } node[man_made=bunker_silo] { icon-image: "presets/landmark/bunker_silo.svg"; } 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"; } node[man_made=monitoring_station] { icon-image: "presets/misc/monitoring_station.svg"; } node[man_made=pumping_station] { icon-image: "presets/misc/pumping_station.svg"; } node[man_made=mineshaft] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/adit-profile.svg"; } 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"; } node[man_made=adit] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/adit.svg"; } node[man_made=cairn] { icon-image: "presets/landmark/cairn.svg"; } 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"; } way[embankment?][!highway][!railway][!waterway], way[man_made=embankment][!highway][!railway][!waterway] { width: 1.5; color: embankment#4b3527; } way[embankment?][!highway][!railway][!waterway], way[man_made=embankment][!highway][!railway][!waterway], way[barrier=kerb], way[natural=cliff], way[barrier=retaining_wall] { repeat-image: prop(small_arrow); repeat-image-height: 7 * prop(zoom,default); repeat-image-align: top; repeat-image-offset: -3 * prop(zoom,default); repeat-image-spacing: 15 * prop(zoom,default); repeat-image-phase: 20 * prop(zoom,default); } way[barrier=kerb], way[barrier=retaining_wall] { repeat-image-height: 5 * prop(zoom,default); } way[natural=cliff] { repeat-image-height: 10 * prop(zoom,default); repeat-image-spacing: 20 * prop(zoom,default); } way[embankment?][highway]::embankment, way[embankment?][railway]::embankment, way[embankment?][waterway]::embankment { casing-width: eval(3 * prop(width, default)); casing-color: #9a5943; casing-dashes: 2,7; } way[cutting?][highway]::cutting, way[cutting?][railway]::cutting, way[cutting?][waterway]::cutting { casing-width: eval(3 * prop(width, default)); casing-color: #B7FF07; casing-dashes: 2,4; } way[man_made=embankment][highway]::embankment, way[man_made=embankment][railway]::embankment, way[man_made=embankment][waterway]::embankment { repeat-image: "presets/misc/embankment-pattern-centered.svg"; } way[man_made=pipeline][!waterway] { width: 3; casing-color: prop(white5); color: pipeline#660000; } node[pipeline=substation] { icon-image: "presets/misc/pipeline_substation.svg"; } node[pipeline=marker] { icon-image: "presets/misc/pipeline_marker.svg"; } node[pipeline=valve] { icon-image: "presets/misc/valve.svg"; } node[man_made=manhole] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/manhole.svg"; } node[man_made=petroleum_well] { icon-image: "presets/landmark/petroleum_well.svg"; } node[man_made=petroleum_well][substance=gas] { icon-image: "presets/landmark/gas_well.svg"; } node[man_made=petroleum_well][substance=oil] { icon-image: "presets/landmark/oil_well.svg"; } node[man_made=petroleum_well][mechanical_coupling=nodding_donkey] { icon-image: "presets/landmark/well_donkey.svg"; } node[man_made=petroleum_well][mechanical_coupling=nodding_donkey][substance=gas] { icon-image: "presets/landmark/gas_well_donkey.svg"; } node[man_made=petroleum_well][mechanical_coupling=nodding_donkey][substance=oil] { icon-image: "presets/landmark/oil_well_donkey.svg"; } node[man_made=pump] { icon-image: "presets/landmark/pump.svg"; } node[man_made=pump][substance=gas] { icon-image: "presets/landmark/pump_gas.svg"; } node[man_made=pump][substance=oil] { icon-image: "presets/landmark/pump_oil.svg"; } node[man_made=pump][substance=sewage] { icon-image: "presets/landmark/pump_sewage.svg"; } node[man_made=pump][substance=steam] { icon-image: "presets/landmark/pump_steam.svg"; } node[man_made=pump][substance=~/(^|_)?water$/] { icon-image: "presets/landmark/pump_water.svg"; } node[man_made=petroleum_well][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; } 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; } *[man_made=reservoir_covered] { icon-image: "presets/landmark/reservoir_covered.svg"; } node[man_made=surveillance] { icon-image: "presets/service/surveillance.svg"; } node[man_made=survey_point] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/benchmark-disk.svg"; } *[man_made=tower] { icon-image: "presets/tower/tower.svg"; } *[man_made=tower][tower:type=bell_tower] { icon-image: "presets/tower/bell_tower.svg"; } *[man_made=tower][tower:type=communication] { icon-image: "presets/tower/communication.svg"; } *[man_made=tower][tower:type=cooling] { icon-image: "presets/tower/cooling.svg"; } *[man_made=tower][tower:type=defensive] { icon-image: "presets/tower/defensive.svg"; } *[man_made=tower][tower:type=lighting] { icon-image: "presets/tower/lighting.svg"; } *[man_made=tower][tower:type=observation] { icon-image: "presets/tower/observation.svg"; } *[man_made=tower][tower:type=watchtower] { icon-image: "presets/tower/observation.svg"; } *[man_made=communications_tower] { icon-image: "presets/tower/communications_tower.svg"; } node[man_made=wastewater_plant] { icon-image: "presets/landmark/wastewater_plant.svg"; } *[man_made=watermill] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/watermill.svg"; } *[man_made=water_tower] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/water-tower.svg"; } node[man_made=water_well] { icon-image: "presets/landmark/water_well.svg"; } node[man_made=water_well][mechanical_coupling=nodding_donkey] { icon-image: "presets/landmark/water_well_donkey.svg"; } node[man_made=windmill] { icon-image: "presets/landmark/windmill.svg"; } node[man_made=windpump] { icon-image: "presets/landmark/windpump.svg"; } node[man_made=windpump][substance=gas] { icon-image: "presets/landmark/windpump_gas.svg"; } node[man_made=windpump][substance=oil] { icon-image: "presets/landmark/windpump_oil.svg"; } node[man_made=windpump][substance=sewage] { icon-image: "presets/landmark/windpump_sewage.svg"; } node[man_made=windpump][substance=steam] { icon-image: "presets/landmark/windpump_steam.svg"; } node[man_made=works] { icon-image: "presets/landmark/works.svg"; } node[man_made=water_works] { icon-image: "presets/landmark/water_works.svg"; } way[man_made=cutline] { width: 2; color: cutline#99ff55; } node[man_made=telescope] { icon-image: "presets/tower/telescope_dish.svg"; } node[man_made=telescope][telescope:type=optical] { icon-image: "presets/tower/telescope_dome.svg"; } node[man_made=antenna] { icon-image: "presets/tower/antenna.svg"; } node[man_made=mast] { icon-image: "presets/tower/mast.svg"; } node[man_made=mast][tower:type=communication] { icon-image: "presets/tower/mast_communication.svg"; } node[man_made=mast][tower:type=lighting] { icon-image: "presets/tower/mast_lighting.svg"; } node[man_made=utility_pole] { icon-image: "presets/tower/pole.svg"; } node[man_made=utility_pole][utility~=power] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/power-pole.svg"; } node[man_made=utility_pole][utility~=street_lighting] { icon-image: "presets/tower/pole_street_light.svg"; } /****************/ /* telecom tags */ /****************/ /*TO DO*/ node[telecom=exchange] { icon-image: "presets/telecom/exchange.svg"; } node[telecom=connection_point] { icon-image: "presets/telecom/connection_point.svg"; } node[telecom=service_device] { icon-image: "presets/telecom/service_device.svg"; } node[man_made=street_cabinet][street_cabinet=telecom] { icon-image: "presets/telecom/telecom_cabinet.svg"; } /***************/ /* office tags */ /***************/ /*TO DO*/ area[office] { fill-color: office#de5696; } *[office] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/briefcase.svg"; } *[office=accountant] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/calculator.svg"; } node[office=advertising_agency] { icon-image: "presets/office/advertising_agency.svg"; } node[office=architect] { icon-image: "presets/office/architect.svg"; } node[office=association] { icon-image: "presets/office/association.svg"; } node[office=company] { icon-image: "presets/office/private_company.svg"; } node[office=diplomatic] { icon-image: "presets/office/diplomatic.svg"; } node[office=educational_institution] { icon-image: "presets/office/educational_institution.svg"; } node[office=employment_agency] { icon-image: "presets/office/employment_agency.svg"; } node[office=estate_agent] { icon-image: "presets/office/real_state.svg"; } node[office=financial] { icon-image: "presets/office/financial.svg"; } node[office=foundation] { icon-image: "presets/office/foundation.svg"; } node[office=insurance], area[office=insurance] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/briefcase-shield.svg"; } node[office=it] { icon-image: "presets/office/it.svg"; } *[office=lawyer] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/briefcase-law.svg"; } node[office=newspaper] { icon-image: "presets/office/newspaper.svg"; } node[office=ngo] { icon-image: "presets/office/ong.svg"; } node[office=notary] { icon-image: "presets/office/notary.svg"; } node[office=political_party] { icon-image: "presets/office/political_party.svg"; } node[office=religion] { icon-image: "presets/office/religion.svg"; } node[office=research] { icon-image: "presets/office/research.svg"; } node[office=tax_advisor] { icon-image: "presets/office/tax_advisor.svg"; } node[office=telecommunication] { icon-image: "presets/office/telecommunication.svg"; } node[office=government] { icon-image: "presets/office/government.svg"; } /*************/ /* club tags */ /*************/ /*TO DO*/ node[club] { icon-image: "presets/leisure/club.svg"; } /****************/ /* leisure tags */ /****************/ /*TO DO*/ area[leisure], relation[leisure] >[role=outer] way { fill-color: leisure#c7f1a3; } *[leisure=bandstand] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/music.svg"; } *[leisure=bleachers] { icon-image: "presets/leisure/bleachers.svg"; } *[leisure=sports_centre] { icon-image: "presets/sport/sports_centre.svg"; } *[leisure=fitness_centre] { icon-image: "presets/sport/fitness_centre.svg"; } *[leisure=stadium] { icon-image: "presets/sport/stadium.svg"; } *[leisure=horse_riding] { icon-image: "presets/leisure/horse_riding.svg"; } node[leisure=amusement_arcade] { icon-image: "presets/leisure/amusement_arcade.svg"; } node[leisure=adult_gaming_centre] { icon-image: "presets/leisure/adult_gaming_centre.svg"; } *[leisure=hackerspace] { icon-image: "presets/leisure/hackerspace.svg"; } *[leisure=outdoor_seating] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/outdoor-seating.svg"; } *[leisure=resort] { icon-image: "presets/leisure/resort.svg"; } *[leisure=beach_resort] { icon-image: "presets/leisure/beach_resort.svg"; } *[leisure=water_park] { icon-image: "presets/leisure/water_park.svg"; } area[leisure=track][!area?!]:closed { fill-color: leisuretrack#d4f4b9; } way[leisure=track] { width: 3.3; color: leisuretrack#79c8aa; casing-width: 1; casing-color: #49a781; } node[leisure=track] { icon-image: "presets/sport/track.svg"; } area[leisure=pitch] { fill-color: pitch#baee8d; } *[leisure=pitch] { icon-image: "presets/sport/pitch.svg"; } area[leisure=marina] { fill-color: marina#0070cf; } node[leisure=marina] { icon-image: "presets/nautical/marina.svg"; } way[leisure=slipway] { width: 2; color: leisure#c7f1a3; } node[leisure=slipway] { icon-image: "presets/nautical/slipway.svg"; } area[leisure=~/fishing|bird_hide|nature_reserve|park|playground|common|firepit/] { fill-color: leisure#7bed88; } area[leisure=~/playground|fitness_station/], area[playground]:closed { fill-color: leisure_playground#b2ffbb; } way[playground] { color: leisure_playground#b2ffbb; } node[leisure=fishing] { icon-image: "presets/sport/fishing.svg"; } node[leisure=bird_hide] { icon-image: "presets/leisure/bird_hide.svg"; } node[leisure=nature_reserve] { icon-image: "presets/leisure/nature_reserve.svg"; } *[leisure=playground] { icon-image: "presets/leisure/playground.svg"; } *[leisure=garden][name] { icon-image: "presets/leisure/garden.svg"; } area[leisure=garden] { fill-color: gardenc#4bf629; } area[leisure=garden]::fill { fill-image: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/patterns/pattern-dots.png"; } node[leisure=common] { icon-image: "presets/leisure/common.svg"; } node[leisure=firepit] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/campfire.svg"; } node[leisure=picnic_table] { icon-image: "presets/leisure/picnic.svg"; } area[leisure=swimming_pool] { fill-color: swimming_pool#51c4ef; } node[leisure=swimming_pool] { icon-image: "presets/sport/swimming.svg"; } node[playground] { icon-image: "presets/leisure/playground_device.svg"; } area[leisure=miniature_golf], area[leisure=dog_park], area[leisure=ice_rink], area[leisure=sauna] { fill-color: leisure#c7f1a3; } *[leisure=fitness_station] { icon-image: "presets/leisure/fitness_station.svg"; } node[leisure=miniature_golf] { icon-image: "presets/sport/miniature_golf.svg"; } node[leisure=dog_park] { icon-image: "presets/leisure/dogpark.svg"; } node[leisure=ice_rink] { icon-image: "presets/sport/ice_hockey.svg"; } node[leisure=sauna] { icon-image: "presets/leisure/sauna.svg"; } area[leisure=golf_course] { fill-color: leisure#c7f1a3; } node[leisure=golf_course] { icon-image: "presets/sport/golf/golf.svg"; } /*************/ /* golf tags */ /*************/ /*TO DO*/ area[golf=tee], node[golf=tee] { fill-color: golf#c7f1a3; icon-image: "presets/sport/golf/tee.svg"; } way[golf=hole] { width: 2; dashes: list(14 * prop(zoom,default), 14 * prop(zoom,default)); color: prop(white3); } node[golf=pin] { icon-image: "presets/sport/golf/pin.svg"; } area[golf=bunker] { fill-color: golf_bunker#ffab00; } area[golf=water_hazard], area[golf=lateral_water_hazard] { fill-color: prop(water_color); } 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], node[golf=driving_range] { fill-color: golf_driving_range#c7f1a3; icon-image: "presets/sport/golf/driving_range.svg"; } /********************/ /* advertising tags */ /********************/ /*TO DO*/ *[advertising=column] { icon-image: "presets/leisure/advertising_column.svg"; fill-color: advertising#880000; } node[advertising=billboard] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/billboard.svg"; } node[advertising=poster_box] { icon-image: "presets/leisure/poster_box.svg"; } node[advertising=totem] { icon-image: "presets/leisure/totem.svg"; } way[advertising=billboard], way[advertising=poster_box], way[advertising=totem] { width: 2; color: advertising#880000; } /*************/ /* shop tags */ /*************/ /*TO DO*/ *[shop] { fill-color: shop#33305f; } *[shop=supermarket] { icon-image: "presets/shop/supermarket.svg"; } *[shop=convenience] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/convenience.svg"; } *[shop=bakery] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/bakery.svg"; } *[shop=butcher] { icon-image: "presets/shop/groceries/butcher.svg"; } *[shop=bicycle] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/bicycle-ride.svg"; } *[shop=doityourself] { icon-image: "presets/shop/diy_store.svg"; } *[shop=dry_cleaning], *[shop=laundry] { icon-image: "presets/shop/laundry.svg"; } *[shop=outdoor] { icon-image: "presets/shop/outdoor.svg"; } *[shop=kiosk] { icon-image: "presets/shop/kiosk.svg"; } *[shop=beverages] { icon-image: "presets/shop/beverages.svg"; } *[shop=alcohol] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/alcohol.svg"; } *[shop=books] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/book-store.svg"; } *[shop=boutique] { icon-image: "presets/shop/boutique.svg"; } *[shop=car] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/car-dealer.svg"; } *[shop=car_repair] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/car-repair.svg"; } *[shop=car_parts] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/car.svg"; } *[shop=tyres] { icon-image: "presets/vehicle/tyres.svg"; } *[shop=chemist] { icon-image: "presets/shop/chemist.svg"; } *[shop=tobacco] { icon-image: "presets/shop/tobacco.svg"; } *[shop=e-cigarette] { icon-image: "presets/shop/e-cigarette.svg"; } *[shop=clothes] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/clothing-store.svg"; } *[shop=computer] { icon-image: "presets/shop/computer.svg"; } *[shop=confectionery] { icon-image: "presets/shop/groceries/confectionery.svg"; } *[shop=chocolate] { icon-image: "presets/shop/groceries/chocolate.svg"; } *[shop=pastry] { icon-image: "presets/shop/groceries/pastry.svg"; } *[shop=copyshop] { icon-image: "presets/shop/copyshop.svg"; } *[shop=craft] { icon-image: "presets/shop/craft.svg"; } *[shop=curtain] { icon-image: "presets/shop/curtain.svg"; } *[shop=department_store] { icon-image: "presets/shop/mall.svg"; } *[shop=deli] { icon-image: "presets/shop/groceries/deli.svg"; } *[shop=doors] { icon-image: "presets/shop/doors.svg"; } *[shop=electronics] { icon-image: "presets/shop/electronics.svg"; } *[shop=erotic] { icon-image: "presets/shop/erotic.svg"; } *[shop=furniture] { icon-image: "presets/shop/furniture.svg"; } *[shop=fabric] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/cloth.svg"; } *[shop=florist] { icon-image: "presets/shop/florist.svg"; } *[shop=frame] { icon-image: "presets/shop/frame.svg"; } *[shop=gas] { icon-image: "presets/shop/gas.svg"; } *[shop=general] { icon-image: "presets/shop/mall.svg"; } *[shop=gift] { icon-image: "presets/shop/present.svg"; } *[shop=greengrocer] { icon-image: "presets/shop/groceries/greengrocer.svg"; } *[shop=garden_centre] { icon-image: "presets/shop/garden_centre.svg"; } *[shop=hairdresser] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/hairdresser.svg"; } *[shop=hardware] { icon-image: "presets/shop/hardware.svg"; } *[shop=hearing_aids] { icon-image: "presets/shop/hearing_aids.svg"; } *[shop=hifi] { icon-image: "presets/shop/hifi.svg"; } *[shop=houseware] { icon-image: "presets/shop/houseware.svg"; } *[shop=pottery] { icon-image: "presets/shop/pottery.svg"; } *[shop=jewelry] { icon-image: "presets/shop/jewelry.svg"; } *[shop=kitchen] { icon-image: "presets/shop/kitchen.svg"; } *[shop=mall] { icon-image: "presets/shop/mall.svg"; } *[shop=massage] { icon-image: "presets/shop/massage.svg"; } *[shop=mobile_phone] { icon-image: "presets/shop/mobile_phone.svg"; } *[shop=watches] { icon-image: "presets/shop/watches.svg"; } *[shop=motorcycle] { icon-image: "presets/vehicle/motorbike.svg"; } *[shop=musical_instrument] { icon-image: "presets/shop/musical_instrument.svg"; } *[shop=newsagent] { icon-image: "presets/shop/news.svg"; } *[shop=optician] { icon-image: "presets/shop/optician.svg"; } *[shop=medical_supply] { icon-image: "presets/shop/medical_supply.svg"; } *[shop=paint] { icon-image: "presets/shop/paint.svg"; } *[shop=party] { icon-image: "presets/shop/party.svg"; } *[shop=pawnbroker] { icon-image: "presets/shop/pawnbroker.svg"; } *[shop=seafood] { icon-image: "presets/shop/groceries/seafood.svg"; } *[shop=dairy] { icon-image: "presets/shop/groceries/dairy.svg"; } *[shop=cheese] { icon-image: "presets/shop/groceries/cheese.svg"; } *[shop=shoes] { icon-image: "presets/shop/shoes.svg"; } *[shop=sports] { icon-image: "presets/sport/multi.svg"; } *[shop=stationery] { icon-image: "presets/shop/stationery.svg"; } *[shop=tailor] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/cloth.svg"; } *[shop=travel_agency] { icon-image: "presets/shop/travel_agency.svg"; } *[shop=scuba_diving] { icon-image: "presets/shop/scuba_diving.svg"; } *[shop=fishing] { icon-image: "presets/shop/fishing.svg"; } *[shop=toys] { icon-image: "presets/shop/toys.svg"; } *[shop=vacuum_cleaner] { icon-image: "presets/shop/vacuum_cleaner.svg"; } *[shop=variety_store] { icon-image: "presets/shop/variety_store.svg"; } *[shop=charity] { icon-image: "presets/shop/charity.svg"; } *[shop=second_hand] { icon-image: "presets/shop/second_hand.svg"; } *[shop=video] { icon-image: "presets/shop/video.svg"; } *[shop=bookmaker] { icon-image: "presets/shop/lottery.svg"; } *[shop=lottery] { icon-image: "presets/shop/lottery.svg"; } /* duplicate of shopping_centre? */ *[shop=shopping_centre] { icon-image: "presets/shop/mall.svg"; } *[shop=pet] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/pet-store.svg"; } *[shop=pet_grooming] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/pet-grooming.svg"; } *[shop=photo] { icon-image: "presets/shop/photo.svg"; } *[shop=ticket] { icon-image: "presets/shop/ticket.svg"; } *[shop=carpet] { icon-image: "presets/shop/carpet.svg"; } *[shop=interior_decoration] { icon-image: "presets/shop/interior_decoration.svg"; } *[shop=video_games] { icon-image: "presets/shop/video_games.svg"; } *[shop=bed] { icon-image: "presets/shop/bed.svg"; } *[shop=beauty] { icon-image: "presets/shop/beauty.svg"; } *[shop=cosmetics] { icon-image: "presets/shop/cosmetics.svg"; } *[shop=perfumery] { icon-image: "presets/shop/perfumery.svg"; } *[shop=herbalist] { icon-image: "presets/shop/groceries/herbalist.svg"; } *[shop=tea] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/teahouse.svg"; } *[shop=coffee] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/coffee.svg"; } *[shop=frozen_food] { icon-image: "presets/shop/groceries/frozen_food.svg"; } *[shop=antiques] { icon-image: "presets/shop/antique.svg"; } *[shop=swimming_pool] { icon-image: "presets/shop/swimming_pool.svg"; } *[shop=storage_rental] { icon-image: "presets/shop/storage_rental.svg"; } *[shop=music] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/music.svg"; } *[shop=weapons] { icon-image: "presets/shop/weapons.svg"; } *[shop=funeral_directors] { icon-image: "presets/shop/funeral_directors.svg"; } *[shop=agrarian] { icon-image: "presets/shop/agrarian.svg"; } *[shop=wine] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/alcohol.svg"; } *[shop=farm] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/barn.svg"; } *[shop=tattoo] { icon-image: "presets/shop/tattoo.svg"; } *[shop=art] { icon-image: "presets/shop/art.svg"; } *[shop=lighting] { icon-image: "presets/shop/lighting.svg"; } *[shop=security] { icon-image: "presets/shop/security.svg"; } *[shop=wholesale] { icon-image: "presets/shop/wholesale.svg"; } *[shop=trade] { icon-image: "presets/shop/trade.svg"; } *[shop=bag] { icon-image: "presets/shop/bag.svg"; } /******************/ /* emergency tags */ /******************/ /*TO DO*/ area[emergency=ambulance_station], area[emergency=water_tank] { fill-color: emergency#eeeeee; } node[emergency=ambulance_station] { icon-image: "presets/emergency/ambulance_station.svg"; } node[emergency=water_tank] { icon-image: "presets/emergency/water_tank.svg"; } node[emergency=suction_point] { icon-image: "presets/emergency/suction_point.svg"; } node[emergency=life_ring] { icon-image: "presets/emergency/life_ring.svg"; } node[emergency=lifeguard] { icon-image: "presets/emergency/lifeguard.svg"; } node[emergency=emergency_ward_entrance] { icon-image: "presets/emergency/emergency_ward_entrance.svg"; } node[emergency=phone] { icon-image: "presets/vehicle/emergency_phone.svg"; } node[emergency=defibrillator] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/defibrillator.svg"; } node[emergency=fire_hydrant] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/fire-hydrant.svg"; } node[emergency=fire_hydrant][fire_hydrant:type=underground] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/fire-hydrant-underground.svg"; } node[emergency=fire_extinguisher] { icon-image: "presets/emergency/fire_extinguisher.svg"; } node[emergency=fire_hose] { icon-image: "presets/emergency/fire_hose.svg"; } node[emergency=assembly_point] { icon-image: "presets/emergency/assembly_point.svg"; } node[emergency=siren] { icon-image: "presets/emergency/siren.svg"; } /****************/ /* police tags */ /****************/ /*TO DO*/ *[amenity=police], *[police=barracks], *[police=car_pound], *[police=checkpoint], *[police=detention], *[police=naval_base], *[police=offices], *[police=range], *[police=storage], *[police=training_node], *[police=yes] { icon-image: "presets/service/police_non_public.svg"; } /*******************/ /* healthcare tags */ /*******************/ /*TO DO*/ *[healthcare=laboratory] { icon-image: "presets/health/laboratory.svg"; } *[healthcare=blood_bank], *[amenity=blood_bank] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/blood-bank.svg"; } *[healthcare=blood_donation] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/blood-bank.svg"; } /****************/ /* amenity tags */ /****************/ /*TO DO*/ area[amenity] { fill-color: amenity#ecba52; } *[amenity=pub] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/beer.svg"; } *[amenity=biergarten] { icon-image: "presets/food/biergarten.svg"; } *[amenity=nightclub] { icon-image: "presets/leisure/nightclub.svg"; } *[amenity=gambling] { icon-image: "presets/leisure/gambling.svg"; } *[amenity=stripclub] { icon-image: "presets/leisure/stripclub.svg"; } *[amenity=casino] { icon-image: "presets/leisure/casino.svg"; } *[amenity=brothel] { icon-image: "presets/leisure/brothel.svg"; } *[amenity=cafe] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/cafe.svg"; } *[amenity=restaurant] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/restaurant.svg"; } *[amenity=food_court] { icon-image: "presets/food/food_court.svg"; } *[amenity=fast_food] { icon-image: "presets/food/fast_food.svg"; } *[amenity=bar] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/bar.svg"; } *[cuisine=sandwich] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/sandwich.svg"; } *[cuisine=kebab] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/kebab.svg"; } *[cuisine=bubble_tea] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/bubble-tea.svg"; } *[amenity=ice_cream] { icon-image: "presets/food/ice_cream.svg"; } *[amenity=parking], *[amenity=motorcycle_parking], *[amenity=bicycle_parking], *[amenity=bicycle_rental], *[amenity=bicycle_repair_station], *[amenity=car_rental], *[amenity=car_sharing], *[amenity=car_wash], *[amenity=taxi], *[amenity=fuel], *[amenity=prison], *[amenity=driver_training]{ width: 1; fill-color: amenity_parking#00329b; color: amenity_parking#00329b; } *[amenity=parking_space] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/parking-space.svg"; fill-color: prop(white2); } *[amenity=parking_space][parking_space=disabled] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/parking-space-disabled.svg"; } *[amenity=trolley_bay] { icon-image: "presets/vehicle/parking/trolley_bay.svg"; fill-color: trolley_bay#b8d8f7; } *[amenity=parking] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/parking.svg"; } node[amenity=parking_entrance] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/parking.svg"; } node[amenity=parking_entrance][parking=multi-storey] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/car-structure.svg"; } node[amenity=parking_entrance][parking=underground] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/car-structure.svg"; } *[amenity=motorcycle_parking] { icon-image: "presets/vehicle/parking/motorbike.svg"; } *[amenity=bicycle_parking] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/bicycle-parked.svg"; } node[park_ride][park_ride!=no] { icon-image: "presets/vehicle/parking/park_ride.svg"; } *[amenity=bicycle_rental] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/bicycle-rental.svg"; } *[amenity=bicycle_repair_station] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/bicycle-repair.svg"; } *[amenity=bicycle_wash] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/bicycle-wash.svg"; } *[amenity=car_rental] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/car-rental.svg"; } *[amenity=car_pooling] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/car-pool.svg"; } *[amenity=car_sharing] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/car-pool.svg"; } *[amenity=car_wash] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/car-wash.svg"; } *[amenity=taxi] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/taxi.svg"; } *[amenity=fuel] { icon-image: "presets/vehicle/fuel.svg"; } *[amenity=charging_station] { icon-image: "presets/vehicle/charging_station.svg"; } *[amenity=grit_bin] { icon-image: "presets/misc/grit_bin.svg"; } node[amenity=telephone] { icon-image: "presets/service/telephone.svg"; } node[amenity=clock] { icon-image: "presets/service/clock.svg"; } *[amenity=photo_booth] { icon-image: "presets/service/photo_booth.svg"; } area[amenity=toilets], area[amenity=shower], area[amenity=internet_cafe], area[amenity=recycling], area[amenity=sanitary_dump_station] { fill-color: amenity_light#f7efb7; } *[amenity=toilets], area[building=toilets] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/toilets.svg"; } node[amenity=shower] { icon-image: "presets/service/shower.svg"; } *[amenity=internet_cafe] { icon-image: "presets/service/internet_cafe.svg"; } *[amenity=recycling] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/recycling.svg"; } *[amenity=recycling][recycling_type=container] { icon-image: "presets/service/recycling/recycling_container.svg"; } *[amenity=recycling][recycling_type=centre] { icon-image: "presets/service/recycling/recycling_centre.svg"; } node[amenity=waste_basket] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/trash-bin.svg"; } node[amenity=waste_basket][waste=dog_excrement], node[vending=excrement_bags] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/vending-pet-waste.svg"; } *[amenity=waste_disposal] { icon-image: "presets/service/recycling/waste_disposal.svg"; } *[amenity=sanitary_dump_station] { icon-image: "presets/service/recycling/sanitary_dump_station.svg"; } area[amenity=townhall], area[amenity=community_centre] { fill-color: amenity_light#f7efb7; } *[amenity=townhall] { icon-image: "presets/service/townhall.svg"; } *[amenity=events_venue] { icon-image: "presets/service/events_venue.svg"; } *[amenity=community_centre] { icon-image: "presets/service/community_centre.svg"; } area[amenity=water_point], area[amenity=fountain] { fill-color: light_water#3959ff; } *[amenity=water_point], node[man_made=water_tap] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/water-tap.svg"; } *[amenity=fountain] { icon-image: "presets/misc/fountain.svg"; } node[amenity=drinking_water], node[drinking_water=yes] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/water-tap-drinkable.svg"; } area[amenity=animal_boarding], area[amenity=animal_breeding], area[amenity=place_of_worship], area[amenity=monastery], area[amenity=grave_yard], area[amenity=crematorium], area[amenity=post_office], area[amenity=studio], area[landuse=school], area[amenity=school], area[amenity=university], area[amenity=college], area[amenity=kindergarten], area[amenity=language_school], area[amenity=music_school], area[amenity=driving_school], area[amenity=driver_training] { fill-color: amenity_light#f7efb7; } *[amenity=animal_boarding] { icon-image: "presets/accommodation/animal_boarding.svg"; } *[amenity=animal_breeding] { icon-image: "presets/misc/animal_breeding.svg"; } *[amenity=place_of_worship] { icon-image: "presets/religion/religion.svg"; } *[amenity=place_of_worship][religion=bahai] { icon-image: "presets/religion/bahai.svg"; } *[amenity=place_of_worship][religion=buddhist] { icon-image: "presets/religion/buddhism.svg"; } *[amenity=place_of_worship][religion=caodaism][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; } *[amenity=place_of_worship][religion=christian] { icon-image: "presets/religion/church.svg"; } *[amenity=place_of_worship][religion=confucian] { icon-image: "presets/religion/confucian.svg"; } *[amenity=place_of_worship][religion=hindu] { icon-image: "presets/religion/hinduism.svg"; } *[amenity=place_of_worship][religion=jain] { icon-image: "presets/religion/jainism.svg"; } *[amenity=place_of_worship][religion=jewish] { icon-image: "presets/religion/jewish.svg"; } *[amenity=place_of_worship][religion=muslim] { icon-image: "presets/religion/muslim.svg"; } *[amenity=place_of_worship][religion=sikh] { icon-image: "presets/religion/sikhism.svg"; } *[amenity=place_of_worship][religion=shinto] { icon-image: "presets/religion/shinto.svg"; } *[amenity=place_of_worship][religion=spiritualist][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; } *[amenity=place_of_worship][religion=taoist] { icon-image: "presets/religion/taoism.svg"; } *[amenity=place_of_worship][religion=tenrikyo] { icon-image: "presets/religion/tenrikyo.svg"; } *[amenity=place_of_worship][religion=unitarian][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; } *[amenity=place_of_worship][religion=zoroastrian][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; } *[amenity=monastery] { icon-image: "presets/religion/monastery.svg"; } *[amenity=grave_yard] { icon-image: "presets/landuse/graveyard.svg"; } node[amenity=crematorium][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; } *[amenity=post_office] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/post.svg"; } *[amenity=post_box] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/post-box.svg"; } node[amenity=letter_box] { icon-image: "presets/service/letter_box.svg"; } *[amenity=studio] { icon-image: "presets/service/studio.svg"; } *[amenity=school] { icon-image: "presets/education/school.svg"; } *[amenity=university] { icon-image: "presets/education/university.svg"; } *[amenity=college] { icon-image: "presets/education/college.svg"; } *[amenity=kindergarten] { icon-image: "presets/education/kindergarten.svg"; } *[amenity=language_school] { icon-image: "presets/education/language_school.svg"; } *[amenity=driving_school], *[amenity=driver_training] { icon-image: "presets/education/driving_school.svg"; } *[amenity=music_school] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/music.svg"; /*TO DO needs unique icon*/ } area[amenity=~/pharmacy|hospital|clinic|nursing_home|social_facility|baby_hatch|doctors|dentist|animal_shelter|veterinary/] { fill-color: prop(white2); } *[amenity=pharmacy] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/pharmacy.svg"; } *[amenity=hospital] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/asterisk.svg"; } *[amenity=clinic] { icon-image: "presets/health/clinic.svg"; } *[amenity=social_facility][social_facility=nursing_home], *[amenity=nursing_home] { icon-image: "presets/social_facility/nursing_home.svg"; } *[amenity=social_facility][social_facility=group_home] { icon-image: "presets/social_facility/group_home.svg"; } *[amenity=social_facility][social_facility=assisted_living] { icon-image: "presets/social_facility/assisted_living.svg"; } *[amenity=social_facility][social_facility=outreach] { icon-image: "presets/social_facility/outreach.svg"; } *[amenity=social_facility][social_facility=shelter] { icon-image: "presets/social_facility/shelter.svg"; } *[amenity=social_facility][social_facility=food_bank] { icon-image: "presets/social_facility/food_bank.svg"; } *[amenity=baby_hatch] { icon-image: "presets/health/baby_hatch.svg"; } *[amenity=doctors] { icon-image: "presets/health/doctors.svg"; } *[amenity=dentist] { icon-image: "presets/health/dentist.svg"; } *[amenity=animal_shelter] { icon-image: "presets/health/animal_shelter.svg"; } *[amenity=veterinary] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/veterinary-care.svg"; } area[amenity=~/library|public_bookcase|bus_station|ferry_terminal|theatre|cinema|dive_centre|public_bath|arts_centre|courthouse|prison|bank|bureau_de_change|money_transfer|bbq|watering_place/] { fill-color: amenity_light#f7efb7; } area[amenity=~/police|ranger_station|fire_station/] { fill-color: amenity_duties#4e7aff; } *[amenity=library] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/book-library.svg"; } *[amenity=public_bookcase] { icon-image: "presets/education/public_bookcase.svg"; } *[amenity=police] { icon-image: "presets/service/police.svg"; } *[amenity=ranger_station] { icon-image: "presets/service/ranger_station.svg"; } *[amenity=fire_station] { icon-image: "presets/service/firebrigade.svg"; } *[amenity=bus_station] { icon-image: "presets/transport/bus_old.svg"; } *[amenity=ferry_terminal] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/board-ferry.svg"; } *[amenity=theatre] { icon-image: "presets/leisure/theater.svg"; } *[amenity=cinema] { icon-image: "presets/leisure/cinema.svg"; } *[amenity=dive_centre] { icon-image: "presets/leisure/dive_centre.svg"; } *[amenity=public_bath] { icon-image: "presets/leisure/public_bath.svg"; } *[amenity=arts_centre] { icon-image: "presets/sightseeing/arts_centre.svg"; } *[amenity=courthouse] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/law.svg"; } *[amenity=prison] { icon-image: "presets/service/prison.svg"; } *[amenity=bank] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/bank.svg"; } *[amenity=bureau_de_change] { icon-image: "presets/money/exchange.svg"; } *[amenity=money_transfer] { icon-image: "presets/money/money_transfer.svg"; } node[amenity=atm] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/atm2.svg"; } node[amenity=atm][cash_in=~/yes|only|customers/] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/atm.svg"; } way[amenity=bench] { width: 2; color: amenity_light#f7efb7; } node[amenity=bench] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/bench.svg"; } node[amenity=bench][backrest?] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/bench-backrest.svg"; } node[amenity=bench][backrest?!] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/bench-flat.svg"; } node[amenity=lounger] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/lounger.svg"; } *[amenity=bbq] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/bbq.svg"; } node[amenity=compressed_air] { icon-image: "presets/vehicle/compressed_air.svg"; } node[amenity=watering_place] { icon-image: "presets/misc/watering_place.svg"; } area[amenity=marketplace], area[amenity=wlan] { fill-color: amenity_light#f7efb7; } *[amenity=shelter] { icon-image: "presets/accommodation/shelter.svg"; } *[amenity=shelter][shelter_type=public_transport] { icon-image: "presets/accommodation/shelter_public_transport.svg"; fill-color: prop(tan); } *[amenity=shelter][shelter_type=picnic_shelter] { icon-image: "presets/accommodation/shelter_picnic.svg"; } *[amenity=shelter][shelter_type=basic_hut] { icon-image: "presets/accommodation/basic_hut.svg"; } *[amenity=shelter][shelter_type=gazebo] { icon-image: "presets/accommodation/gazebo.svg"; } *[amenity=shelter][shelter_type=lean_to] { icon-image: "presets/accommodation/shelter_lean_to.svg"; } *[amenity=hunting_stand] { icon-image: "presets/landmark/hunting_stand.svg"; } *[amenity=marketplace] { icon-image: "presets/shop/marketplace.svg"; } *[amenity=vending_machine] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/vending-machine.svg"; } *[amenity=vending_machine][vending=parking_tickets] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/vending-parking.svg"; } *[amenity=vending_machine][vending=public_transport_tickets] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/vending-tickets.svg"; } *[amenity=parcel_locker]{ icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/parcel-locker.svg"; } /**************/ /* craft tags */ /**************/ /*TO DO*/ area[craft] { fill-color: craft#999900; } *[craft=carpenter] { icon-image: "presets/craft/carpenter.svg"; } *[craft=dressmaker] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/cloth.svg"; } *[craft=shoemaker] { icon-image: "presets/craft/shoemaker.svg"; } *[craft=photographer] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/camera.svg"; } *[craft=metal_construction] { icon-image: "presets/craft/metal_construction.svg"; } *[craft=electrician] { icon-image: "presets/craft/electrician.svg"; } *[craft=electronics_repair] { icon-image: "presets/craft/electronics_repair.svg"; } *[craft=brewery] { icon-image: "presets/craft/brewery.svg"; } *[craft=plumber] { icon-image: "presets/craft/plumber.svg"; } *[craft=sawmill] { icon-image: "presets/craft/sawmill.svg"; } *[craft=gardener] { icon-image: "presets/craft/gardener.svg"; } *[craft=winery] { icon-image: "presets/craft/winery.svg"; } *[craft=hvac] { icon-image: "presets/craft/hvac.svg"; } *[craft=painter] { icon-image: "presets/craft/painter.svg"; } *[craft=stonemason] { icon-image: "presets/craft/stonemason.svg"; } *[craft=handicraft] { icon-image: "presets/craft/handicraft.svg"; } *[craft=pottery] { icon-image: "presets/craft/pottery.svg"; } *[craft=key_cutter] { icon-image: "presets/craft/key_cutter.svg"; } *[craft=caterer] { icon-image: "presets/craft/caterer.svg"; } *[craft=roofer] { icon-image: "presets/craft/roofer.svg"; } *[craft=beekeeper] { icon-image: "presets/craft/beekeeper.svg"; } *[craft=blacksmith] { icon-image: "presets/craft/blacksmith.svg"; } *[craft=locksmith] { icon-image: "presets/craft/locksmith.svg"; } *[craft=window_construction] { icon-image: "presets/craft/window_construction.svg"; } *[craft=upholsterer] { icon-image: "presets/craft/upholsterer.svg"; } *[craft=tiler] { icon-image: "presets/craft/tiler.svg"; } /********************/ /* attraction tags */ /********************/ /*TO DO*/ area[attraction=animal] { fill-color: attraction_animal#ffbfd3; color: attraction_animal#ffbfd3; /* color explizitly needed here to overwrite the color already set by (a lot of wrongly tagged) tourism=attraction */ } *[attraction=animal] { icon-image: "presets/attraction/animal.svg"; } way[attraction=summer_toboggan] { width: 4; color: #9e9e9e; casing-width: 1; casing-color: #686868; } *[attraction=water_slide] { icon-image: "presets/attraction/water_slide.svg"; } /********************/ /* information tags */ /********************/ /*TO DO*/ *[tourism=information] { fill-color: tourism#e180a2; icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/information.svg"; } node[tourism=information][information=guidepost] { icon-image: "presets/misc/information/guidepost.svg"; } node[tourism=information][information=route_marker] { icon-image: "presets/misc/information/route_marker.svg"; } node[tourism=information][information=audioguide] { icon-image: "presets/misc/information/audioguide.svg"; } *[tourism=information][information=office] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/briefcase-info.svg"; } node[tourism=information][information=~/map|tactile_map/] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/info-map.svg"; } node[tourism=information][information=board] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/info-board.svg"; } /****************/ /* landuse tags */ /****************/ /*TO DO*/ area[landuse]:closed, area[leisure]:closed, area[amenity]:closed, area[place]:closed, area[natural]:closed, area[man_made]:closed { z-index: -2; /* put areas that can have other areas inside (e.g. building) a little lower */ width: 1; } area[landuse=farmland], relation[landuse=farmland] >[role=outer] way { fill-color: farmland#bee73e; } area[landuse=farmland]::fill { fill-image: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/patterns/pattern-farmland.svg"; } area[landuse=farmyard], relation[landuse=farmyard] >[role=outer] way { fill-color: farmyard#d1bb9e; color: farmyard#d1bb9e; } area[landuse=meadow], relation[landuse=meadow] >[role=outer] way { fill-color: meadow#92d859; } area[landuse=meadow]::fill { fill-image: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/patterns/pattern-grass.png"; } area[landuse=vineyard], relation[landuse=vineyard] >[role=outer] way { fill-color: green#c3d740; } area[landuse=orchard], relation[landuse=orchard] >[role=outer] way { fill-color: orchard#00d53c; } area[landuse=orchard]::fill { fill-image: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/patterns/pattern-dots.png"; } area[landuse=quarry], relation[landuse=quarry] >[role=outer] way { fill-color: quarry#888888; } area[landuse=landfill], relation[landuse=landfill] >[role=outer] way { fill-color: landfill#663300; } area[landuse=basin], relation[landuse=basin] >[role=outer] way { fill-color: forest#8bcc5d; } area[landuse=allotments], relation[landuse=allotments] >[role=outer] way { fill-color: allotments#5dbf80; } area[landuse=greenhouse_horticulture], area[landuse=plant_nursery] { fill-color: green#b1e0c2; } area[landuse=salt_pond], relation[landuse=salt_pond] >[role=outer] way { fill-color: salt_pond#eeeeee; } area[landuse=aquaculture], relation[landuse=aquaculture] >[role=outer] way { fill-color: aquaculture#189dff; } area[landuse=grass], relation[landuse=grass] >[role=outer] way { fill-color: prop(green); } area[landuse=grass]::fill { fill-image: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/patterns/pattern-grass.png"; } area[landuse=flowerbed], area[man_made=planter], area[barrier=planter], relation[landuse=flowerbed] >[role=outer] way { fill-color: flowerbedc#e6e872; } area[landuse=flowerbed]::fill, area[man_made=planter]::fill, area[barrier=planter]::fill { fill-image: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/patterns/pattern-flower.svg"; } area[landuse=residential], relation[landuse=residential] >[role=outer] way { fill-color: residential#dbd75a; } area[landuse=garages], relation[landuse=garages] >[role=outer] way { fill-color: garages#aaa9a9; } area[landuse=retail], relation[landuse=retail] >[role=outer] way { fill-color: retail#d4831c; } area[landuse=commercial], relation[landuse=commercial] >[role=outer] way { fill-color: commercial#ffc4ee; } area[landuse=industrial], relation[landuse=industrial] >[role=outer] way { fill-color: industrial#e3a3f4; } area[landuse=brownfield], relation[landuse=brownfield] >[role=outer] way { fill-color: brownfield#785800; } area[landuse=greenfield], relation[landuse=greenfield] >[role=outer] way { fill-color: greenfield#b1ec5c; } area[landuse=railway], relation[landuse=railway] >[role=outer] way { fill-color: landuse_railway#d795c4; } area[landuse=construction], relation[landuse=construction] >[role=outer] way { fill-color: construction#dddf00; } area[landuse=construction]::fill { fill-image: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/patterns/pattern-construction.png"; } way[landuse=construction] { color: construction#dddf00; dashes: 9,9; } area[landuse=military], relation[landuse=military] >[role=outer] way { fill-color: military#b62c2c; } area[landuse=religious], relation[landuse=religious] >[role=outer] way { fill-color: religious#ffd454; } area[landuse=religious]::fill { fill-image: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/patterns/pattern-christian.svg"; } area[landuse=cemetery], relation[landuse=cemetery] >[role=outer] way { fill-color: cemetery#b1efc8; } area[landuse=cemetery] { fill-image: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/patterns/pattern-cemetery.svg"; } area[landuse=village_green], relation[landuse=village_green] >[role=outer] way { fill-color: green#b1e0c2; } area[landuse=recreation_ground], relation[landuse=recreation_ground] >[role=outer] way { fill-color: green#b1e0c2; } /*****************/ /* military tags */ /*****************/ /*TO DO*/ area[military=airfield], area[military=bunker], area[military=barracks], area[military=danger_area], area[military=range] { fill-color: military#b62c2c; } *[military=airfield] { icon-image: "presets/transport/airport/airfield.svg"; } *[military=bunker] { icon-image: "presets/landmark/bunker.svg"; } *[military=barracks][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; } *[military=danger_area] { icon-image: "presets/misc/danger.svg"; } *[military=range] { icon-image: "presets/sport/range.svg"; } /****************************/ /* Railway (OpenRailwayMap) */ /****************************/ settings::railways { label: "Railways"; } setting::railway_maxspeed { type: boolean; label: Show maxspeed for all railways; default: false; group: railways; } setting::railway_icons { type: boolean; label: Use advanced icons; /* TO DO */ default: false; group: railways; } /*TO DO*/ area[railway=station] { fill-color: railwaypoint#f7efb7; } node[railway=station] { icon-image: "presets/transport/railway_station.svg"; } node[railway=halt] { icon-image: "presets/transport/railway_halt.svg"; } node[railway=tram_stop] { icon-image: "presets/transport/tram.svg"; } node[railway=subway_entrance] { icon-image: "presets/transport/underground.svg"; } node[railway=crossing] { icon-image: "presets/transport/railway/crossing.svg"; } node[railway=level_crossing] { icon-image: "presets/transport/railway/level_crossing.svg"; } way[railway=rail] { width: 2.5; color: prop(white2); dashes: 12,12; outer-color: raildashed#333; outer-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] { modifier: false; /* don't draw default way if there is no line on default layer */ width: 2; color: prop(white2); dashes: 12,12; outer-color: prop(gray1); outer-width: 2; } way[railway=light_rail] { width: 2; color: prop(white2); dashes: 12,12; outer-color: prop(gray1); outer-width: 2; } way[railway=subway] { width: 2.5; color: prop(white2); dashes: 12,12; outer-color: raildashed#333; outer-width: 2; } way[railway=preserved] { width: 2; color: prop(white2); dashes: 9,9; outer-color: prop(gray1); outer-width: 2; } way[railway=rail][service=~/crossover|siding|yard|spur/], way[!highway][railway=tram][service=~/crossover|siding|yard|spur/], way[railway=light_rail][service=~/crossover|siding|yard|spur/], way[railway=subway][service=~/crossover|siding|yard|spur/], way[railway=preserved][service=~/crossover|siding|yard|spur/] { width: 2; color: prop(white1); dashes: 12,12; outer-color: raildashed#777; opacity: 1; } /* 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] { width: 2; color: rail#eeeeee; dashes: 12,12; outer-color: raildashed#808080; casing-width: 2; } way[railway=abandoned][highway]::core_railway, way[railway=abandoned][!highway] { width: 1; modifier: false; 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: list(6 * prop(zoom,default), 6 * prop(zoom,default)); } area[railway=~/turntable|loading_ramp/] { fill-color: rail#404040; } node[railway=turntable] { icon-image: "presets/transport/railway/turntable.svg"; } node[railway=buffer_stop] { icon-image: "presets/transport/railway/buffer_stop.svg"; } area[railway=platform]:closed { fill-color: rail#404040; } way[railway=funicular] { width: 1; color: rail#404040; dashes: 9,9; } node[railway=switch][!setting(railway_icons)] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/rails-switch.svg"; } node[railway=switch][setting(railway_icons)] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/sign-switch.svg"; } node[railway=switch]["railway:switch"=~/^(single_slip|double_slip)$/][!setting(railway_icons)] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/rails-switch-slip.svg"; } node[railway=switch]["railway:switch"=~/^(single_slip|double_slip)$/][setting(railway_icons)] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/sign-switch-slip.svg"; } node[railway=switch]["railway:switch"=default][railway:turnout_side=right] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/sign-switch-right.svg"; } node[railway=switch]["railway:switch"=default][railway:turnout_side=left] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/sign-switch-left.svg"; } node[railway=derail][!setting(railway_icons)] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/rails-derailer.svg"; } node[railway=derail][setting(railway_icons)] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/sign-derailer.svg"; } node[railway=railway_crossing] { icon-image: "presets/transport/railway/railway_crossing.svg"; } node[railway=signal] { icon-image: "presets/transport/railway/signal.svg"; } node[railway=milestone] { icon-image: "presets/transport/railway/milestone.svg"; } way[railway=proposed] { width: 3; color: prop(white3); casing-color: #888888; dashes: list(10 * prop(zoom,default), 5 * prop(zoom,default)); casing-dashes: prop(dashes); } way[railway=construction][!highway] { width: 2.5; color: construction#FC6C14; outer-color: raildashed#333; outer-width: 2; dashes: list(12 * prop(zoom,default), 12 * prop(zoom,default)); } way[railway=construction][construction=rail] { width: 3; } way[railway=construction][construction=light_rail] { width: 2; } /* Group tracks */ way|z2-[railway=rail][usage=main][!service], way|z8-[railway=rail][usage=branch][!service], way|z10-[railway=rail], way|z9-[railway=narrow_gauge], way|z10-[railway=light_rail], way|z10-[railway=subway], way|z11-[railway=tram] { set .tracks_present; } way|z9-[railway=disused]["disused:usage"="branch"][!"disused:service"]["disused:railway"!="light_rail"]["disused:railway"!="subway"]["disused:railway"!="tram"], way|z9-[railway=disused]["usage"="branch"][!"service"]["disused:railway"!="light_rail"]["disused:railway"!="subway"]["disused:railway"!="tram"], way|z9-[railway=disused]["disused:usage"="main"][!"disused:service"]["disused:railway"!="light_rail"]["disused:railway"!="subway"]["disused:railway"!="tram"], way|z9-[railway=disused]["usage"="main"][!"service"]["disused:railway"!="light_rail"]["disused:railway"!="subway"]["disused:railway"!="tram"], way|z10-[railway=disused]["disused:railway"!="tram"], way|z11-[railway=disused]["disused:railway"="tram"] { set .tracks_disused; } way|z9-[railway=abandoned]["abandoned:usage"="branch"][!"abandoned:service"]["abandoned:railway"!="light_rail"]["abandoned:railway"!="subway"]["abandoned:railway"!="tram"], way|z9-[railway=abandoned]["usage"="branch"][!"service"]["abandoned:railway"!="light_rail"]["abandoned:railway"!="subway"]["abandoned:railway"!="tram"], way|z9-[railway=abandoned]["abandoned:usage"="main"][!"abandoned:service"]["abandoned:railway"!="light_rail"]["abandoned:railway"!="subway"]["abandoned:railway"!="tram"], way|z9-[railway=abandoned]["usage"="main"][!"service"]["abandoned:railway"!="light_rail"]["abandoned:railway"!="subway"]["abandoned:railway"!="tram"], way|z10-[railway=abandoned]["abandoned:railway"!="tram"], way|z11-[railway=abandoned]["abandoned:railway"="tram"] { set .tracks_abandoned; } way|z9-[railway=preserved]["preserved:usage"="branch"][!"preserved:service"]["preserved:railway"!="light_rail"]["preserved:railway"!="subway"]["preserved:railway"!="tram"], way|z9-[railway=preserved]["usage"="branch"][!"service"]["preserved:railway"!="light_rail"]["preserved:railway"!="subway"]["preserved:railway"!="tram"], way|z9-[railway=preserved]["preserved:usage"="main"][!"preserved:service"]["preserved:railway"!="light_rail"]["preserved:railway"!="subway"]["preserved:railway"!="tram"], way|z9-[railway=preserved]["usage"="main"][!"service"]["preserved:railway"!="light_rail"]["preserved:railway"!="subway"]["preserved:railway"!="tram"], way|z10-[railway=preserved]["preserved:railway"!="tram"], way|z11-[railway=preserved]["preserved:railway"="tram"] { set .tracks_preserved; } way|z9-[railway=razed]["razed:usage"="branch"][!"razed:service"]["razed:railway"!="light_rail"]["razed:railway"!="subway"]["razed:railway"!="tram"], way|z9-[railway=razed]["usage"="branch"][!"service"]["razed:railway"!="light_rail"]["razed:railway"!="subway"]["razed:railway"!="tram"], way|z9-[railway=razed]["razed:usage"="main"][!"razed:service"]["razed:railway"!="light_rail"]["razed:railway"!="subway"]["razed:railway"!="tram"], way|z9-[railway=razed]["usage"="main"][!"service"]["razed:railway"!="light_rail"]["razed:railway"!="subway"]["razed:railway"!="tram"], way|z10-[railway=razed]["razed:railway"!="tram"], way|z11-[railway=razed]["razed:railway"="tram"] { set .tracks_razed; } way|z9-[railway=proposed]["proposed:usage"="branch"][!"proposed:service"][!"proposed"]["proposed:railway"!="light_rail"]["proposed:railway"!="subway"]["proposed:railway"!="tram"]["proposed:railway"!="platform"], way|z9-[railway=proposed]["usage"="branch"][!"service"][!"proposed"]["proposed:railway"!="light_rail"]["proposed:railway"!="subway"]["proposed:railway"!="tram"]["proposed:railway"!="platform"], way|z9-[railway=proposed]["proposed:usage"="main"][!"proposed:service"][!"proposed:railway"]["proposed"!="light_rail"]["proposed"!="subway"]["proposed"!="tram"]["proposed"!="platform"], way|z9-[railway=proposed]["usage"="main"][!"service"][!"proposed:railway"]["proposed"!="light_rail"]["proposed"!="subway"]["proposed"!="tram"]["proposed"!="platform"], way|z10-[railway=proposed]["proposed:railway"]["proposed:railway"!="tram"], way|z10-[railway=proposed][!"proposed:railway"]["proposed"!="tram"], way|z11-[railway=proposed]["proposed:railway"="tram"], way|z11-[railway=proposed][!"proposed:railway"]["proposed"="tram"] { set .tracks_proposed; } way|z9-[railway=construction]["construction:usage"="branch"][!"construction:service"][!"construction"]["construction:railway"!="light_rail"]["construction:railway"!="subway"]["construction:railway"!="tram"]["construction:railway"!="platform"], way|z9-[railway=construction]["usage"="branch"][!"service"][!"construction"]["construction:railway"!="light_rail"]["construction:railway"!="subway"]["construction:railway"!="tram"]["construction:railway"!="platform"], way|z9-[railway=construction]["construction:usage"="main"][!"construction:service"][!"construction:railway"]["construction"!="light_rail"]["construction"!="subway"]["construction"!="tram"]["construction"!="platform"], way|z9-[railway=construction]["usage"="main"][!"service"][!"construction:railway"]["construction"!="light_rail"]["construction"!="subway"]["construction"!="tram"]["construction"!="platform"], way|z10-[railway=construction]["construction:railway"]["construction:railway"!="tram"], way|z10-[railway=construction][!"construction:railway"]["construction"!="tram"], way|z11-[railway=construction]["construction:railway"="tram"], way|z11-[railway=construction][!"construction:railway"]["construction"="tram"] { set .tracks_construction; } node|z14-[railway=signal]["railway:signal:direction"]["railway:signal:speed_limit:deactivated"=yes]::deactivatedcross, node|z14-[railway=signal]["railway:signal:direction"]["railway:signal:speed_limit_distant:deactivated"=yes]::deactivatedcross { z-index: 100; icon-image: "icons/light-signal-deactivated-18.png"; icon-width: 9; icon-height: 9; } way.tracks_present, way.tracks_preserved { set .tracks; } way.tracks_construction, way.tracks_disused { set .dtracks; } way.tracks_proposed, way.tracks_construction, way.tracks_razed, way.tracks_abandoned { set ghosttracks; } /* common parts for all lines with maxspeed tag */ way|z16-[maxspeed=~/^[1-9][0-9]*$/]::maxspeed { text: "maxspeed"; } way[maxspeed=~/^[1-9][0-9]*$/].tracks { _maxspeed: eval(tag("maxspeed")); set .trackmaxspeed; set .speedshown; } /* Forward maxspeed */ way|z16-["railway:preferred_direction"="forward"]["maxspeed:forward"=~/^[1-9][0-9]*$/][is_prop_set(tracks,default)]::maxspeed, way|z16-["railway:preferred_direction"="backward"]["maxspeed:backward"!~/^[1-9][0-9]*$/]["maxspeed:forward"=~/^[1-9][0-9]*$/][is_prop_set(tracks,default)]::maxspeed, way|z16-[!"railway:preferred_direction"]["maxspeed:forward"=~/^[1-9][0-9]*$/][is_prop_set(tracks,default)]::maxspeed { text: "maxspeed:forward"; } way|z12-["railway:preferred_direction"="forward"]["maxspeed:forward"=~/^[1-9][0-9]*$/].tracks, way|z12-["railway:preferred_direction"="backward"]["maxspeed:backward"!~/^[1-9][0-9]*$/]["maxspeed:forward"=~/^[1-9][0-9]*$/].tracks, way|z12-[!"railway:preferred_direction"]["maxspeed:forward"=~/^[1-9][0-9]*$/].tracks { _maxspeed: eval(tag("maxspeed:forward")); set .trackmaxspeed; set .speedshown; } /* Backward maxspeed */ way|z16-["railway:preferred_direction"="backward"]["maxspeed:backward"=~/^[1-9][0-9]*$/][is_prop_set(tracks,default)]::maxspeed, way|z16-["railway:preferred_direction"="forward"]["maxspeed:forward"!~/^[1-9][0-9]*$/]["maxspeed:backward"=~/^[1-9][0-9]*$/][is_prop_set(tracks,default)]::maxspeed, way|z16-[!"railway:preferred_direction"]["maxspeed:forward"!~/^[1-9][0-9]*$/]["maxspeed:backward"=~/^[1-9][0-9]*$/][is_prop_set(tracks,default)]::maxspeed { text: "maxspeed:backward"; } way|z12-["railway:preferred_direction"="backward"]["maxspeed:backward"=~/^[1-9][0-9]*$/].tracks, way|z12-["railway:preferred_direction"="forward"]["maxspeed:forward"!~/^[1-9][0-9]*$/]["maxspeed:backward"=~/^[1-9][0-9]*$/].tracks, way|z12-[!"railway:preferred_direction"]["maxspeed:forward"!~/^[1-9][0-9]*$/]["maxspeed:backward"=~/^[1-9][0-9]*$/].tracks { _maxspeed: eval(tag("maxspeed:backward")); set .trackmaxspeed; set .speedshown; } /* lines tagged in mph (miles per hour) */ way[maxspeed=~/^[1-9][0-9]* mph$/].tracks { _maxspeed: eval(replace(tag("maxspeed"), " mph", "") * 1.609344); set .speedshown; } way.speedshown { casing-color: eval( cond(prop("_maxspeed") <= 10, "#0100CB", cond(prop("_maxspeed") <= 20, "#001ECB", cond(prop("_maxspeed") <= 30, "#003DCB", cond(prop("_maxspeed") <= 40, "#005BCB", cond(prop("_maxspeed") <= 50, "#007ACB", cond(prop("_maxspeed") <= 60, "#0098CB", cond(prop("_maxspeed") <= 70, "#00B7CB", cond(prop("_maxspeed") <= 80, "#00CBC1", cond(prop("_maxspeed") <= 90, "#00CBA2", cond(prop("_maxspeed") <= 100, "#00CB84", cond(prop("_maxspeed") <= 110, "#00CB66", cond(prop("_maxspeed") <= 120, "#00CB47", cond(prop("_maxspeed") <= 130, "#00CB29", cond(prop("_maxspeed") <= 140, "#00CB0A", cond(prop("_maxspeed") <= 150, "#14CB00", cond(prop("_maxspeed") <= 160, "#33CB00", cond(prop("_maxspeed") <= 170, "#51CB00", cond(prop("_maxspeed") <= 180, "#70CB00", cond(prop("_maxspeed") <= 190, "#8ECB00", cond(prop("_maxspeed") <= 200, "#ADCB00", cond(prop("_maxspeed") <= 210, "#CBCB00", cond(prop("_maxspeed") <= 220, "#CBAD00", cond(prop("_maxspeed") <= 230, "#CB8E00", cond(prop("_maxspeed") <= 240, "#CB7000", cond(prop("_maxspeed") <= 250, "#CB5100", cond(prop("_maxspeed") <= 260, "#CB3300", cond(prop("_maxspeed") <= 270, "#CB1400", cond(prop("_maxspeed") <= 280, "#CB0007", cond(prop("_maxspeed") <= 290, "#CB0025", cond(prop("_maxspeed") <= 300, "#CB0044", cond(prop("_maxspeed") <= 320, "#CB0062", cond(prop("_maxspeed") <= 340, "#CB0081", cond(prop("_maxspeed") <= 360, "#CB009F", cond(prop("_maxspeed") <= 380, "#CB00BD", "#BA00CB"))))))))))))))))))))))))))))))))))); set .trackmaxspeed; } way[maxspeed=~/^[1-9][0-9]*$/].dtracks { z-index: eval(1+tag("maxspeed")/10); _maxspeed: eval(tag("maxspeed")); set .trackmaxspeed; set .cspeedshown; } /* lines tagged in mph (miles per hour) */ way[maxspeed=~/^[1-9][0-9]* mph$/].dtracks { z-index: eval(1 + (replace(tag("maxspeed"), " mph", "") * 1.609344 / 10)); _maxspeed: eval(replace(tag("maxspeed"), " mph", "") * 1.609344); set .cspeedshown; } way.cspeedshown[setting(railway_maxspeed)] { casing-color: eval( cond(prop("_maxspeed") <= 10, "#9595e9", cond(prop("_maxspeed") <= 20, "#95a1e9", cond(prop("_maxspeed") <= 30, "#95aee9", cond(prop("_maxspeed") <= 40, "#95bbe9", cond(prop("_maxspeed") <= 50, "#95c8e9", cond(prop("_maxspeed") <= 60, "#95d4e9", cond(prop("_maxspeed") <= 70, "#95e1e9", cond(prop("_maxspeed") <= 80, "#95e9e5", cond(prop("_maxspeed") <= 90, "#95e9d8", cond(prop("_maxspeed") <= 100, "#95e9cc", cond(prop("_maxspeed") <= 110, "#95e9bf", cond(prop("_maxspeed") <= 120, "#95e9b3", cond(prop("_maxspeed") <= 130, "#95e9a6", cond(prop("_maxspeed") <= 140, "#95e999", cond(prop("_maxspeed") <= 150, "#9de995", cond(prop("_maxspeed") <= 160, "#aae995", cond(prop("_maxspeed") <= 170, "#b7e995", cond(prop("_maxspeed") <= 180, "#c4e995", cond(prop("_maxspeed") <= 190, "#d0e995", cond(prop("_maxspeed") <= 200, "#dde995", cond(prop("_maxspeed") <= 210, "#e9e995", cond(prop("_maxspeed") <= 220, "#e9dd95", cond(prop("_maxspeed") <= 230, "#e9d095", cond(prop("_maxspeed") <= 240, "#e9c495", cond(prop("_maxspeed") <= 250, "#e9b795", cond(prop("_maxspeed") <= 260, "#e9aa95", cond(prop("_maxspeed") <= 270, "#e99d95", cond(prop("_maxspeed") <= 280, "#e99598", cond(prop("_maxspeed") <= 290, "#e995a4", cond(prop("_maxspeed") <= 300, "#e995b1", cond(prop("_maxspeed") <= 320, "#e995be", cond(prop("_maxspeed") <= 340, "#e995cb", cond(prop("_maxspeed") <= 360, "#e995d7", cond(prop("_maxspeed") <= 380, "#e995e4", "#e295e9"))))))))))))))))))))))))))))))))))); set .trackmaxspeed; } way|z16-::maxspeed { text-position: line; text-offset-y: -10; font-size: 9; font-family: setting(font); font-weight: bold; text-halo-radius: 1; text-halo-color: is_prop_set(trackmaxspeed,default) ? prop(casing-color,default) : prop(white,default); text-color: eval((red(prop(text-halo-color)) * 0.299 + green(prop(text-halo-color)) * 0.587 + blue(prop(text-halo-color)) * 0.114) > 0.5 ? prop(black2) : prop(white1) ); } way|z16-::track_ref { text: tag("railway:track_ref"); text-position: line; text-offset-y: 10; text-color: prop(black,default); font-size: 9; font-family: setting(font); font-weight: bold; text-halo-radius: 1; text-halo-color: prop(white,default); } /****************/ /* aeroway tags */ /****************/ /*TO DO*/ area[aeroway=aerodrome] { fill-color: aeroway#660000; width: 2; dashes: 9,9; } *[aeroway=aerodrome][military!=airfield] { icon-image: "presets/transport/airport.svg"; } area[aeroway=terminal] { fill-color: terminal#bb0000; } *[aeroway=terminal] { icon-image: "presets/transport/airport/terminal.svg"; } area[aeroway=helipad] { fill-color: aeroway_dark#330000; } *[aeroway=helipad] { icon-image: "presets/transport/airport/helipad.svg"; } area[aeroway=runway]:closed { fill-color: aeroway_dark#330000; } way[aeroway=runway] { z-index: 2; modifier: false; width: 3; color: prop(white2); casing-color: #330000; casing-width: 2; dashes: 20,20; } area[aeroway=taxiway]:closed { fill-color: aeroway#660000; } way[aeroway=taxiway] { width: 2; color: aeroway#dddF00; } way[aeroway=parking_position] { width: 1; color: aeroway#660000; } *[aeroway=parking_position] { icon-image: "presets/transport/airport/parking_position.svg"; } area[aeroway=apron], area[aeroway=hangar] { fill-color: aeroway_light#990000; } *[aeroway=holding_position] { icon-image: "presets/transport/airport/holding_position.svg"; } *[aeroway=hangar] { icon-image: "presets/transport/airport/hangar.svg"; } *[aeroway=gate] { icon-image: "presets/transport/airport/gate.svg"; } *[airmark=beacon] { icon-image: "presets/transport/airport/airmark_beacon.svg"; } *[aeroway=navigationaid] { icon-image: "presets/transport/airport/navigationaid.svg"; } *[aeroway=navigationaid][navigationaid=papi] { icon-image: "presets/transport/airport/papi.svg"; } *[aeroway=navigationaid][navigationaid=vasi] { icon-image: "presets/transport/airport/vasi.svg"; } *[aeroway=windsock] { icon-image: "presets/transport/airport/windsock.svg"; } /******************/ /* aerialway tags */ /******************/ way[aerialway] { width: 4; color: aerialway#cc5555; casing-width: 1; casing-color: prop(gray); } *[aerialway] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/aerialway.svg"; } way[aerialway] { icon-offset-y: 20; } way[aerialway=cable_car] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/aerialway-car.svg"; } way[aerialway=gondola] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/aerialway-gondola.svg"; } way[aerialway=chair_lift] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/aerialway-chairlift.svg"; } *[aerialway=station] { fill-color: aerialway#a8a8a8; icon-image: "presets/transport/aerialway/station.svg"; /*TO DO*/ } node[aerialway=pylon] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/aerialway-pole.svg"; } /*************************/ /* public_transport tags */ /*************************/ /*TO DO*/ node[highway=bus_stop] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/sign-bus-stop.svg"; } node[public_transport=stop_position] { icon-image: "presets/transport/stop_position.svg"; } node[public_transport=stop_position][share_taxi=yes] { icon-image: "presets/transport/share_taxi.svg"; } node[public_transport=stop_position][bus=yes] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/sign-bus-stop.svg"; } node[public_transport=stop_position][train=yes] { icon-image: "presets/transport/train.svg"; } node[public_transport=stop_position][light_rail=yes] { icon-image: "presets/transport/railway/light_rail.svg"; } node[public_transport=stop_position][tram=yes] { icon-image: "presets/transport/railway/tram.svg"; } node[public_transport=stop_position][subway=yes] { icon-image: "presets/transport/railway/subway.svg"; } node[public_transport=stop_position][monorail=yes] { icon-image: "presets/transport/railway/monorail.svg"; } node[public_transport=stop_position][trolleybus=yes] { icon-image: "presets/transport/trolleybus.svg"; } node[public_transport=stop_position][funicular=yes] { icon-image: "presets/transport/railway/funicular.svg"; } node[public_transport=stop_position][aerialway=yes] { icon-image: "presets/transport/aerialway/station.svg"; } node[public_transport=stop_position][ferry=yes] { icon-image: "presets/nautical/ferry.svg"; } area[public_transport=platform]:closed { fill-color: platform_area#808080; } way[public_transport=platform]!:closed, way[railway=platform]!:closed, way[highway=platform]!:closed { width: 5; color: prop(tan); casing-color: prop(gray1); casing-width: 1; } node[public_transport=platform] { icon-image: "presets/transport/platform.svg"; } node[public_transport=platform][bus] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/sign-bus.svg"; } area[public_transport=station] { fill-color: railwaypoint#808080; } node[public_transport=station] { icon-image: "presets/transport/station.svg"; } /**************/ /* sport tags */ /**************/ way[roller_coaster=track]{ width: 2; color: #DDDDDD; dashes: 4,1; casing-width: 1; cassing-color: ##565656; } way[roller_coaster=support]{ width: 3; color: support#707070; } area[sport=~/9pin|10pin|soccer|australian_football|american_football|canadian_football|gaelic_games|rugby_league|rugby_union/] { fill-color: sport#bde3cb; } node[sport="9pin"] { icon-image: "presets/sport/9pin.svg"; } node[sport="10pin"] { icon-image: "presets/sport/10pin.svg"; } node[sport=soccer], node[sport=gaelic_games] { icon-image: "presets/sport/soccer.svg"; } node[sport=~/australian_football|american_football|canadian_football|rugby_league|rugby_union/] { icon-image: "presets/sport/football.svg"; } area[sport=~/baseball|basketball|boules|bowls|canoe|chess|cricket|croquet/], area[sport=climbing]:closed { fill-color: sport#bde3cb; } node[sport=baseball] { icon-image: "presets/sport/baseball.svg"; } node[sport=basketball] { icon-image: "presets/sport/basketball.svg"; } node[sport=boules] { icon-image: "presets/sport/boule.svg"; } node[sport=bowls] { icon-image: "presets/sport/boule.svg"; } node[sport=canoe] { icon-image: "presets/sport/canoe.svg"; } node[sport=chess] { icon-image: "presets/sport/chess.svg"; } node[sport=climbing] { icon-image: "presets/sport/climbing.svg"; } node[climbing=route_bottom] { icon-image: "presets/sport/climbing_route_bottom.svg"; } node[climbing=route_top] { icon-image: "presets/sport/climbing_route_top.svg"; } node[sport=cricket] { icon-image: "presets/sport/cricket.svg"; } node[sport=croquet] { icon-image: "presets/sport/croquet.svg"; } area[sport=~/cycling|dog_racing|equestrian|golf|gymnastics|field_hockey|ice_hockey|horse_racing/], area[sport=~/karting|motocross|motor/][highway!=raceway], area[sport=~/karting|motocross|motor/][highway=raceway][area?] { fill-color: sport#bde3cb; } node[sport=cycling] { icon-image: "presets/sport/cycling.svg"; } node[sport=dog_racing] { icon-image: "presets/sport/dog_racing.svg"; } node[sport=equestrian] { icon-image: "presets/sport/equestrian.svg"; } node[sport=golf] { icon-image: "presets/sport/golf.svg"; } node[sport=gymnastics] { icon-image: "presets/sport/gymnastics.svg"; } node[sport=field_hockey] { icon-image: "presets/sport/field_hockey.svg"; } node[sport=ice_hockey] { icon-image: "presets/sport/ice_hockey.svg"; } node[sport=curling] { icon-image: "presets/sport/curling.svg"; } node[sport=horse_racing] { icon-image: "presets/sport/riding.svg"; } node[sport=karting] { icon-image: "presets/sport/karting.svg"; } node[sport=motocross] { icon-image: "presets/sport/motocross.svg"; } node[sport=motor] { icon-image: "presets/sport/motor.svg"; } area[sport=athletics] { fill-color: sport_athletics#cfebd7; } node[sport=athletics] { icon-image: "presets/sport/athletics.svg"; } area[sport=running] { fill-color: sport_running#cfebd8; } node[sport=running] { icon-image: "presets/sport/running.svg"; } area[sport=multi] { fill-color: sport_multi#cfebd9; } node[sport=multi] { icon-image: "presets/sport/multi.svg"; } area[sport=~/pelota|racquet|ice_skating|roller_skating|skateboard/] { fill-color: sport#bde3cb; } node[sport=pelota] { icon-image: "presets/sport/pelota.svg"; } node[sport=racquet] { icon-image: "presets/sport/racquetball.svg"; } node[sport=ice_skating] { icon-image: "presets/sport/ice_skating.svg"; } node[sport=roller_skating] { icon-image: "presets/sport/roller_skating.svg"; } node[sport=skateboard] { icon-image: "presets/sport/skateboard.svg"; } area[sport=swimming] { fill-color: swimming_pool#51c4ef; } node[sport=swimming] { icon-image: "presets/sport/swimming.svg"; } area[sport=~/table_tennis|tennis|paintball/] { fill-color: sport#bde3cb; } node[sport=table_tennis] { icon-image: "presets/sport/table_tennis.svg"; } node[sport=tennis] { icon-image: "presets/sport/tennis.svg"; } node[sport=paintball][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; } area[sport=~/squash|shooting|volleyball|beachvolleyball|billiards|bowling|handball|rowing|sailing|scuba_diving|badminton/] { fill-color: sport#bde3cb; } node[sport=squash][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; } node[sport=shooting] { icon-image: "presets/sport/range.svg"; } node[sport=volleyball] { icon-image: "presets/sport/volleyball.svg"; } node[sport=beachvolleyball] { icon-image: "presets/sport/beachvolleyball.svg"; } node[sport=billiards] { icon-image: "presets/sport/billiards.svg"; } node[sport=bowling] { icon-image: "presets/sport/9pin.svg"; } node[sport=handball] { icon-image: "presets/sport/handball.svg"; } node[sport=rowing] { icon-image: "presets/sport/rowing.svg"; } node[sport=sailing][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; } node[sport=scuba_diving] { icon-image: "presets/sport/scuba_diving.svg"; } node[sport=badminton][!is_prop_set(icon-image)] { icon-image: "presets/misc/no_icon.svg"; } area[sport=~/archery|fishing|model_aerodrome|rc_car/] { fill-color: sport#bde3cb; } node[sport=archery] { icon-image: "presets/sport/archery.svg"; } node[sport=fishing] { icon-image: "presets/sport/fishing.svg"; } node[sport=model_aerodrome] { icon-image: "presets/transport/airport.svg"; } node[sport=rc_car] { icon-image: "presets/sport/rc_car.svg"; } /****************/ /* natural tags */ /****************/ node|z19-[/natural/]::species { font-size: 10; font-style: italic; text-color: prop(white); text-halo-radius: 1; text-halo-color: prop(black2); text: has_tag_key(concat("species:",JOSM_pref("language", ""))) ? tag(concat("species:",JOSM_pref("language", ""))) : has_tag_key(species) ? tag(species) : has_tag_key(concat("genus:",JOSM_pref("language", ""))) ? tag(concat("genus:",JOSM_pref("language", ""))) : has_tag_key(genus) ? tag(genus) : tag(geological); text-anchor-horizontal: center; text-offset-y: (has_tag_key(name) || has_tag_key(ref) ? -33 : tag(denotation) = natural_monument ? -26 : -19); } node|z18-[ref:gid]::ref { font-size: 10; text-color: prop(white); text-halo-radius: 1; text-halo-color: prop(black2); text: "ref:gid"; text-anchor-horizontal: center; text-offset-y: 15; } /*TO DO*/ area[natural=spring] { fill-color: light_water#3959ff; } node[natural=spring] { icon-image: "presets/landmark/spring.svg"; } node[natural=saddle] { icon-image: "presets/landmark/saddle.svg"; set icon_z0; set text_z0; } node[natural=peak] { icon-image: "presets/landmark/peak.svg"; set icon_z0; set text_z0; } node[natural=peak][tourism=viewpoint] { icon-image: "presets/sightseeing/peak_viewpoint.svg"; set icon_z0; set text_z0; } area[natural=glacier] { fill-color: prop(white2); } node[natural=volcano] { icon-image: "presets/landmark/volcano.svg"; set icon_z0; set text_z0; } area[natural=cliff]:closed { fill-color: natural#002f00; } way[natural=cliff] { width: 2; color: #b2b2b2; } node[natural=cliff] { icon-image: "presets/misc/cliff.svg"; } way[natural=ridge] { width: 1; color: natural#8CD05F; } way[natural=valley] { width: 1; color: natural#8CD05F; } area[natural=scree], relation[natural=scree] >[role=outer] way { fill-color: scree#c3c3c3; } area[natural=shingle], relation[natural=shingle] >[role=outer] way { fill-color: shingle#c3c3c3; } area[natural=scrub], relation[natural=scrub] >[role=outer] way { fill-color: scrub#51a10a; width: 1.5; } area[natural=scrub]::fill { fill-image: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/patterns/pattern-scrub.svg"; } area[natural=fell], relation[natural=scfellrub] >[role=outer] way { fill-color: natural#002f00; } area[natural=heath], relation[natural=heath] >[role=outer] way { fill-color: heath#dddfc0; } way[natural=tree_row] { width: 5; casing-width: 3; color: wood#8cd05f; casing-color: #52932d; } area[natural=wood], relation[natural=wood] >[role=outer] way, area[landuse=forest], relation[landuse=forest] >[role=outer] way { color: wood#077e07; fill-color: wood#077e07; width: 2; } area[natural=wood]::fill, area[landuse=forest]::fill { fill-image: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/patterns/pattern-wood.svg"; } area[natural=wood][leaf_type=broadleaved]::fill, area[landuse=forest][leaf_type=broadleaved]::fill { fill-image: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/patterns/pattern-wood-broadleaved.svg"; } area[natural=wood][leaf_type=needleleaved]::fill, area[landuse=forest][leaf_type=needleleaved]::fill { fill-image: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/patterns/pattern-wood-needleleaved.svg"; } area[natural=wood][leaf_type=leafless]::fill, area[landuse=forest][leaf_type=leafless]::fill { fill-image: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/patterns/pattern-wood-leafless.svg"; } area[natural=grassland], relation[natural=grassland] >[role=outer] way { fill-color: grassland#8cD05F; } area[natural=grassland]::fill{ fill-image: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/patterns/pattern-grass.png"; } area[natural=wetland], relation[natural=wetland] >[role=outer] way { fill-color: wetland#9bd6a1; } area[natural=wetland]::fill { fill-image: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/patterns/pattern-wetland.png"; } area[natural=wetland][wetland=bog]::fill { fill-image: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/patterns/pattern-wetland-bog.png"; } area[natural=wetland][wetland=marsh]::fill { fill-image: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/patterns/pattern-wetland-marsh.png"; } area[natural=wetland][wetland=reedbed]::fill { fill-image: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/patterns/pattern-wetland-reedbed.png"; } area[natural=wetland][wetland=swamp]::fill { fill-image: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/patterns/pattern-wetland-swamp.png"; } area[natural=water][!is_prop_set("fill-color")], relation[natural=water][!is_prop_set("fill-color")] >[role=outer] way[!is_prop_set("fill-color")] { fill-color: prop(water_color); } area[natural=water]::fill { fill-image: "https://raw.githubusercontent.com/Yukiroshi/Clean-JOSM/refs/heads/main/patterns/pattern-waves.png"; } area[natural=water][intermittent=yes] { width: 2; dashes: 15, 5; } way[natural=coastline] { width: 2.5; color: coastline#54e262; dashes: 5,3; z-index: 5; right-casing-color: coastline#4ee9d6; right-casing-width: 8; right-casing-opacity: 0.35; } area[natural=mud], relation[natural=mud] >[role=outer] way { fill-color: mud#cba762; } area[natural=beach], relation[natural=beach] >[role=outer] way { fill-color: beach#f9d09b; } area[natural=shoal], relation[natural=shoal] >[role=outer] way { fill-color: shoal#e1a965; } area[natural=sand], relation[natural=sand] >[role=outer] way { fill-color: sand#e7e79c; } area[natural=bare_rock], relation[natural=bare_rock] >[role=outer] way { fill-color: bare_rock#9d9d9d; } area[natural=rock], relation[natural=rock] >[role=outer] way { fill-color: stone#9d9d9d; } node[natural=rock] { icon-image: "presets/misc/rock.svg"; } area[natural=stone], relation[natural=stone] >[role=outer] way { fill-color: stone#f8f8c7; } node[natural=stone] { icon-image: "presets/misc/stone.svg"; } area[natural=bay], relation[natural=bay] >[role=outer] way { fill-color: natural#77D3DE; } area[natural=cape], relation[natural=cape] >[role=outer] way, area[natural=cave_entrance], relation[natural=cave_entrance] >[role=outer] way { fill-color: natural#7F7F7F; } node[natural=bay] { icon-image: "presets/nautical/bay.svg"; } node[natural=strait] { icon-image: "presets/nautical/strait.svg"; } node[natural=cape] { icon-image: "presets/nautical/cape.svg"; } node[natural=sinkhole] { icon-image: "presets/landmark/sinkhole.svg"; } node[natural=sinkhole][sinkhole=bluehole] { icon-image: "presets/landmark/bluehole.svg"; } node[natural=sinkhole][sinkhole=doline] { icon-image: "presets/landmark/doline.svg"; } node[natural=sinkhole][sinkhole=estavelle] { icon-image: "presets/landmark/estavelle.svg"; } node[natural=sinkhole][sinkhole=pit] { icon-image: "presets/landmark/pit.svg"; } node[natural=sinkhole][sinkhole=ponor] { icon-image: "presets/landmark/ponor.svg"; } node[natural=cave_entrance] { icon-image: "presets/landmark/cave_entrance.svg"; } *[natural=reef] { fill-color: reef#80c9ff; icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/coral-reef.svg"; } node[natural=shrub] { icon-image: "presets/landmark/shrub.svg"; } node[natural=tree] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/tree-BDOT.svg"; icon-opacity: 0.9; icon-height: 22; } node[natural=tree][leaf_type=needleleaved] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/tree-needleleaved-BDOT.svg"; } node[natural=tree][leaf_type=broadleaved] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/tree-broadleaved-BDOT.svg"; } node[natural=tree][leaf_type=palm] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/tree-palm.svg"; } node[natural=tree][leaf_type=leafless] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/tree-leafless.svg"; } node[natural=tree_stump] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/tree-stump.svg"; } node[denotation=natural_monument] { icon-height: 25; } node|z16-[denotation=natural_monument][inside("PL")]::natural_monument { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/natural-monument-PL.svg"; icon-height: 16; icon-offset-y: 10; icon-offset-x: 10; z-index: 0.99; } /****************/ /* tourism tags */ /****************/ /*TO DO*/ 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=camp_pitch], area[tourism=caravan_site] { fill-color: hotel#feced0; } *[tourism=hotel] { icon-image: "presets/accommodation/hotel.svg"; } *[tourism=motel] { icon-image: "presets/accommodation/motel.svg"; } *[tourism=guest_house] { icon-image: "presets/accommodation/guest_house.svg"; } *[tourism=apartment] { icon-image: "presets/accommodation/apartment.svg"; } *[tourism=hostel] { icon-image: "presets/accommodation/hostel.svg"; } *[tourism=chalet] { icon-image: "presets/accommodation/chalet.svg"; } *[tourism=alpine_hut] { icon-image: "presets/accommodation/alpine_hut.svg"; } *[tourism=wilderness_hut] { icon-image: "presets/accommodation/wilderness_hut.svg"; } *[tourism=camp_site] { icon-image: "presets/accommodation/camping.svg"; } *[tourism=camp_pitch] { icon-image: "presets/accommodation/camp_pitch.svg"; } *[tourism=caravan_site] { icon-image: "presets/accommodation/caravan.svg"; } area[tourism=attraction][!is_prop_set(fill-color)]:closed { fill-color: tourism#e180a2; } relation[tourism=attraction] >[role=outer] way[!is_prop_set(color)], way[tourism=attraction] { width: 2; color: tourism#e180a2; } *[tourism=attraction][!is_prop_set(icon-image)] { icon-image: "presets/sightseeing/attraction.svg"; } area[tourism=picnic_site], area[tourism=viewpoint], area[tourism=theme_park], area[tourism=zoo], area[tourism=gallery], area[tourism=museum] { fill-color: tourism#e180a2; } *[tourism=picnic_site] { icon-image: "presets/leisure/picnic.svg"; } node[tourism=viewpoint] { icon-image: "presets/sightseeing/viewpoint.svg"; } *[tourism=theme_park] { icon-image: "presets/leisure/theme_park.svg"; } *[tourism=zoo] { icon-image: "presets/leisure/zoo.svg"; } *[tourism=artwork][!highway] { text-halo-color: artwork#e180a2; width: 2; color: tourism#e180a2; fill-color: artwork#e180a2; } *[tourism=artwork] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/sculpture.svg"; } *[tourism=artwork][artwork_type=statue], *[historic=memorial][memorial=statue] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/statue.svg"; } *[tourism=artwork][artwork_type=bust], *[historic=memorial][memorial=bust] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/bust.svg"; } *[tourism=gallery] { icon-image: "presets/sightseeing/gallery.svg"; } *[tourism=museum] { icon-image: "presets/sightseeing/museum.svg"; } /*****************/ /* historic tags */ /*****************/ /*TO DO*/ area[historic][historic!=citywalls][!is_prop_set(fill-color)]:closed { fill-color: prop(brown); } area[historic=citywalls][area?][!is_prop_set(fill-color)]:closed { fill-color: prop(brown); } *[historic=fort] { icon-image: "presets/sightseeing/fort.svg"; } *[historic=castle] { icon-image: "presets/sightseeing/castle.svg"; } *[historic=monument] { icon-image: "presets/sightseeing/monument.svg"; } *[historic=memorial][!is_prop_set(icon-image)] { icon-image: "presets/sightseeing/memorial.svg"; } *[historic=memorial][memorial=plaque] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/plaque.svg"; } /* Some icons for memorial are in tourism section */ *[historic=archaeological_site] { icon-image: "presets/sightseeing/archaeological.svg"; } *[geological=palaeontological_site] { icon-image: "presets/sightseeing/palaeontological_site.svg"; } *[historic=ruins] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/ruins.svg"; } *[historic=battlefield] { icon-image: "presets/sightseeing/battlefield.svg"; } node[historic=cannon] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/cannon.svg"; } *[historic=locomotive] { icon-image: "presets/transport/railway/preserved.svg"; } *[historic=city_gate] { icon-image: "presets/sightseeing/city_gate.svg"; } *[historic=manor] { icon-image: "presets/sightseeing/manor.svg"; } *[historic=church] { icon-image: "presets/religion/historic_church.svg"; } *[historic=monastery] { icon-image: "presets/sightseeing/monastery.svg"; } *[historic=charcoal_pile] { icon-image: "presets/misc/charcoal_pile.svg"; } *[historic=mine], *[historic=mine_shaft] { icon-image: "presets/landmark/historic_mine.svg"; } *[historic=shieling] { icon-image: "presets/landmark/shieling.svg"; } *[historic=wayside_cross] { icon-image: "presets/religion/wayside_cross.svg"; } *[historic=wayside_shrine] { icon-image: "presets/religion/wayside_shrine.svg"; } *[historic=boundary_stone] { icon-image: "presets/landmark/boundary_stone.svg"; } *[historic=milestone] { icon-image: "presets/landmark/milestone.svg"; } *[cemetery=grave] { icon-image: "presets/misc/grave.svg"; fill-color: prop(brown); } *[cemetery=sector] { icon-image: "presets/misc/cemetery_sector.svg"; } *[historic=tomb] { icon-image: "presets/misc/tomb.svg"; } *|z17-[heritage]::heritage { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/heritage.svg"; icon-height: 16; icon-offset-y: -10; icon-offset-x: 10; z-index: 0.99; } /*****************/ /* waterway tags */ /*****************/ way[waterway] { outer-width: 0.5; } way[waterway=river] { width: 7; color: river#77d3de; outer-color: #3d6c71; } area[waterway=riverbank], relation[waterway=riverbank] >[role=outer] way { fill-color: riverbanak#3330cf; color: riverbank#3330cf; } way[waterway=~/pressurised|canal/] { width: 7; color: #77d3de; outer-color: #3d6c71; } way[waterway=stream] { width: 4; color: stream#77d3de; outer-color: #3d6c71; } way[waterway=~/ditch|drain/] { width: 4; color: water#8dabf3; outer-color: #3d6c71; } way[waterway][intermittent=yes] { dashes: 7,3; outer-dashes: 7,3; } *[waterway=dock] { icon-image: "presets/nautical/boatyard.svg"; fill-color: dock#3330cf; } way[waterway=lock_gate] { width: 3; color: lock_gate#303030; } node[waterway=lock_gate] { icon-image: "presets/nautical/lock_gate.svg"; } node[waterway=turning_point] { icon-image: "presets/nautical/turning.svg"; } *[waterway=boatyard] { icon-image: "presets/nautical/boatyard.svg"; fill-color: manmade#d8d8d8; } node[mooring] { icon-image: "presets/nautical/marina.svg"; } *[waterway=fuel] { icon-image: "presets/nautical/marine_fuel.svg"; fill-color: amenity_traffic#f7efb7; } way[waterway=weir] { width: 4; color: weir#77dddd; right-casing-color: weir#77dede; right-casing-width: 8; right-casing-opacity: 0.35; } node[waterway=weir] { icon-image: "presets/nautical/weir.svg"; } area[waterway=dam] { fill-color: manmade#a8a8a8; } way[waterway=dam][!area?] { width: 4; color: prop(white5); outer-color: #626262; outer-width: 2; } way[waterway=fish_pass] { width: 4; color: river#77d3de; outer-color: #626262; outer-width: 2; } way[waterway=fish_pass][tunnel] { color: stream#618787; outer-color: #3d6c71; } node[waterway=dam] { icon-image: "presets/nautical/dam.svg"; } way[waterway=waterfall] { width: 2; color: manmade#d8d8d8; } node[waterway=waterfall] { icon-image: "presets/nautical/waterfall.svg"; } /**************/ /* route tags */ /**************/ way[route=ferry] { width: 1; color: ferry#58a9ed; dashes: 9,9; } /*******************/ /* properties tags */ /*******************/ node[mountain_pass?] { icon-image: "presets/landmark/mountain_pass.svg"; /*TO DO*/ set icon_z0; set text_z0; } /*****************/ /* boundary tags */ /*****************/ way[boundary=administrative], relation[type=boundary][boundary=administrative] > way, way[boundary=postal_code], way[boundary=political], way[boundary=maritime] { casing-color: #82B5FE; } way[boundary=religious_administration], relation[type=boundary][boundary=religious_administration] > way[!building] { width: 1.25; casing-color: #dba723; } way[boundary=protected_area], relation[type=boundary][boundary=protected_area] > way, way[boundary=national_park], relation[type=boundary][boundary=national_park] > way { casing-color: #83d75c; } way[boundary=forest_compartment], relation[type=boundary][boundary=forest_compartment] > way { width: 1.25; casing-color: #0c9415; } way[boundary], relation[type=boundary][boundary] > way { z-index: 2; modifier: false; width: 1.5; color: prop(white); casing-width: prop(width) * 1.5; dashes: 16,4,4,4; dashes-background-color: prop(casing-color); opacity: 0.75; casing-opacity: prop(opacity); } node[boundary=marker] { icon-image: "presets/landmark/boundary_marker.svg"; /*TO DO*/ } node[boundary=marker][marker=borderpole] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/borderpole.svg"; } node[boundary=country_border] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/border-crossing.svg"; } /******************/ /* maxspeed nodes */ /******************/ node[traffic_sign=maxspeed][!maxspeed] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/sign-maxspeed-alt.svg"; } node[traffic_sign=maxspeed][maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] { maxspeedprop: tag(maxspeed); set maxspeedclass; } node[traffic_sign=maxspeed][maxspeed=signals][!is_prop_set(icon-image)] { maxspeedprop: " ?"; set maxspeedclass; } node[traffic_sign=maxspeed][maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] { maxspeedprop: get(split(" mph",tag(maxspeed)),0); set maxspeedclass; } node[traffic_sign=maxspeed][maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] { maxspeedprop: get(split(" km/h",tag(maxspeed)),0); set maxspeedclass; } node[traffic_sign=maxspeed][maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] { maxspeedprop: get(split(" knots",tag(maxspeed)),0); set maxspeedclass; } node.maxspeedclass { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/sign-maxspeed.svg"; icon-height: 25; text: prop(maxspeedprop, default); font-size: 11; font-weight: bold; text-color: prop(black); text-anchor-horizontal: center; text-anchor-vertical: center; text-offset-x: 0.5; text-offset-y: -1; } node[traffic_sign=maxspeed][maxspeed=implicit] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/sign-maxspeed-implicit.svg"; text: false; } node|z-15[prop(maxspeedclass, default)][setting("clean_view")] { text: false; symbol-shape: none; icon-image: none; } /**************/ /* place tags */ /**************/ area[setting("place_fill_colour")][place] area[place=~/island|islet/] { fill-color: island#8de3cb; } node[place] { set icon_z0; set text_z0; font-weight: bold; } node[place=~/continent|country|state|region|county/] { icon-image: "presets/place/capital.svg"; font-size: 25; z-index: 2.9; } node[place=city] { icon-image: "presets/place/city.svg"; font-size: 20; z-index: 2.8; } node[place=town] { icon-image: "presets/place/town.svg"; font-size: 17; z-index: 2.7; } node[place=suburb] { icon-image: "presets/place/suburb.svg"; font-size: 14; z-index: 2.6; } node[place=village] { icon-image: "presets/place/village.svg"; font-size: 13; z-index: 2.5; } node[place=quarter] { icon-image: "presets/place/quarter.svg"; font-size: 13; z-index: 2.5; } node[place=neighbourhood] { icon-image: "presets/place/neighbourhood.svg"; font-size: 11; z-index: 2.4; } node[place=hamlet] { icon-image: "presets/place/hamlet.svg"; font-size: 11; z-index: 2.3; } node[place=municipality] { icon-image: "presets/place/municipality.svg"; font-size: 11; z-index: 2.21; } node[place=isolated_dwelling] { icon-image: "presets/place/isolated_dwelling.svg"; font-size: 9; z-index: 2.2; } node[place=farm] { icon-image: "presets/place/farm.svg"; font-size: 7; z-index: 2.1; } node[place=city_block] { icon-image: "presets/place/cityblock.svg"; font-size: 7; z-index: 2.1; } node|z15-[place=locality], node|z-14[place=locality][!setting("clean_view")] { icon-image: "presets/place/locality.svg"; font-size: 7; font-weight: bold; } node[place=island] { icon-image: "presets/place/island.svg"; /*TO DO*/ } *[place=islet] { icon-image: "presets/place/islet.svg"; /*TO DO*/ } area[place=square] { fill-color: place#8de3cb; } node[place=square] { icon-image: "presets/place/square.svg"; /*TO DO*/ } /*****************************/ /* building/entrance */ /*****************************/ relation[building][!building?!][building!=y][building!=1] >[role=outer] way { color: building#e06e5f; width: 2; } relation[building][!building?!][building!=y][building!=1] >[role=inner] way { color: building#e06e5f; width: 1.5; } area[building][!building?!][building!=y][building!=1] { fill-color: building#e06e5f; width: 2; } area[building=roof], area[building][!building?!][wall?!], area[building:part][!building:part?!] { fill-color: buildingpart#b59494; } *[building=~/^house$|^detached$/][!is_prop_set(icon-image)] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/building-house.svg"; } *[building=~/barn|farm_auxiliary/][!is_prop_set(icon-image)] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/barn.svg"; } *[building=carport][!is_prop_set(icon-image)] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/carport.svg"; } *[building=garage][!is_prop_set(icon-image)] { icon-image: "presets/landuse/garages.svg"; /*TO DO*/ } *[building=garages][!is_prop_set(icon-image)] { icon-image: "presets/landuse/garages.svg"; /*TO DO*/ } *[building=transformer_tower][!is_prop_set(icon-image)] { icon-image: "presets/power/transformer_tower.svg"; /*TO DO*/ } *[building][!building?!][!is_prop_set(icon-image)] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/building.svg"; } node[entrance] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/entrance.svg"; } node[entrance=main] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/entrance-main.svg"; } node[entrance=service] { icon-image: "presets/misc/entrance_service.svg"; /*TO DO*/ } node[entrance=exit] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/entrance-exit.svg"; } node[entrance=emergency] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/entrance-emergency.svg"; } area[indoor][!is_prop_set(fill-color)]:closed { width: 1; fill-color: prop(white1); } setting::highlight_buildings { type: boolean; label: tr("Highlight buildings which might need changes (mainly for plbuldings plugin)"); default: false; group: validation; } area[building][!source:building][setting(highlight_buildings)]::highlight, relation[building][!source:building] > way[setting(highlight_buildings)]::highlight, area[building][source="www.geoportal.gov.pl"][setting(highlight_buildings)]::highlight, relation[building][source="www.geoportal.gov.pl"] > way[setting(highlight_buildings)]::highlight { color: prop(reddish, default); width: 3 * prop(zoom, default); dashes: 6,2; opacity: 1; text-color: prop(reddish, default); font-size: 12; major-z-index: 3.1; } /****************/ /* barrier tags */ /****************/ node[barrier] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/barrier.svg"; } node[barrier=bollard], node[lamp_mount=bollard] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/bollard.svg"; } node[barrier=gate] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/gate.svg"; } node[barrier=kerb] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/kerb-unspecified.svg"; } node[barrier=kerb][kerb=lowered] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/kerb-lowered.svg"; } node[barrier=kerb][kerb=raised] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/kerb-raised.svg"; } node[barrier=kerb][kerb=flush] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/kerb-flush.svg"; } node[barrier=kerb][kerb=rolled] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/kerb-rolled.svg"; } node[barrier=block] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/block.svg"; } node[barrier=chain] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/chain.svg"; } node[barrier=stile] { icon-image: "presets/barrier/stile.svg"; } node[barrier=turnstile] { icon-image: "presets/barrier/turnstile.svg"; } node[barrier=full-height_turnstile] { icon-image: "presets/barrier/full-height_turnstile.svg"; } node[barrier=cycle_barrier] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/cycle-barrier.svg"; } node[barrier=lift_gate] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/lift-gate.svg"; } node[barrier=swing_gate] { icon-image: "presets/barrier/swing_gate.svg"; } node[barrier=wicket_gate] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/wicket-gate.svg"; } area[barrier=toll_booth]:closed { fill-color: barrier#F0F050; } node[barrier=toll_booth] { icon-image: "presets/barrier/toll_station.svg"; } node[barrier=entrance] { icon-image: "presets/barrier/entrance.svg"; } node[barrier=cattle_grid] { icon-image: "presets/barrier/cattle_grid.svg"; } node[barrier=border_control] { icon-image: "presets/barrier/douane.svg"; } node[barrier=sally_port] { icon-image: "presets/barrier/sally_port.svg"; } node[barrier=spikes] { icon-image: "presets/barrier/spikes.svg"; } node[barrier=jersey_barrier] { icon-image: "presets/barrier/jersey_barrier.svg"; } node[barrier=log] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/log.svg"; } node[barrier=kissing_gate] { icon-image: "presets/barrier/kissing_gate.svg"; } node[barrier=bump_gate] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/bump-gate.svg"; } node[barrier=bus_trap] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/MakiMaki/refs/heads/main/icons/bus-guided.svg"; } node[barrier=hampshire_gate] { icon-image: "presets/misc/no_icon.svg"; } way[barrier] { width: 1.5; color: prop(white2); casing-color: prop(gray1); dashes: list(12 * prop(zoom,default), 2 * prop(zoom,default), 2 * prop(zoom,default), 2 * prop(zoom,default)); z-index: 0.15; } way[barrier=log] { width: 2; casing-width: 2; color: prop(light_brown); casing-color: prop(brown); dashes: list(12 * prop(zoom,default), 2 * prop(zoom,default), 2 * prop(zoom,default), 2 * prop(zoom,default)); } way[barrier=fence][fence_type=railing], way[barrier=handrail] { width: 1; } way[barrier=fence][fence_type=wood] { color: fence_wood#b47e50; } way[barrier=bollard] { width: 3; casing-width: 1; casing-color: prop(black2); casing-dashes: list(1 * prop(zoom,default), 15 * prop(zoom,default)); casing-linecap: round; dashes: list(1 * prop(zoom,default), 15 * prop(zoom,default)); linecap: round; } way[barrier=hedge] { width: 2; color: wood#8cd05f; casing-color: #52932d; } way[barrier=kerb] { width: 1.5; color: prop(white5); casing-color: prop(gray2); dashes: list(12 * prop(zoom,default), 2 * prop(zoom,default), 6 * prop(zoom,default), 2 * prop(zoom,default)); } way[barrier=wall] { width: 2; color: prop(white2); dashes: list(12 * prop(zoom,default), 3 * prop(zoom,default), 6 * prop(zoom,default), 3 * prop(zoom,default)); } area[barrier=wall][area?][!is_prop_set(fill-color)]:closed { fill-color: prop(gray2); } area[barrier=city_wall][area?][!is_prop_set(fill-color)]:closed { fill-color: prop(gray2); } way[barrier=city_wall] { width: 3; color: prop(white3); dashes: list(12 * prop(zoom,default), 3 * prop(zoom,default), 6 * prop(zoom,default), 3 * prop(zoom,default)); casing-color: #663300; right-casing-color: prop(white2); right-casing-width: 4; right-casing-opacity: 0.5; } way[barrier=guard_rail] { width: 2; color: prop(white2); right-casing-color: prop(white2); right-casing-width: 4; right-casing-opacity: 0.35; } way[barrier=retaining_wall] { width: 2; color: prop(white2); dashes: list(12 * prop(zoom,default), 3 * prop(zoom,default), 6 * prop(zoom,default), 3 * prop(zoom,default)); } way[barrier=jersey_barrier] { repeat-image: "presets/barrier/kerb_pattern.svg"; repeat-image-align: top; } area[barrier=planter] { width: 2; dashes: list(12 * prop(zoom,default), 2 * prop(zoom,default)); } /* Brands */ *[shop][brand*="Aldi"] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/Logos/refs/heads/main/Aldi-Nord.svg"; } *[shop][brand*="abc"] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/Logos/refs/heads/main/abc.svg"; } *[shop][brand*="Żabka"] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/Logos/refs/heads/main/Zabka.svg"; } *[shop][brand*="Żabka"][name*="Nano"] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/Logos/refs/heads/main/Zabka-Nano.svg"; } *[shop][brand*="Lewiatan"] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/Logos/refs/heads/main/Lewiatan.svg"; } *[shop][brand*="Biedronka"] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/Logos/refs/heads/main/Biedronka.svg"; } *[shop][brand*="Lidl"] { icon-height: 30; icon-image: "https://raw.githubusercontent.com/Yukiroshi/Logos/refs/heads/main/Lidl.svg"; } *[shop][brand*="Kaufland"] { icon-image: "https://static.wikia.nocookie.net/logopedia/images/4/4c/Kaufland_2017_Logo.svg"; } *[shop][brand*="Netto"] { icon-image: "https://static.wikia.nocookie.net/logopedia/images/7/7c/Netto_2019.svg"; } *[shop][brand*="Auchan"] { icon-image: "https://static.wikia.nocookie.net/logopedia/images/9/9e/Auchan_2018.svg"; } *[shop][brand*="Dino"] { icon-image: "https://static.wikia.nocookie.net/logopedia/images/7/7c/Dino_logo.svg"; } *[shop][brand*="Carrefour"] { icon-image: "https://static.wikia.nocookie.net/logopedia/images/9/92/Carrefour_2022.svg"; } *[shop][brand*="Rossmann"] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/Logos/refs/heads/main/Rossmann.svg"; } *[shop][brand*="Hebe"] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/Logos/refs/heads/main/Hebe.svg"; } *[shop][brand*="dm"] { icon-image: "https://static.wikia.nocookie.net/logopedia/images/8/84/DM_logo.svg"; } *[shop][brand*="Dealz"] { icon-image: "https://static.wikia.nocookie.net/logopedia/images/a/a9/Dealz_2023.svg"; } *[shop][brand*="TEDi"] { icon-image: "https://static.wikia.nocookie.net/logopedia/images/f/f8/TEDi_Logo.svg"; } *[shop][brand*="Pepco"] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/Logos/refs/heads/main/Pepco.svg"; } *[shop][brand*="H&M"] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/Logos/refs/heads/main/HM.svg"; } *[shop][brand*="New Yorker"] { icon-height: 10; icon-image: "https://static.wikia.nocookie.net/logopedia/images/d/d8/New_Yorker.svg"; } *[shop][brand*="CCC"] { icon-height: 10; icon-image: "https://static.wikia.nocookie.net/logopedia/images/7/7f/CCC_orange.svg"; } *[shop][brand*="Cropp"] { icon-height: 10; icon-image: "https://static.wikia.nocookie.net/logopedia/images/8/87/CroppColor2.svg"; } *[shop][brand*="House"] { icon-height: 10; icon-image: "https://static.wikia.nocookie.net/logopedia/images/f/f2/House_2022.svg"; } *[shop][brand*="Mohito"] { icon-height: 10; icon-image: "https://static.wikia.nocookie.net/logopedia/images/4/4d/Mohito_Logo.svg"; } *[shop][brand*="Reserved"] { icon-height: 10; icon-image: "https://static.wikia.nocookie.net/logopedia/images/f/f8/Reserved.svg"; } *[shop][brand*="Sinsay"] { icon-height: 10; icon-image: "https://static.wikia.nocookie.net/logopedia/images/6/61/Sinsay_logo.svg"; } *[shop][brand*="Zara"] { icon-height: 10; icon-image: "https://static.wikia.nocookie.net/logopedia/images/f/f6/Zara_2019.svg"; } *[shop][brand*="Zara Home"] { icon-height: 10; icon-image: "https://static.wikia.nocookie.net/logopedia/images/2/20/Zara_Home_2023.svg"; } *[shop][brand*="Bershka"] { icon-height: 10; icon-image: "https://static.wikia.nocookie.net/logopedia/images/f/f3/Bershka_2023.svg"; } *[shop][brand*="Stradivarius"] { icon-height: 10; icon-image: "https://static.wikia.nocookie.net/logopedia/images/2/24/Stradivarius_2022.svg"; } *[shop][brand*="Pull & Bear"] { icon-height: 10; icon-image: "https://static.wikia.nocookie.net/logopedia/images/2/27/Pull%26Bear_2023.svg"; } *[shop][brand*="HalfPrice"] { icon-height: 10; icon-image: "https://static.wikia.nocookie.net/logopedia/images/9/9a/HalfPrice.svg"; } *[shop][brand*="TK Maxx"] { icon-height: 10; icon-image: "https://static.wikia.nocookie.net/logopedia/images/d/de/T.K._Maxx.svg"; } *[shop][brand*="Media Markt"] { icon-image: "https://static.wikia.nocookie.net/logopedia/images/5/57/MediaMarkt_2024.svg"; } *[shop][brand*="Media Expert"] { icon-height: 50; icon-image: "https://raw.githubusercontent.com/Yukiroshi/Logos/refs/heads/main/Media-Expert.svg"; } *[shop][brand*="RTV Euro AGD"] { icon-height: 10; icon-image: "https://static.wikia.nocookie.net/logopedia/images/6/66/RTV_Euro_AGD.svg"; } *[shop][brand*="IKEA"] { icon-image: "https://static.wikia.nocookie.net/logopedia/images/4/4c/IKEA_2019.svg"; } *[shop][brand*="Agata Meble"] { icon-image: "https://static.wikia.nocookie.net/logopedia/images/c/c4/AgataMeble.svg"; } *[shop][brand*="Black Red White"] { icon-image: "https://static.wikia.nocookie.net/logopedia/images/f/fe/Black_Red_White_%282015%29.svg"; } *[brand*="InPost"] { icon-height: 30; icon-image: "https://raw.githubusercontent.com/Yukiroshi/Logos/refs/heads/main/InPost.svg"; } *[brand*="DHL"] { /* icon-image: "https://static.wikia.nocookie.net/logopedia/images/f/fc/DHL_Logo_2002.svg"; Broken for some reason */ } *[brand*="DPD"] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/Logos/refs/heads/main/DPD.svg"; icon-height: 25; } *[brand*="Poczta Polska"] { icon-height: 10; icon-image: "https://static.wikia.nocookie.net/logopedia/images/0/02/Poczta_Polska.svg"; } *[amenity][brand*="Burger King"] { icon-image: "https://static.wikia.nocookie.net/logopedia/images/c/cc/Burger_King_2020.svg"; } *[amenity][brand*="KFC"] { icon-image: "https://static.wikia.nocookie.net/logopedia/images/7/7e/KFC_%282018%29.svg"; } *[amenity][brand*="McDonald's"] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/Logos/refs/heads/main/McDonalds.svg"; } *[amenity][brand*="MOL"] { icon-image: "https://upload.wikimedia.org/wikipedia/commons/2/20/MOL_logo_2012.svg"; } *[amenity][brand*="Shell"] { icon-image: "https://static.wikia.nocookie.net/logopedia/images/4/4a/Shell.svg"; } *[brand*="Orlen"] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/Logos/refs/heads/main/Orlen.svg"; } *[brand*="Orlen Paczka"] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/Logos/refs/heads/main/Orlen-paczka.svg"; } *[amenity][brand*="Circle K"] { icon-image: "https://static.wikia.nocookie.net/logopedia/images/c/c8/Circle_K_%282015%29.svg"; } *[amenity][brand*="BP"] { icon-image: "https://static.wikia.nocookie.net/logopedia/images/4/4f/BP.svg"; } *[amenity][brand*="PKO BP"] { icon-image: "https://static.wikia.nocookie.net/logopedia/images/5/5e/PKO_Bank_Polski_2011.svg"; } *[amenity][brand*="mBank"] { icon-height: 15; icon-image: "https://static.wikia.nocookie.net/logopedia/images/8/8c/MBank_individual_%282020%29.svg"; } *[amenity][brand*="Millennium Bank"] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/Logos/refs/heads/main/Millenium-Bank.svg"; } *[amenity][brand*="Bank Pekao"] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/Logos/refs/heads/main/Bank-Pekao.svg"; } *[amenity][brand*="Euronet"] { icon-height: 50; icon-image: "https://raw.githubusercontent.com/Yukiroshi/Logos/refs/heads/main/Euronet.svg"; } *[amenity][brand*="BNP Paribas"] { icon-image: "https://raw.githubusercontent.com/Yukiroshi/Logos/refs/heads/main/BNP-Paribas.svg"; } *|z5-[fixme]::note_fixme { icon-image: "presets/misc/fixme_annotation.svg"; z-index: 0.99; set note_fixme; } *|z5-[note]::note_fixme { icon-image: "presets/misc/note_annotation.svg"; z-index: 0.99; set note_fixme; } *|z5-[note][fixme]::note_fixme { icon-image: "presets/misc/note_fixme_annotation.svg"; z-index: 0.99; set note_fixme; } way!.area::note_fixme { icon-position: line; } way.area::note_fixme { icon-position: center; } *.note_fixme::note_fixme { icon-height: 20; } /* Way renderer */ way[highway]!.area, way[railway]!.area, way[waterway]!.area, way[man_made=pipeline]!.area { z-index: 0.09; } way[highway]!.area, way[railway]!.area, way[waterway]!.area, way[man_made=pipeline]!.area, way[barrier] { width: prop(width) * prop(zoom,default); color: prop(color); dashes: prop(dashes); dashes-background-color: prop("dashes-background-color"); z-index: tag(location) = underground ? -0.1 + tag(layer) + prop(z-index) : tag(layer) + prop(z-index); opacity: 1; } way[highway]!.area::outer_line, way[railway]!.area::outer_line, way[waterway]!.area::outer_line, way[man_made=pipeline]!.area::outer_line, way[barrier]::outer_line { width: (prop(width, default) + prop("outer-width", default)) * prop(zoom,default); /* Needs zoom */ color: prop("outer-color", default); dashes: prop("outer-dashes", default); linecap: prop("outer-linecap", default); z-index: prop(z-index, default) -0.01; major-z-index: 3; opacity: is_prop_set(outer-color, default) ? 1 : 0; set other; } way[highway]!.area::casing_line, way[railway]!.area::casing_line, way[waterway]!.area::casing_line, way[man_made=pipeline]!.area::casing_line, way[barrier]::casing_line { width: ((prop(width, default) + prop("outer-width", default) * prop("casing-width", default)) + 3 ) * prop(zoom,default); /* Needs zoom */ color: prop("casing-color", default); dashes: prop("casing-dashes", default); linecap: prop("casing-linecap", default); z-index: prop(z-index, default) -0.015; major-z-index: 3; opacity: 1; set other; } way[highway][access][access!=yes]!.area::access { width: prop(width, outer_line); color: prop(gray1); dashes: 2,5; z-index: tag(layer) + 0.1; major-z-index: 3; opacity: 1; set other; } way[highway][access=no]!.area::access { color: #ff0000; } way[highway][access=private]!.area::access { color: #9000ff; } way[highway][access=forestry]!.area::access { color: #489f00; } way[highway][access=customers]!.area::access { color: #00d0ff; } way[highway][access=destination]!.area::access { color: #ff9500; } way[highway][access=permissive]!.area::access { color: #00ffbb; } way[highway][highway!~/track|proposed/][surface=paving_stones]!.area::casing_line { dashes: list(15 * prop(zoom,default),2 * prop(zoom,default)); } way[highway][highway!~/track|proposed/][surface=~/sett|bricks|cobblestone|unhewn_cobblestone/]!.area::casing_line { dashes: list(10 * prop(zoom,default),5 * prop(zoom,default)); } way[highway][highway!~/track|proposed/][surface=gravel]!.area::casing_line { dashes: list(3 * prop(zoom,default),6 * prop(zoom,default),2 * prop(zoom,default),4 * prop(zoom,default),5 * prop(zoom,default),3 * prop(zoom,default)); } /******************/ /* Bridge, tunnel etc*/ /******************/ area[man_made=bridge] { width: 3; color: prop(black2); fill-color: prop(black2); z-index: 0.06 + tag(layer); major-z-index: 3; } area[man_made=tunnel] { width: 3; color: prop(black2); fill-color: prop(black2); z-index: 0.1 + tag(layer); major-z-index: 3; } area[bridge:support] { width: 2; color: prop(gray1); fill-color: prop(gray1); } node[bridge:support] { icon-image: "presets/transport/bridge/bridge_support.svg"; } way[bridge][man_made!=bridge]!.area::bridge { width: (((prop(width, outer_line) + prop("outer-width", default) * prop("casing-width", default)) + 3 )) * 1.25; color: prop(black); opacity: 0.75; z-index: 0.06 + tag(layer); major-z-index: 3; } way[tunnel][man_made!=tunnel]!.area::tunnel { width: prop(width, casing_line); color: tunnel#333; dashes: is_prop_set(casing-dashes, default) ? prop(dashes, default) : 0; opacity: 0.5; z-index: 0.1 + tag(layer); major-z-index: 3; } way[covered][covered!=no]!.area::tunnel, way[bridge=covered]!.area::tunnel, way[location=underground]::tunnel { width: prop(width, casing_line); color: prop(black2); dashes: is_prop_set(casing-dashes, default) ? prop(dashes, default) : 0; opacity: 0.35; z-index: prop(z-index, default) + 0.01; major-z-index: 3; } /****************************************/ /* zoom levels and general node display */ /****************************************/ node|z-16[setting("clean_view")], node|z17-[!is_prop_set("icon-image")][setting("clean_view")]!.maxspeedclass, node[!is_prop_set("icon-image")][!setting("clean_view")]!.maxspeedclass { symbol-size: 2; } node { text-offset-y: -10; } node[/^disused:/] { text: false; } node { symbol-shape: circle; } node[!setting("round_symbols")], node:unconnected { symbol-shape: square; } node[!setting("round_symbols")]:unconnected { symbol-shape: triangle; } node { symbol-size: 6 ; symbol-stroke-color: prop(black2); symbol-stroke-width: 1 * prop(zoom_font,default); symbol-stroke-opacity: 0.75; } node[setting("high_contrast")] { symbol-size: 7 ; symbol-stroke-color: prop(white1); symbol-stroke-width: 1 * prop(zoom_font,default); symbol-stroke-opacity: 1; symbol-fill-color: prop(black2); } node:unconnected { symbol-size: prop(symbol-size) + 1; } node!:connection { symbol-fill-color: prop(white); } node[!is_prop_set(symbol-fill-color)] { symbol-fill-color: prop(white2); } way > node:connection { symbol-size: prop(symbol-size) + 1; symbol-fill-color: prop(white4); } way > node:connection[setting("high_contrast")] { symbol-stroke-color: prop(white1); symbol-fill-color: prop(black1); } way!:closed >[index=-1] node!:connection, way!:closed >[index=1] node!:connection { symbol-size: prop(symbol-size) + 2; symbol-fill-color: prop(white); } node:tagged { symbol-fill-color: #007bff; symbol-stroke-color: prop(white2); } way!.area { icon-position: line; text-position: line; text-offset-y: prop(width) -15; } area:closed { text-position: center; text-offset-y: -15; fill-opacity: 0.3; icon-opacity: 0.75; } area:closed[is_prop_set(icon-image)] { icon-position: inside; } node|z-17!:tagged[setting("clean_view")] { symbol-fill-opacity: 0; symbol-stroke-opacity: 0; } *|z-13[setting("clean_view")]!.icon_z0 { icon-image: none; } *|z-13[setting("clean_view")][is_prop_set(other,default)]::* { icon-image: none; symbol-fill-opacity: 0; symbol-stroke-opacity: 0; } area|z-16[setting("clean_view")]:closed!.icon_z0 { icon-image: none; } *|z-15[setting("clean_view")] { text: false; } *[setting("high_contrast")] { width: prop(width) * 1.05; casing-width: prop(casing-width) * 1.05; } node:selected { symbol-size: prop(symbol-size) + 2; symbol-fill-color: prop(reddish); symbol-stroke-color: prop(white); symbol-fill-opacity: 1; symbol-stroke-opacity: 1; } /*******************/ /* Text */ /*******************/ node { font-size: 12; text-color: eval((red(prop(color)) * 0.299 + green(prop(color)) * 0.587 + blue(prop(color)) * 0.114) > 0.5 ? prop(black2) : prop(white1) ); text-halo-color: prop(color); } way { font-size: 12; text-color: eval((red(prop(color)) * 0.299 + green(prop(color)) * 0.587 + blue(prop(color)) * 0.114) > 0.5 ? prop(black2) : prop(white1) ); text-offset-y: 0; text-halo-color: prop(color); } area:closed { font-size: 12; text-color: eval((red(prop("fill-color")) * 0.299 + green(prop("fill-color")) * 0.587 + blue(prop("fill-color")) * 0.114) > 0.5 ? prop(black2) : prop(white1) ); text-halo-color: prop(fill-color); } *[man_made] { text: concat(tag(name), has_tag_key("operator") ? concat(has_tag_key("name") ? " | " : "", tag("operator")) : "", has_tag_key(ref) ? concat(" (", tag(ref), ")") : ""); } *[man_made=pipeline] { text: concat(tag(name), has_tag_key("operator") ? concat(has_tag_key("name") ? " | " : "", tag("operator")) : "", has_tag_key(ref) ? concat(" (", tag(ref), ")") : "", has_tag_key(diameter) ? concat(has_tag_key("name") || has_tag_key("operator") || has_tag_key(ref) ? " | " : "", "⌀", tag("diameter")) : "", has_tag_key(substance) ? concat(" - ", tag("substance")) : ""); } *[amenity=parcel_locker] { text: concat(tag("brand")," ", tag(ref)); } way[railway] { text: concat(tag(name), has_tag_key("operator:short") ? concat(has_tag_key("name") ? " | " : "", tag("operator:short")) : "", has_tag_key(ref) ? concat(" (", tag(ref), ")") : ""); } area:closed[is_prop_set(icon-image)] { text-offset-y: -20; } way|z15-[highway][setting("highway_labels")] { text-position: line; } way[highway][!setting("highway_labels")] { text: false; } way|z-13[highway!~/trunk|primary|secondary|tertiary/] { text: false; } way|z-10[highway] { text: false; } /* TO DO settings */ node|z-17[amenity]!.text_z0, node|z-17[shop]!.text_z0, node|z-17[office]!.text_z0 { text: false; } node|z-15!.text_z0 { text: false; } *|z-10!.text_z0 { text: false; } /*************/ /* Area fill */ /*************/ area[indoor] { set thin_area; } area[landuse], area[place], area[natural], area[leisure] { set bold_area; } /* small extent for unclosed area (see below for closed) */ area[setting("partial_fill")]!:closed2 { fill-extent: 5; } area[setting("partial_fill")]!:closed2::fill { fill-extent: prop(fill-extent,default); } /* 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; } area|z-13[setting("partial_fill")]::fill { fill-extent-threshold: prop(fill-extent-threshold,default); } /* 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: 17; fill-extent-threshold: JOSM_pref("draw.area.extent_threshold", 0.5); } area[setting("partial_fill")]:closed2.thin_area { fill-extent: 13; } area[setting("partial_fill")]:closed2.bold_area { fill-extent: 25; } area[setting("partial_fill")]:closed::fill { fill-extent: prop(fill-extent,default); fill-extent-threshold: prop(fill-extent-threshold,default); fill-opacity: 0.35; } *::fill { text: false; } /*shhh*/ node["name"="Mikołów"] { icon-image: "https://upload.wikimedia.org/wikipedia/commons/6/64/POL_Mikołów_COA.svg"; } /* Errors etc */ settings::validation { label: "Validation"; } setting::warnings { type: boolean; label: Inline warnings; default: true; group: validation; } setting::notices { type: boolean; label: Inline notices; default: true; group: validation; } way[shop]!:closed[setting("warnings")], way[office]!:closed[setting("warnings")], way[amenity][amenity!~/bench|check_in/]!:closed[setting("warnings")], way[landuse]!:closed[setting("warnings")], way[leisure=garden]!:closed[setting("warnings")], node[restriction][setting("warnings")], node[oneway][setting("warnings")], node[bridge][setting("warnings")], node[tunnel?][setting("warnings")], node[tunnel?!][setting("warnings")], node[cutting?!][setting("warnings")], node[embankment?!][setting("warnings")], node[barrier=~/hedge|^wall$|guard_rail|city_wall|retaining_wall|ditch/][setting("warnings")], node[highway=~/^motorway$|motorway_link|^trunk$|trunk_link|^primary$|primary_link|^secondary$|secondary_link|^tertiary$|tertiary_link|unclassified|^road$|unsurfaced|track|residential|living_street|^service$|bridleway|cycleway|footway|path|pedestrian|bus_guideway|platform/][setting("warnings")], node[cycleway=~/^lane$|opposite_lane|^track$|opposite_track|^opposite$/][setting("warnings")], node[power=~/plant|sub_station|line|cable|minor_line/][setting("warnings")], node[power_source][setting("warnings")], node[man_made=~/bridge|breakwater|groyne|embankment|pumping_rig|pipeline|cutline/][setting("warnings")], node[leisure=park][setting("warnings")], node[landuse][setting("warnings")], node[railway=~/^rail$|light_rail|^subway$|preserved|disused|abandoned|narrow_gauge|monorail|platform|funicular/][setting("warnings")], node[service=~/yard|siding|spur/][setting("warnings")], node[aeroway=~/apron|runway|taxiway/][setting("warnings")], node[aerialway=~/cable_car|gondola|chair_lift|mixed_lift|drag_lift|t-bar|j-bar|platter|magic_carpet|rope_tow|goods/][setting("warnings")], node[sport=skating][setting("warnings")], node[natural=~/glacier|scree|shingle|scrub|shrubbery|fell|heath|tree_row|grassland|wetland|water|coastline|mud|beach|sand|land|bare_rock|arete|ridge|valley/][setting("warnings")], *[leaf_type][!natural][landuse!=forest][!barrier=hedge][setting("warnings")], node[waterway=~/water_point|waste_disposal|mooring|river|riverbank|canal|wadi|stream|ditch|drain/][setting("warnings")], node[route=~/bus|ferry|flight|ncn|subsea|ski|tour|pub_crawl/][setting("warnings")], node[boundary=~/^national$|administrative|postal_code|political|national_park/][setting("warnings")], node[building=entrance][setting("warnings")] { icon-image: "presets/misc/deprecated.svg"; repeat-image: "presets/misc/deprecated.svg"; repeat-image-spacing: 50; set warning; } relation:unclosed_multipolygon >:open_end node[setting("warnings")] { icon-image: "presets/misc/deprecated.svg"; set warning; } /* measurement values and units warnings (tickets #8687, #15719) */ *[/^[0-9]+$/][setting("notices")] { text: tr("numerical key"); set notice; } *[layer =~ /^\+\d/][setting("notices")] { text: tr("layer value with + symbol"); set notice; } *[layer][layer !~ /^0$|^(-|\+)?[1-5]$/][setting("notices")] { throwWarning: tr("layer should be an integer value between -5 and 5"); set notice; } /* negative values, #21026 */ *[building:levels^="-"][setting("notices")] { text: tr("negative building:levels value"); set notice; } /* the numbers for percentage and degrees include could probably be bracketed a bit more precisely */ way[incline][incline !~ /^(up|down|-?([0-9]+?(\.[1-9]%)?|100)[%°]?)$/][setting("notices")] { text: tr("unusual value of for incline"); set notice; } /* #14989 */ *[direction][direction<0][setting("notices")], *[direction][direction>=360][setting("notices")], *[direction][direction !~ /^([0-9]+(?:\.[0-9]+)?|north|east|south|west|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW|forward|backward|both|clockwise|anti-clockwise|anticlockwise|up|down)((-|;)([0-9]+(?:\.[0-9]+)?|N|E|S|W|NE|SE|SW|NW|NNE|ENE|ESE|SSE|SSW|WSW|WNW|NNW))*$/][setting("notices")] { text: tr("Unusual value for direction"); set notice; } /* #14786 (should be safe to just remove the meters unit from the value) */ *[ele =~ /^-?[0-9]+(\.[0-9]+)? ?m$/][setting("notices")] { text: tr("Ele must be a numeric value, in meters and without units"); set notice; } *[direction][direction =~ /,/][setting("notices")], *[ele][ele =~ /,/][setting("notices")], *[height][height =~ /,/][setting("notices")] { text: tr("Use . instead of , as decimal separator"); set notice; } *[direction][direction =~ /-?\d+(\.\d{3,})*.*\.\d{3,}/][setting("notices")], *[ele][ele =~ /-?\d+(\.\d{3,})*.*\.\d{3,}/][setting("notices")] { text: tr("Unnecessary amount of decimal places"); set notice; } /* #18573 */ *[isced:level][isced:level !~ /^(0|1|2|3|4|5|6|7|8)((;|-)(1|2|3|4|5|6|7|8))*$/][setting("notices")] { text: tr("Unusual value of {0}", "isced:level"); set notice; } /* #19536 */ *[name][name =~ /^([0-9.,]+)$/][setting("notices")] { text: tr("Numeric name. Maybe {0} or {1} is meant.", "ref", "addr:housenumber"); set notice; } /* #23621 */ node[natural=tree][circumference][siunit_length(tag(circumference)) > 45][setting("notices")] { text: tr("Unusually large value of {0}, possibly centimeter units are meant?", "circumference"); set notice; } /* {0} on a node, should be a way */ node[area=no][setting("notices")], node[oneway][setting("notices")], node[bridge][setting("notices")], node[sidewalk][setting("notices")], node[footway][footway!=crossing][setting("notices")], node[man_made=~/^(embankment|groyne|cutline)$/][setting("notices")], node[power=line][setting("notices")], node[cutline][setting("notices")], node[aerialway=~/^(cable_car|gondola|chair_lift|mixed_lift|drag_lift|t-bar|j-bar|platter|magic_carpet|rope_tow|goods)$/][setting("notices")], node[aeroway=~/^(taxiway|runway)$/][setting("notices")], node[railway=~/^(rail|narrow_gauge|monorail|preserved|light_rail|subway|tram|disused|abandoned)$/][setting("notices")], node[waterway=~/^(river|canal|stream|ditch|drain)$/][setting("notices")], node[natural=~/^(coastline|ridge|valley|tree_row)$/][setting("notices")], node[boundary=administrative][setting("notices")], node[golf=~/^(green|bunker|fairway)$/][setting("notices")], node[area?][setting("notices")], node[area:highway][setting("notices")], node[landuse][setting("notices")], node[natural=~/^(bare_rock|beach|fell|glacier|grassland|heath|mud|sand|scree|scrub|shrubbery|water|wetland|wood)$/][setting("notices")], node[leisure=park][natural!=tree][setting("notices")], node[leisure=nature_reserve][setting("notices")], node[waterway=riverbank][setting("notices")], node[man_made=~/^(bridge|tunnel|breakwater)$/][setting("notices")], node[aeroway=apron][setting("notices")], node[power=~/^(plant|switchgear)$/][setting("notices")], node[building:part][setting("notices")], node[source:outline][setting("notices")] { text: Wrong tag on node; set notice; } node[type=multipolygon][setting("warnings")], node[interval][setting("warnings")], node[route][setting("warnings")], node[restriction][setting("warnings")], node[power=~/^(circuit|line_section)$/][setting("warnings")] { text: Wrong tag on node. Use relation; set warning; } way[emergency=~/^(fire_hydrant|defibrillator)$/][setting("notices")], way[railway=subway_entrance][setting("notices")], way[man_made=survey_point][setting("notices")], way[power=~/^(transformer|pole|catenary_mast|connection|terminal)$/][setting("notices")], way[power=tower]!:closed[setting("notices")], way[amenity=vending_machine][setting("notices")], way[natural=~/^(peak|saddle|volcano|tree)$/][setting("notices")], way[highway=~/^(give_way|milestone|mini_roundabout|stop|street_lamp|traffic_signals|turning_loop|turning_circle|motorway_junction)$/][setting("notices")] { text: Wrong tag on way; set notice; } /* {0} on a way, should be a node (0.key) */ way[voltage:primary][setting("notices")], way[voltage:secondary][setting("notices")], way[voltage:tertiary][setting("notices")], way[transformer][setting("notices")], way[line_arrangement][setting("notices")], way[line_attachment][setting("notices")], way[line_management][setting("notices")], way[entrance][setting("notices")], way[door][setting("notices")] { text: Wrong key way; set notice; } /* {0} on a way, should be a relation; #15642, #10252, #14288 */ way[restriction][restriction =~ /^(no_right_turn|no_left_turn|no_u_turn|no_straight_on|only_right_turn|only_left_turn|only_straight_on|no_entry|no_exit)$/][setting("warnings")], way[type=multipolygon][setting("warnings")], way[interval][route!=ferry][setting("warnings")], way[route=bus][setting("warnings")], way[power=~/^(circuit|line_section)$/][setting("warnings")] { text: Wrong tag on way. Use relation; set warning; } /* {0} on a closed way, should be a unclosed way; #19981 */ way:closed[power=~/^(line|cable|minor_line)$/][setting("notices")] { text: Power tag on closed way. Should be used on an unclosed way; set notice; } /* #20902 */ relation[area?][setting("notices")] { text: Area on a relation; set notice; } /* #14395, #17025, #19506 */ way[highway][area!=yes][!tunnel][!covered] > node { set node_in_highway; } way[highway][area!=yes][!tunnel][!covered]:closed > node { set node_in_closed_highway; } way[highway][area!=yes][!tunnel][!covered] >[index=1] node, way[highway][area!=yes][!tunnel][!covered] >[index=-1] node { set first_last_highway_node; } /* #15035, must not warn for node 3815077900*/ node[man_made!=monitoring_station][at(0.0,0.0)][setting("warnings")] { text: Object at position 0.00E 0.00N. There is nothing at this position except an already mapped weather buoy; set warning; } /* #10125 */ node[source:geometry][setting("notices")] { text: Use source:position for node; set notice; } /* Overlapping areas (spatial test) */ area[natural=water], area[natural=coastline]:clockwise, area[waterway=riverbank], area[landuse=reservoir] { set water_area; } /* area:closed.water_area ⧉ area:closed.water_area -- does not work for now -- see ticket#10215 area:closed[natural =~ /^(water|coastline)$/] ⧉ area:closed.water_area[setting("notices")], area:closed[waterway=riverbank] ⧉ area:closed.water_area[setting("notices")], area:closed[landuse=reservoir] ⧉ area:closed.water_area[setting("notices")] { text: Overlapping Water Areas; set notice; } Water area inside water area (spatial test) area:closed[natural=water] ⊆ area:closed.water_area[setting("notices")], area:closed[natural=coastline]:clockwise ⊆ area:closed.water_area[setting("notices")], area:closed[waterway=riverbank] ⊆ area:closed.water_area[setting("notices")], area:closed[landuse=reservoir] ⊆ area:closed.water_area[setting("notices")], area:closed[natural=water] ⊇ area:closed.water_area[setting("notices")], area:closed[natural=coastline]:clockwise ⊇ area:closed.water_area[setting("notices")], area:closed[waterway=riverbank] ⊇ area:closed.water_area[setting("notices")], area:closed[landuse=reservoir] ⊇ area:closed.water_area[setting("notices")] { text: Water area inside water area; set notice; } */ /* #9311 */ node[amenity=parking]["capacity:disabled" !~ /^(yes|[0-9]+)$/] ∈ area[amenity=parking][setting("notices")] { text: amenity=parking inside amenity=parking; set notice; } /* #9556, #20570 */ area:closed[tag("natural") = parent_tag("natural")] ⧉ area:closed[natural][natural !~ /^(water|wetland|coastline)$/][setting("notices")] { text: Overlapping identical natural areas; set notice; } area:closed[tag("landuse") = parent_tag("landuse")] ⧉ area:closed[landuse][setting("notices")] { text: Overlapping identical landuses; set notice; } /* #9522 */ node[tag("amenity") = parent_tag("amenity")] ∈ area[amenity][amenity != parking][setting("notices")] { text: tr("{0} inside {1}", concat("amenity=", tag("amenity")), concat("amenity=", tag("amenity"))); set notice; } node[tag("leisure") = parent_tag("leisure")] ∈ area[leisure][setting("notices")] { text: tr("{0} inside {1}", concat("leisure=", tag("leisure")), concat("leisure=", tag("leisure"))); set notice; } node[tag("tourism") = parent_tag("tourism")] ∈ area[tourism][setting("notices")] { text: tr("{0} inside {1}", concat("tourism=", tag("tourism")), concat("tourism=", tag("tourism"))); set notice; } node[tag("shop") = parent_tag("shop")] ∈ area[shop][setting("notices")] { text: tr("{0} inside {1}", concat("shop=", tag("shop")), concat("shop=", tag("shop"))); set notice; } node[tag("power") = parent_tag("power")] ∈ area[power][setting("notices")] { text: tr("{0} inside {1}", concat("power=", tag("power")), concat("power=", tag("power"))); set notice; } /* isolated nodes which should be part of a way; #10825, #15478, #21688 */ node:unconnected:in-downloaded-area[entrance][setting("notices")], node:unconnected:in-downloaded-area[traffic_calming][setting("notices")], node:unconnected:in-downloaded-area[highway=~/^(passing_place|mini_roundabout|motorway_junction|turning_loop|turning_circle|stop|give_way|traffic_signals|crossing)$/][setting("notices")], node:unconnected:in-downloaded-area[crossing][setting("notices")], node:unconnected:in-downloaded-area[railway=~/^(buffer_stop|crossing|level_crossing|milestone)$/][setting("notices")], node:unconnected:in-downloaded-area[public_transport=stop_position][setting("notices")], node:unconnected:in-downloaded-area[aeroway=holding_position][setting("notices")], node:unconnected:in-downloaded-area[noexit][setting("notices")], node:unconnected:in-downloaded-area[waterway=~/^(dam|weir|waterfall)$/][setting("notices")], node:unconnected:in-downloaded-area[amenity=ferry_terminal][setting("notices")], node:unconnected:in-downloaded-area[leisure=slipway][setting("notices")], node:unconnected:in-downloaded-area[mountain_pass=yes][setting("notices")], node:unconnected:in-downloaded-area[barrier=~/^(gate|lift_gate|swing_gate|toll_booth|turnstile|full-height_turnstile|motorcycle_barrier|rope|sally_port|spikes|stile|sump_buster|kerb|border_control|bump_gate|bus_trap|cattle_grid|chain|cycle_barrier|hampshire_gate|height_restrictor|debris)$/][setting("notices")] { text: Node should be connected to a way; set notice; } *[historic=archaeological_site][!archaeological_site][megalith_type][setting("notices")], *[historic=archaeological_site][!archaeological_site][fortification_type][setting("notices")], *[!archaeological_site][megalith_type][setting("notices")], *[!archaeological_site][fortification_type][setting("notices")] { text: Lonely subtag; set notice; } /* Missing main tag */ node[bollard][barrier!=bollard][setting("notices")], *[fence_type][barrier!=fence][setting("notices")], *[!historic][archaeological_site][setting("notices")] { text: Missing main tag; set notice; } /* Conflicting tags */ *[historic=archaeological_site][archaeological_site=megalith][fortification_type][!megalith_type][setting("notices")], *[historic=archaeological_site][archaeological_site=fortification][megalith_type][!fortification_type][setting("notices")] { text: Conflicting tags; set notice; } /* #11127 */ way[railway][bridge] > node, way[highway][bridge] > node { set node_in_bridge; } way[waterway] > node.node_in_bridge[setting("notices")] { text: Node connects waterway and bridge; set notice; } /* #11128, #14812, #15032 */ way[highway] > node[tourism=information][information=guidepost][setting("notices")] { set guidepost; text: concat(tag("information")), "node connected to a highway"; set notice; } way >[index=1] node, way >[index=-1] node { set first_last_node; } way[highway] > node[amenity][!entrance][amenity!~/^(parking|parking_space|parking_entrance|motorcycle_parking|bicycle_parking|bus_station|car_wash|ferry_terminal|weighbridge|taxi|toilets|ticket_validator)$/][setting("notices")], way[highway] > node[building][!entrance][setting("notices")], way[highway] > node[leisure][!entrance][leisure!=slipway][leisure!=fitness_station][setting("notices")], way[highway] > node[office][!entrance][setting("notices")], way[highway][highway!=corridor] > node[shop][!entrance][setting("notices")], way[highway] > node[tourism][!entrance][tourism!=viewpoint]!.guidepost.first_last_node:connection[setting("notices")], way[highway] > node[tourism][!entrance][tourism!~/viewpoint|information/]!.guidepost!.first_last_node[setting("notices")] { text: Wrong node connected to highway; set notice; } way[man_made=pipeline][location=underground] > node[marker][setting("notices")], way[power=cable ][location=underground] > node[marker][setting("notices")] { text: Marker node connected to underground object; set notice; } way[junction=roundabout]:righthandtraffic:clockwise[setting("notices")], way[junction=roundabout]!:righthandtraffic:anticlockwise[setting("notices")] { text: Suspicious roundabout direction; set notice; } /* #12496 */ area:closed[place=islet][eval(areasize()) > 1500000][setting("notices")] { text: place=islet on a large area; set notice; } area:closed[place=island][eval(areasize()) < 500000][setting("notices")] { text: place=island on a small area; set notice; } /* #12561 - building larger than Lada car factory (906280 m^2 in OSM) way id 47121317 at N53.56, E49.25, https://en.wikipedia.org/wiki/List_of_largest_buildings#Largest_footprint*/ area:closed[building][building!=no][eval(areasize()) > 906280][setting("warnings")] { text: Too large building; set warning; } way[waterway=~/^(stream|river|drain)$/]!:closed >[index=-1] node[natural!=sinkhole][natural!=cave_entrance][waterway!=stream_end]!:connection:in-downloaded-area[setting("notices")] { text: Waterway ends without a connection to another waterway or the direction of the waterway is wrong; set notice; } way:closed[natural=coastline] ∈ area[natural=water][setting("notices")], way:closed[natural=coastline] ∈ area[waterway=riverbank][setting("notices")] { text: Coastline inside wrong tag; set notice; } /* #10471 */ way[waterway] > node[ford?] { set ford_on_waterway; } way[highway] > node[ford?] { set ford_on_highway; } node[ford?]:in-downloaded-area!.ford_on_waterway[setting("notices")], node[ford?]:in-downloaded-area!.ford_on_highway[setting("notices")] { text: ford should be on a node where highway and waterway intersect; set notice; } /* #13877 */ area:closed[waterway=~/^(canal|drain|ditch|stream|river)$/][area!=no][setting("notices")] { text: tr("{0} is the tag for the linear waterway. To tag the water area use {1} + {2} instead.", "{1.tag}", "natural=water", "water=*"); set notice; } /* #15097 */ way[highway][area!=yes] > node, way[man_made=pier] > node { set node_in_highway_pier; } way[route=ferry][tunnel=yes] > node, way[route=ferry][bridge=yes] > node { set node_in_ferry_bridge_tunnel; } way[route=ferry]!:closed >[index= 1] node!.node_in_highway_pier!.node_in_ferry_bridge_tunnel:in-downloaded-area[setting("notices")], way[route=ferry]!:closed >[index=-1] node!.node_in_highway_pier!.node_in_ferry_bridge_tunnel:in-downloaded-area[setting("notices")] { text: Ferry route is not connected to the road network or branches; set notice; } way[amenity=ferry_terminal] > node, way[man_made=pier] > node { set node_in_terminal_pier; } way[route=ferry]!:closed >[index= 1] node[amenity!=ferry_terminal][man_made!=pier]!.node_in_terminal_pier!.node_in_ferry_bridge_tunnel:in-downloaded-area[setting("notices")], way[route=ferry]!:closed >[index=-1] node[amenity!=ferry_terminal][man_made!=pier]!.node_in_terminal_pier!.node_in_ferry_bridge_tunnel:in-downloaded-area[setting("notices")] { text: Ferry route is not connected to a ferry terminal or branches; set notice; } /* #21801 */ way[railway][railway !~ /^(abandoned|construction|razed|proposed|turntable|traverser|platform_edge|roundhouse|workshop|platform)$/] > node[/railway$/ !~ /^(switch|railway_crossing)$/][count(parent_osm_primitives("railway")) > 2]!.member:connection[setting("notices")], way[railway][railway !~ /^(abandoned|construction|razed|proposed|turntable|traverser|platform_edge|roundhouse|workshop|platform)$/] >[index!=1][index!=-1] node[/railway$/ !~ /^(switch|railway_crossing)$/][count(parent_osm_primitives("railway")) == 2]!.member:connection[setting("notices")] { text: tr("Railways connection node without {0} or {1}", "railway=switch", "railway=railway_crossing"); set notice; } node[railway=~/^(railway_crossing|switch)$/]!:connection:in-downloaded-area[setting("notices")] { text: Node should be connected to two or more ways; set notice; } /* absent/unknown denomination (ticket #7811) */ *[religion =~ /^(christian|jewish|muslim)$/][!denomination][type!=route][setting("notices")] { text: religion without denomination; set notice; } *[religion=christian][denomination][denomination !~ /^(anglican|apostolic|baptist|catholic|church_of_scotland|christian_community|christian_scientist|coptic_orthodox|czechoslovak_hussite|dutch_reformed|evangelical|foursquare|greek_catholic|greek_orthodox|iglesia_ni_cristo|jehovahs_witness|kabbalah|karaite|living_waters_church|lutheran|maronite|mennonite|methodist|mormon|new_apostolic|nondenominational|old_catholic|orthodox|pentecostal|presbyterian|protestant|quaker|reformed|roman_catholic|romanian_orthodox|russian_orthodox|salvation_army|serbian_orthodox|seventh_day_adventist|spiritist|united|united_reformed|united|united_methodist|united_reformed|uniting)$/][setting("notices")] { text: unknown Christian denomination; set notice; } *[religion=muslim][denomination][denomination !~ /^(alaouite|druze|ibadi|ismaili|nondenominational|shia|sunni)$/][setting("notices")] { text: unknown muslim denomination; set notice; } *[religion=jewish][denomination][denomination !~ /^(alternative|ashkenazi|conservative|hasidic|humanistic|liberal|modern_orthodox|neo_orthodox|nondenominational|orthodox|progressive|reconstructionist|reform|renewal|samaritan|ultra_orthodox)$/][setting("notices")] { text: unknown jewish denomination; set notice; } *[religion=catholic][setting("notices")] { text: Should be religion=christian + denomination=catholic; set notice; } /*[website=~/^cm_mmc$|^cmpid$|^fbclid$|^gad_source$|^gclid$|^gclsrc$|^igsh$|^igshid$|^mc_id$|^mibextid$|^si$|^srsltid$|^utm_campaign$|^utm_content$|^utm_medium$|^utm_source$|utm_term|yclid|ysclid/], *["contact:website"=~/cm_mmc|cmpid|fbclid|gad_source|gclid|gclsrc|igsh|igshid|mc_id|mibextid|si|srsltid|utm_campaign|utm_content|utm_medium|utm_source|utm_term|yclid|ysclid/] { text: Tracking parameter in URL; set notice; }*/ *[website][website!~/https?:\/\/.*/][setting("notices")], *["contact:website"]["contact:website"!~/https?:\/\//][setting("notices")] { text: Website without http:// or https://; set notice; } *[website][website!~/\./][setting("notices")], *["contact:website"]["contact:website"!~/\./][setting("notices")] { text: Websites should have a domain; set notice; } node[leaf_type][leaf_type=mixed][setting("notices")] { text: Mixed for single tree?; set notice; } *[leaf_type][leaf_type!~/broadleaved|needleleaved|mixed|palm|leafless/][setting("warnings")] { text: Nonexistent value for leaf_type; set warning; } *[leaf_cycle][leaf_cycle!~/evergreen|deciduous|semi_evergreen|semi_deciduous|mixed/][setting("warnings")] { text: Nonexistent value for leaf_cycle; set warning; } relation[type=multipolygon][building][building!~/no|entrance/] > way[setting("warnings")], way[building][building!~/no|entrance/][setting("warnings")]:closed { set building; } area[building][building!~/no|entrance/]:closed ⧉ *[setting("warnings")].building { text: Building crossing building; width: 2; color: prop(red, default); set warning; } area[building][building!~/no|entrance/][any(tag("layer"),"0") = any(parent_tag("layer"),"0")]:closed ∈ way[building][building!~/no|entrance/][setting("warnings")]:closed { text: Building inside building; width: 2; color: prop(red, default); set warning; } way[bridge][!layer][setting("warnings")], way[tunnel][tunnel!=building_passage][!layer][setting("warnings")]{ text: Missing layer or building_passage; dashes-background-color: yellow; dashes: 24,6; set warning; } way[bridge]["layer"=~/-/][setting("warnings")], way[tunnel][tunnel!=building_passage]["layer"=~/^(9|8|7|6|5|4|3|2|1)$/][setting("warnings")]{ text: Wrong layer value; dashes-background-color: yellow; dashes: 24,6; set warning; } node[kerb][kerb!=no][!highway][barrier!=kerb][setting("notices")] { text: kerb without barrier=kerb; set notice; } node[prop(light_error)=true][setting("notices")] { text: lamp_type and light:method differ; set notice; } node!:tagged:unconnected!:selected[setting("notices")]!.member { text: Untagged lonely node; set notice; } way!:tagged!:selected[setting("notices")]!.member { text: Untagged lonely way; set notice; } way[area?]!:closed[setting("notices")] { text: Area on unclosed way; set notice; } way!:tagged:selected { color: #ff0000; } node!:tagged { major-z-index: 6; } *[setting("notices")].notice { major-z-index: 5; z-index: 99; opacity: 1; font-size: 12; text-color: prop(white); text-halo-color: prop(black); width: prop(width, default) * 1.1; color: eval(rgb(1.1 * red(prop(fill-color, default)),1.1 * green(prop(fill-color, default)),1.1 * blue(prop(fill-color, default)))); color: eval(rgb(1.1 * red(prop(color, default)),1.1 * green(prop(color, default)),1.1 * blue(prop(color, default)))); } *[setting("warnings")].warning { major-z-index: 5; z-index: 99; opacity: 1; font-size: 13; text-color: prop(red); text-halo-color: prop(black); width: prop(width, default) * 1.25; color: prop(red); } /* Scaling (final)*/ * { width: prop(width) * prop(zoom,default); right-casing-width: is_prop_set(right-casing-width) ? prop(right-casing-width) * prop(zoom,default) : 0; left-casing-width: is_prop_set(left-casing-width) ? prop(left-casing-width) * prop(zoom,default) : 0; symbol-size: prop(symbol-size) * prop(zoom,default); } *::* { icon-height: prop(icon-height) * prop(zoom,default); icon-offset-x: is_prop_set(icon-offset-x) ? prop(icon-offset-x) * prop(zoom,default) : 0; icon-offset-y: is_prop_set(icon-offset-y) ? prop(icon-offset-y) * prop(zoom,default) : 0; text-offset-x: prop(text-offset-x) * prop(zoom_font,default); text-offset-y: prop(text-offset-y) * prop(zoom_font,default); font-size: prop(font-size) * prop(zoom_font,default); text-halo-radius: prop(text-halo-radius) * prop(zoom_font,default); }