/* ------------------------------- */ /* ---- Inhaltsverzeichnis :) ---- */ /* ------------------------------- */ // 1. Definitionen: Farben, Linienbreiten etc...26 (Zeile) // 1.1 Straßen und Wege......................26 // 1.2 Bahnen...............................100 // 1.3 Gebäude und Strukturen...............133 // 1.4 Landschaft und Wasser................161 // 1.5 Beschriftungen.......................188 // 2. Zeichnen.................................242 // 2.1 Hinter-Weltkarte.....................242 // 2.2 Straßen..............................261 // 2.3 Brücken..............................865 // 2.4 Tunnel..............................1285 // 2.5 Eisenbahnen.........................1523 // 2.6 Bus/Straßenbahn.....................1641 // 2.7 U-/S-Bahnhof-Symbole................1692 // 2.8 Gebäude und Strukturen..............1744 // 2.9 Wasser..............................1800 // 2.10 Landnutzung........................1841 // 2.11 Straßennamen,Symbole,Beschriftung..1956 /* ---------------------------------------- */ /* ---- Definitionen: Straßen und Wege ---- */ /* ---------------------------------------- */ //Autobahnen und Schnellstraßen @motorway_wdt: 12; //Breite von Autobahnen @motorway_link_wdt: 9; //Breite von Autobahnanschlüssen @motorway_clr: #8eb7ec; //#1262c4; //Farbe von Autobahnen und -anschlüssen @motorway_middle_clr: #ffffff; //Innere Farbe von Autobahnen und -anschlüssen @trunk_wdt: 12; //Breite von Schnellstraßen @trunk_link_wdt: 9; //Breite von Schnellstraßenanschlüssen @trunk_clr: #fff300; //#1262c4; //Farbe von Schnellstraßen @trunk_middle_clr: #904e00; //Innere Farbe von Schnellstraßen und -anschlüssen //Primärstraßen (Bundesstraßen) @primary_wdt: 12; @primary_clr: #fffb8d; //Sekundärstraßen @secondary_wdt: 12; @secondary_clr: #fffb8d; //Tertiärstraßen @tertiary_wdt: 11; @tertiary_clr: #ffffff; //Sonstige @residential_wdt: 9; @residential_clr: #ffffff; //Zubringer-/Servicestraßen/Auf-/Zufahrten @service_wdt: 3; @service_clr: #ffffff; //nur zu Fuß @footway_wdt: 3; @footway_clr: #f4f4f4; //Treppen (Farbe der angedeuteten Stufen) @steps_clr: #000000; //Privatstraßen/nicht zugängliche Wege @highway_private_wdt: 0.8; //relative Größe im Vergleich zu nicht-privaten @highway_private_clr: #F1F1F1; //Farbe (gestrichelt) //(Trampel-)Pfade/Feldwege @path_wdt: 1.3; @path_outline_clr: #000000; @path_clr: #ffffff; //#909090; //#D3AB8D; //#757575; // Flughäfen: Startbahnen und Taxiways @aeroway_runway_wdt: 30; @aeroway_taxiway_wdt: 16; @aeroway_clr: #eaeaea; //Straßenumrandung @highway_outline_wdt: 1.05; //Stärke der Umrandung von Straßen in 1 + Prozent (10% = 1.1) @highway_outline_polygon_wdt: 0.4; //Absolute Stärke der Umrandung von Straßen (Flächendarstellung) @highway_outline_clr: #000000; //Farbe der Umrandung von Straßen //Brückenumrandung @bridge_outline_wdt: 1.16; //Stärke von Brückenumrandungen in 1 + Prozent (25% = 1.25) @bridge_outline_clr: #000000; //Farbe von Brückenumrandungen // Transparenz von Tunneln @tunnel_opc: 0.5; //geplante/in Bau befindliche Straßen @highway_proposed_clr: #b7b8b0; //Farbe geplanter Straßen @highway_construction_wdt: 0.5; //relative Größe geplanter/in Bau befindlicher Straßen /* ------------------------------ */ /* ---- Definitionen: Bahnen ---- */ /* ------------------------------ */ //Eisenbahn @rail_wdt: 1; //2; @rail_inline_clr: #ffffff; @rail_outline_clr: #734B4B; //#B97777; //Schmalspur/Minibahn @minirail_wdt: 0.6; @minirail_clr: #7677B2; //U- und S-Bahnlinien (Tunnel) @rail_tunnel_wdt: 0; //1; @suburban_tunnel_wdt: 0; //1; @suburban_tunnel_clr: #006e34; @subway_tunnel_wdt: 0; //1; @subway_tunnel_clr: #156ab8; //Straßenbahn/Tram @tram_line_wdt: 0.7; //Stärke von Straßenbahnlinien @tramstation_wdt: 3; //Stärke von Straßenbahnhaltestellen @tram_line_clr: #ff9a47; //Farbe von Straßenbahnlinien und -haltestellen @tram_outline_clr: #ffffff; //Farbe des Hintergrunds von Tramlinien //Buslinien @bus_line_wdt: 0; //0.7; //Stärke von Buslinien @bus_stop_wdt: 0; //3; //Stärke von Bushaltestellen @bus_line_clr: #C5C4E4; //Farbe von Buslinien und -haltestellen /* ---------------------------------------------- */ /* ---- Definitionen: Gebäude und Strukturen ---- */ /* ---------------------------------------------- */ //Gebäude @building_clr: #fbb4ae; //#fbc9c5; //#fc9f98; //Gebäudefarbe @building_clr_layer_fct: 0.06; //Verdunklungsfaktor der Farbe höherer Ebenen (z.B. Kuppeln - kommt nur selten vor) @building_line_wdt: 1; //0.6; //Stärke der Gebäudeumrandung @building_line_clr: #8c8a8f; //#3a3a3a; //Farbe der Gebäudeumrandung //Barrieren @barrier_wdt: 0.5; //0.2; //Stärke von Mauern, Zäunen etc. @barrier_clr: #444444; //#9AA7B2; //Farbe von Mauern, Zäunen etc. //Baumreihen/Hecken @treerow_wdt: 1; //Stärke von Baumreihen/Hecken @treerow_clr: #80c582; //Farbe von Baumreihen/Hecken //Pier/Stege (auf dem Wasser) @pier_wdt: 2; //Stärke von Stegen etc. @pier_clr: #EAEAEA; //#b3b3b3; //Farbe von Stegen etc. //Fähren @ferry_clr: #00aeef; //Farbe von Fährlinien @ferry_wdt: 1; //Breite von Fährlinien /* --------------------------------------------- */ /* ---- Definitionen: Landschaft und Wasser ---- */ /* --------------------------------------------- */ //Farben der Landnutzungsformen (Wald, Wiese, Wohngebiet etc.) @forest_clr: #85cd87; //Wald @green_clr: #98ea9a; //Wiesen, Grünflächen, etc. @green2_clr: #bde7af; //Friedhöfe, Kleingärten, ... @sand_clr: #fff0ba; //Sand/Strände @residential_area_clr: #e4e5c6; //Wohngebiete @common_clr: #f6f6f3; //Gemeinschaftsflächen @plattform_clr: #ccc9c7; //Bahnsteige etc. @industrial_clr: #d4d2d1; //Industrieflächen @brownfield_clr: #ead8bd; //Brachflächen @parking_clr: #f5eeb5; //Parkplätze @playground_clr: #cfeca8; //Spielplätze und Sportflächen, z.B. Stadien //Gewässer @stream_wdt: 1; //Breite von Bächen und schmalen Fließgewässern @stream_clr: #29a6d5; //#2fbdf1; // Farbe von Bächen und schmalen Fließgewässern @water_body_clr: #17CDE8; //#00dddd; //#c8e9fa; //Farbe von Wasserflächen @water_outline_wdt: 0.8; //Umrandungsstärke von Wasserflächen @water_line_clr: #0021db; //Farbe der Umrandung /* -------------------------------------- */ /* ---- Definitionen: Beschriftungen ---- */ /* -------------------------------------- */ //Straßennamen @highway_label_wdt_1: 11; //Schriftgröße Primär- und Sekundärstraßennamen @highway_label_wdt_2: 10; //Schriftgröße für andere Straßennamen @highway_label_clr: #000000; //Farbe Straßennamen @highway_label_fnt: 'DejaVu Sans Condensed'; //Schriftart Straßennamen //Alternativ-Schriftgrößen für den Positionierungsalgorithmus @highway_label_wdt_1_array: "10,9,8,7"; @highway_label_wdt_2_array: "9,8,7,6"; //Beschriftungen S-, U- und Straßenbahn @station_label_wdt: 16; //Schriftgröße U- und S-Bahnhöfe @tramstation_label_wdt: 0; //Schriftgröße Straßenbahnhaltestellen @subwaystation_label_clr: #156ab8; //Beschriftungsfarbe U-Bahn @suburbanstation_label_clr: #006e34; //Beschriftungsfarbe S-Bahn @tramstation_label_clr: #FF9A47; //Beschriftungsfarbe Straßenbahn @station_label_fnt: 'DejaVu Sans Book'; //Schriftart Bahnhofsbeschriftungen //Beschriftung der Bezirks- und Städtenamen @place_label_wdt: 13; //Schriftgröße @place_label_clr: #000000; //Schriftfarbe @place_label_fnt: 'DejaVu Sans Book'; //Schriftart //Beschriftung von Parks, Landschaften etc. @green_label_wdt: 10; @green_label_clr: #006e34; @green_label_fnt: 'DejaVu Sans Oblique'; //Beschriftung von Gewässern @water_label_wdt: 10; @water_label_clr: #02a5d3; //#00aeef; @water_label_fnt: 'DejaVu Sans Book'; //Gebäudenamen @building_label_wdt: 10; @building_label_clr: #000000; @building_label_fnt: 'DejaVu Sans Oblique'; //Hausnummern @housenumbers_label_wdt: 4; @housenumbers_label_clr: #B57C78; @housenumbers_label_fnt: 'DejaVu Sans Book'; //Textumrandung @text_halo_clr: #ffffff; //Farbe der Textumrandung /* ------------------------------------ */ /* ---- Zeichnen: Hinter-Weltkarte ---- */ /* ------------------------------------ */ Map { //background-color: #e4e5c6; //#b8dee6; } #countries { ::outline { line-color: #0021db; line-width: 2; line-join: round; } polygon-fill: #e4e5c6; //#f6f6f3; } /* --------------------------- */ /* ---- Zeichnen: Straßen ---- */ /* --------------------------- */ #strassen { ::construction [zoom>=13] { /* [highway='proposed'] { line-width: @residential_wdt * @highway_construction_wdt; line-color: @highway_proposed_clr; line-dasharray: 0.1, (@residential_wdt * @highway_construction_wdt) * 2; line-cap: round; }*/ [highway='construction'] { line-width: @residential_wdt * 0.75 * @highway_construction_wdt; [zoom >= 13] { line-width: @residential_wdt * 0.75 * @highway_construction_wdt * 0.25; } [zoom >= 15] { line-width: @residential_wdt * 0.75 * @highway_construction_wdt * 0.5; } [zoom >= 16] { line-width: @residential_wdt * 0.75 * @highway_construction_wdt; } line-color: @residential_clr; [highway='pedestrian'] { line-color: @footway_clr; } [zoom >= 13] { line-dasharray: 0.1, (@residential_wdt * 0.75 * @highway_construction_wdt * 0.25) * 2; } [zoom >= 15] { line-dasharray: 0.1, (@residential_wdt * 0.75 * @highway_construction_wdt * 0.5) * 2; } [zoom >= 16] { line-dasharray: 0.1, (@residential_wdt * 0.75 * @highway_construction_wdt) * 2; } line-cap: round; [construction='unclassified'], [construction='residential'], [construction='living_street'], [construction='pedestrian'] { [zoom >= 13] { line-width: @residential_wdt * @highway_construction_wdt * 0.25; } [zoom >= 15] { line-width: @residential_wdt * @highway_construction_wdt * 0.5; } [zoom >= 16] { line-width: @residential_wdt * @highway_construction_wdt; } [zoom >= 13] { line-dasharray: 0.1, (@residential_wdt * @highway_construction_wdt * 0.25) * 2; } [zoom >= 15] { line-dasharray: 0.1, (@residential_wdt * @highway_construction_wdt * 0.5) * 2; } [zoom >= 16] { line-dasharray: 0.1, (@residential_wdt * @highway_construction_wdt) * 2; } } [construction='tertiary'] { [zoom >= 13] { line-width: @tertiary_wdt * @highway_construction_wdt * 0.25; } [zoom >= 15] { line-width: @tertiary_wdt * @highway_construction_wdt * 0.5; } [zoom >= 16] { line-width: @tertiary_wdt * @highway_construction_wdt; } line-color: @tertiary_clr; [zoom >= 13] { line-dasharray: 0.1, (@tertiary_wdt * @highway_construction_wdt * 0.25) * 2; } [zoom >= 15] { line-dasharray: 0.1, (@tertiary_wdt * @highway_construction_wdt * 0.5) * 2; } [zoom >= 16] { line-dasharray: 0.1, (@tertiary_wdt * @highway_construction_wdt) * 2; } } [construction='secondary'] { [zoom >= 13] { line-width: @secondary_wdt * @highway_construction_wdt * 0.25; } [zoom >= 15] { line-width: @secondary_wdt * @highway_construction_wdt * 0.5; } [zoom >= 16] { line-width: @secondary_wdt * @highway_construction_wdt; } line-color: @secondary_clr; [zoom >= 13] { line-dasharray: 0.1, (@secondary_wdt * @highway_construction_wdt * 0.25) * 2; } [zoom >= 15] { line-dasharray: 0.1, (@secondary_wdt * @highway_construction_wdt * 0.5) * 2; } [zoom >= 16] { line-dasharray: 0.1, (@secondary_wdt * @highway_construction_wdt) * 2; } } [construction='primary'] { [zoom >= 13] { line-width: @primary_wdt * @highway_construction_wdt * 0.25; } [zoom >= 15] { line-width: @primary_wdt * @highway_construction_wdt * 0.5; } [zoom >= 16] { line-width: @primary_wdt * @highway_construction_wdt; } line-color: @primary_clr; [zoom >= 13] { line-dasharray: 0.1, (@primary_wdt * @highway_construction_wdt * 0.25) * 2; } [zoom >= 15] { line-dasharray: 0.1, (@primary_wdt * @highway_construction_wdt * 0.5) * 2; } [zoom >= 16] { line-dasharray: 0.1, (@primary_wdt * @highway_construction_wdt) * 2; } } [construction='trunk_link'][zoom>=15] { line-width: @trunk_link_wdt * @highway_construction_wdt; line-color: @trunk_clr; line-dasharray: 0.1, (@trunk_link_wdt * @highway_construction_wdt) * 2; } [construction='motorway_link'][zoom>=15] { line-width: @motorway_link_wdt * @highway_construction_wdt; line-color: @motorway_clr; line-dasharray: 0.1, (@motorway_link_wdt * @highway_construction_wdt) * 2; } [construction='trunk'] { [zoom >= 13] { line-width: @trunk_wdt * @highway_construction_wdt * 0.25; } [zoom >= 15] { line-width: @trunk_wdt * @highway_construction_wdt * 0.5; } [zoom >= 16] { line-width: @trunk_wdt * @highway_construction_wdt; } line-color: @trunk_clr; [zoom >= 13] { line-dasharray: 0.1, (@trunk_wdt * @highway_construction_wdt * 0.25) * 2; } [zoom >= 15] { line-dasharray: 0.1, (@trunk_wdt * @highway_construction_wdt * 0.5) * 2; } [zoom >= 16] { line-dasharray: 0.1, (@trunk_wdt * @highway_construction_wdt) * 2; } } [construction='motorway'] { [zoom >= 13] { line-width: @motorway_wdt * @highway_construction_wdt * 0.25; } [zoom >= 15] { line-width: @motorway_wdt * @highway_construction_wdt * 0.5; } [zoom >= 16] { line-width: @motorway_wdt * @highway_construction_wdt; } line-color: @motorway_clr; [zoom >= 13] { line-dasharray: 0.1, (@motorway_wdt * @highway_construction_wdt * 0.25) * 2; } [zoom >= 15] { line-dasharray: 0.1, (@motorway_wdt * @highway_construction_wdt * 0.5) * 2; } [zoom >= 16] { line-dasharray: 0.1, (@motorway_wdt * @highway_construction_wdt) * 2; } } } } ::mittellinien { [highway='motorway'][zoom>=9] { [zoom>=9] { line-width: @motorway_wdt * 0.2; } [zoom>=13] { line-width: @motorway_wdt * 0.25; } [zoom>=15] { line-width: @motorway_wdt * 0.5; } [zoom>=16] { line-width: @motorway_wdt; } [tunnel!=''][zoom>=13] { line-width: 0; } line-color: @motorway_clr; line-join: round; line-cap: round; } [highway='trunk'][zoom>=11] { [zoom>=11] { line-width: @trunk_wdt * 0.2; } [zoom>=13] { line-width: @trunk_wdt * 0.25; } [zoom>=15] { line-width: @trunk_wdt * 0.5; } [zoom>=16] { line-width: @trunk_wdt; } [tunnel!=''][zoom>=13] { line-width: 0; } line-color: @trunk_clr; line-join: round; line-cap: round; } [highway='motorway_link'][zoom>=13] { [zoom>=13] { line-width: @motorway_link_wdt * 0.25; } [zoom>=15] { line-width: @motorway_link_wdt * 0.5; } [zoom>=16] { line-width: @motorway_link_wdt; } [tunnel!=''] { line-width: 0; } line-color: @motorway_clr; line-join: round; line-cap: round; } [highway='trunk_link'][zoom >= 13] { [zoom >= 13] { line-width: @trunk_link_wdt * 0.25; } [zoom >= 15] { line-width: @trunk_link_wdt * 0.5; } [zoom >= 16] { line-width: @trunk_link_wdt; } [tunnel!=''] { line-width: 0; } line-color: @trunk_clr; line-join: round; line-cap: round; } } ::schnellstrassenauffahrten [zoom >= 13] { [highway='trunk_link'] { [zoom >= 13] { line-width: @trunk_link_wdt * 0.05; } [zoom >= 15] { line-width: @trunk_link_wdt * 0.1; } [zoom >= 16] { line-width: @trunk_link_wdt * 0.2; } [tunnel!=''] { line-width: 0; } line-color: @trunk_middle_clr; line-join: round; line-cap: round; } } ::autobahn_schnellstrassen { ::autobahnen [zoom>=9] { [highway='motorway'] { [zoom>=13] { line-width: @motorway_wdt * 0.05; } [zoom>=15] { line-width: @motorway_wdt * 0.1; } [zoom>=16] { line-width: @motorway_wdt * 0.2; } [tunnel!=''] { line-width: 0; } line-color: @motorway_middle_clr; line-join: round; line-cap: round; } [highway='motorway_link'][zoom>=13] { [zoom>=15] { line-width: @motorway_link_wdt * 0.1; } [zoom>=16] { line-width: @motorway_link_wdt * 0.2; } [tunnel!=''] { line-width: 0; } line-color: @motorway_middle_clr; line-join: round; line-cap: round; } } ::schnellstrassen [zoom>=11] { [highway='trunk'] { [zoom>=11] { line-width: @trunk_wdt * 0.025; } [zoom>=13] { line-width: @trunk_wdt * 0.05; } [zoom>=15] { line-width: @trunk_wdt * 0.1; } [zoom>=16] { line-width: @trunk_wdt * 0.2; } [tunnel!=''][zoom>=13] { line-width: 0; } line-color: @trunk_middle_clr; line-join: round; line-cap: round; } } } ::pfade [zoom>=15] { [highway='path'], [highway='track'], [highway='bridleway'] { /* ::outline { [zoom>=15] { line-width: @path_wdt * 1.4; } [zoom>=16] { line-width: @path_wdt * 2.2; } [tunnel!=''] { line-width: 0; } line-color: @path_outline_clr; [tracktype!='grade1'] { [zoom>=15] { line-dasharray: @path_wdt * 2, @path_wdt * 2; } [zoom>=16] { line-dasharray: @path_wdt * 4, @path_wdt * 4; } } [tracktype='grade4'], [tracktype='grade5'] { [zoom>=15] { line-dasharray: @path_wdt * 2, @path_wdt * 3; } [zoom>=16] { line-dasharray: @path_wdt * 4, @path_wdt * 6; } } line-opacity: 0.3; line-join: round; line-cap: round; }*/ ::inline { [zoom>=15] { line-width: @path_wdt * 0.7; } [zoom>=16] { line-width: @path_wdt; } [tunnel!=''] { line-width: 0; } line-color: @path_clr; [zoom>=15] { line-dasharray: @path_wdt * 2, @path_wdt; } [zoom>=16] { line-dasharray: @path_wdt * 4, @path_wdt * 2; } /* [tracktype!='grade1'] { [zoom>=15] { line-dasharray: @path_wdt * 2, @path_wdt * 2; } [zoom>=16] { line-dasharray: @path_wdt * 4, @path_wdt * 4; } } [tracktype='grade4'], [tracktype='grade5'] { [zoom>=15] { line-dasharray: @path_wdt * 2, @path_wdt * 3; } [zoom>=16] { line-dasharray: @path_wdt * 4, @path_wdt * 6; } }*/ line-join: round; line-cap: round; } } } ::fusswege [zoom>=15] { [highway='steps'], [highway='footway'], [highway='cycleway'] { [tunnel!=''] { line-width: 0; } ::inline { [zoom>=15] { line-width: @footway_wdt * 0.5; } [zoom>=16] { line-width: @footway_wdt; } line-color: @footway_clr; line-join: round; line-cap: round; } ::steps [highway='steps'] { [zoom>=15] { line-width: @footway_wdt * 0.5; } [zoom>=16] { line-width: @footway_wdt; } line-color: @steps_clr; line-opacity: 0.5; [zoom>=15] { line-dasharray: 0.35, @footway_wdt * 0.5; } [zoom>=16] { line-dasharray: 0.7, @footway_wdt; } [layer = '-1'], [layer = '-2'], [layer = '-3'], [layer = '-4'], [layer = '-5'] { line-width: 0; } } } } ::servicestrassen [zoom>=15] { [highway='service'] { [zoom>=15] { line-width: @service_wdt * 0.5; } [zoom>=16] { line-width: @service_wdt; } line-color: @service_clr; [access='private'][tunnel!='yes'], [access='no'][tunnel!='yes'] { [zoom>=15] { line-width: @service_wdt * @highway_private_wdt * 0.5; } [zoom>=16] { line-width: @service_wdt * @highway_private_wdt; } ::dash { line-color: @highway_private_clr; line-dasharray: 3, 3; } } [tunnel!=''] { line-width: 0; } line-join: round; line-cap: round; } } ::wohnstrassen [zoom>=13] { [highway='unclassified'], [highway='residential'], [highway='living_street'], [highway='pedestrian'] { [zoom>=13] { line-width: @residential_wdt * 0.25; } [zoom>=15] { line-width: @residential_wdt * 0.5; } [zoom>=16] { line-width: @residential_wdt; } [tunnel!=''] { line-width: 0; } line-color: @residential_clr; [highway='pedestrian'] { line-color: @footway_clr; } line-join: round; line-cap: round; } } ::tertiaerstrassen [zoom>=11] { [highway='tertiary'][zoom>=11], [highway='tertiary_link'][zoom>=13] { [zoom>=11] { line-width: @tertiary_wdt * 0.2; } [zoom>=13] { line-width: @tertiary_wdt * 0.25; } [zoom>=15] { line-width: @tertiary_wdt * 0.5; } [zoom>=16] { line-width: @tertiary_wdt; } [tunnel!=''][zoom>=13] { line-width: 0; } line-color: @tertiary_clr; line-join: round; line-cap: round; } } ::sekundaerstrassen [zoom>=11] { [highway='secondary'][zoom>=11], [highway='secondary_link'][zoom>=13] { [zoom>=11] { line-width: @secondary_wdt * 0.2; } [zoom>=13] { line-width: @secondary_wdt * 0.25; } [zoom>=15] { line-width: @secondary_wdt * 0.5; } [zoom>=16] { line-width: @secondary_wdt; } [tunnel!=''][zoom>=13] { line-width: 0; } line-color: @secondary_clr; line-join: round; line-cap: round; } } ::primaerstrassen [zoom>=11] { [highway='primary'][zoom>=11], [highway='primary_link'][zoom>=13] { [zoom>=11] { line-width: @primary_wdt * 0.2; } [zoom>=13] { line-width: @primary_wdt * 0.25; } [zoom>=15] { line-width: @primary_wdt * 0.5; } [zoom>=16] { line-width: @primary_wdt; } [tunnel!=''][zoom>=13] { line-width: 0; } line-color: @primary_clr; line-join: round; line-cap: round; } } ::flughaefen [zoom>=11] { [aeroway='runway'][zoom>=11] { [zoom>=11] { line-width: @aeroway_runway_wdt * 0.06; } [zoom>=13] { line-width: @aeroway_runway_wdt * 0.25; } [zoom>=15] { line-width: @aeroway_runway_wdt * 0.5; } [zoom>=16] { line-width: @aeroway_runway_wdt; } line-color: @aeroway_clr; line-join: round; } [aeroway='taxiway'][zoom>=11] { [zoom>=11] { line-width: @aeroway_taxiway_wdt * 0.06; } [zoom>=13] { line-width: @aeroway_taxiway_wdt * 0.25; } [zoom>=15] { line-width: @aeroway_taxiway_wdt * 0.5; } [zoom>=16] { line-width: @aeroway_taxiway_wdt; } line-color: @aeroway_clr; line-join: round; } } } #strassenflaechen [zoom>=13] { ::outline { [highway='primary'], [highway='primary_link'], [highway='secondary'], [highway='secondary_link'], [highway='tertiary'], [highway='tertiary_link'], [highway='residential'], [highway='living_street'], [highway='unclassified'], [highway='pedestrian'], [highway='service'], [highway='cycleway'], [highway='footway'], [highway='steps'] { line-color: @highway_outline_clr; line-width: @highway_outline_polygon_wdt; } } ::body { [highway='footway'], [highway='pedestrian'], [highway='steps'] { polygon-fill: @footway_clr; polygon-gamma: 0.3; } [highway='residential'], [highway='living_street'], [highway='unclassified'], [highway='service'], [highway='cycleway'] { polygon-fill: @residential_clr; polygon-gamma: 0.3; } [highway='tertiary'], [highway='tertiary_link'] { polygon-fill: @tertiary_clr; polygon-gamma: 0.3; } [highway='secondary'], [highway='secondary_link'] { polygon-fill: @secondary_clr; polygon-gamma: 0.3; } [highway='primary'], [highway='primary_link'] { polygon-fill: @primary_clr; polygon-gamma: 0.3; } } } #strassenumrandung { ::strassenumrandung { [highway='motorway'][zoom>=9] { [zoom >= 9] { line-width: (@motorway_wdt * @highway_outline_wdt) * 0.2; } [zoom >= 13] { line-width: (@motorway_wdt * @highway_outline_wdt) * 0.25; } [zoom >= 15] { line-width: (@motorway_wdt * @highway_outline_wdt) * 0.5; } [zoom >= 16] { line-width: @motorway_wdt * @highway_outline_wdt; } [tunnel!=''][zoom>=13] { line-width: 0; } line-color: @highway_outline_clr; line-join: round; line-cap: round; } [highway='motorway_link'][zoom>=13] { [zoom >= 13] { line-width: (@motorway_link_wdt * @highway_outline_wdt) * 0.25; } [zoom >= 15] { line-width: (@motorway_link_wdt * @highway_outline_wdt) * 0.5; } [zoom >= 16] { line-width: @motorway_link_wdt * @highway_outline_wdt; } [tunnel!=''] { line-width: 0; } line-color: @highway_outline_clr; line-join: round; line-cap: round; } [highway='trunk'][zoom>=11] { [zoom >= 11] { line-width: (@motorway_wdt * @highway_outline_wdt) * 0.2; } [zoom >= 13] { line-width: (@motorway_wdt * @highway_outline_wdt) * 0.25; } [zoom >= 15] { line-width: (@motorway_wdt * @highway_outline_wdt) * 0.5; } [zoom >= 16] { line-width: @motorway_wdt * @highway_outline_wdt; } [tunnel!=''][zoom>=13] { line-width: 0; } line-color: @highway_outline_clr; line-join: round; line-cap: round; } [highway='trunk_link'][zoom>=13] { [zoom >= 13] { line-width: (@motorway_link_wdt * @highway_outline_wdt) * 0.25; } [zoom >= 15] { line-width: (@motorway_link_wdt * @highway_outline_wdt) * 0.5; } [zoom >= 16] { line-width: @motorway_link_wdt * @highway_outline_wdt; } [tunnel!=''] { line-width: 0; } line-color: @highway_outline_clr; line-join: round; line-cap: round; } [highway='primary'][zoom>=11], [highway='primary_link'][zoom>=13] { [zoom >= 11] { line-width: (@primary_wdt * @highway_outline_wdt) * 0.2; } [zoom >= 13] { line-width: (@primary_wdt * @highway_outline_wdt) * 0.25; } [zoom >= 15] { line-width: (@primary_wdt * @highway_outline_wdt) * 0.5; } [zoom >= 16] { line-width: @primary_wdt * @highway_outline_wdt; } [tunnel!=''][zoom>=13] { line-width: 0; } line-color: @highway_outline_clr; line-join: round; line-cap: round; } [highway='secondary'][zoom>=11], [highway='secondary_link'][zoom>=13] { [zoom >= 11] { line-width: (@secondary_wdt * @highway_outline_wdt) * 0.2; } [zoom >= 13] { line-width: (@secondary_wdt * @highway_outline_wdt) * 0.25; } [zoom >= 15] { line-width: (@secondary_wdt * @highway_outline_wdt) * 0.5; } [zoom >= 16] { line-width: @secondary_wdt * @highway_outline_wdt; } [tunnel!=''][zoom>=13] { line-width: 0; } line-color: @highway_outline_clr; line-join: round; line-cap: round; } [highway='tertiary'][zoom>=11], [highway='tertiary_link'][zoom>=13] { [zoom >= 11] { line-width: (@tertiary_wdt * @highway_outline_wdt) * 0.2; } [zoom >= 13] { line-width: (@tertiary_wdt * @highway_outline_wdt) * 0.25; } [zoom >= 15] { line-width: (@tertiary_wdt * @highway_outline_wdt) * 0.5; } [zoom >= 16] { line-width: @tertiary_wdt * @highway_outline_wdt; } [tunnel!=''][zoom>=13] { line-width: 0; } line-color: @highway_outline_clr; line-join: round; line-cap: round; } [highway='unclassified'][zoom>=13], [highway='residential'][zoom>=13], [highway='living_street'][zoom>=13], [highway='pedestrian'][zoom>=13] { [zoom >= 13] { line-width: (@residential_wdt * @highway_outline_wdt) * 0.25; } [zoom >= 15] { line-width: (@residential_wdt * @highway_outline_wdt) * 0.5; } [zoom >= 16] { line-width: @residential_wdt * @highway_outline_wdt; } [tunnel!=''] { line-width: 0; } line-color: @highway_outline_clr; line-join: round; line-cap: round; } [highway='service'][zoom>=15] { line-width: (@service_wdt * @highway_outline_wdt) * 0.5; [zoom >= 16] { line-width: @service_wdt * @highway_outline_wdt; } line-color: @highway_outline_clr; [access='private'][tunnel!='yes'], [access='no'][tunnel!='yes'] { [zoom>=15] { line-width: @service_wdt * @highway_private_wdt * @highway_outline_wdt * 0.5; } [zoom>=16] { line-width: @service_wdt * @highway_private_wdt * @highway_outline_wdt; } } [tunnel!=''] { line-width: 0; } line-join: round; line-cap: round; } [highway='steps'][zoom >= 15], [highway='footway'][zoom >= 15], [highway='cycleway'][zoom>=15] { [zoom>=15] { line-width: (@footway_wdt * @highway_outline_wdt) * 0.5; } [zoom>=16] { line-width: @footway_wdt * @highway_outline_wdt; } [tunnel!=''] { line-width: 0; } line-color: @highway_outline_clr; line-join: round; line-cap: round; } [highway='path'][zoom >= 15], [highway='track'][zoom >= 15], [highway='bridleway'][zoom >= 15] { line-width: @path_wdt * 1.1; [zoom >= 16] { line-width: @path_wdt * 2.2; } [tunnel!=''] { line-width: 0; } line-color: @path_outline_clr; line-opacity: 0.2; line-join: round; line-cap: round; } [aeroway='runway'][zoom >= 11] { [zoom >= 11] { line-width: (@aeroway_runway_wdt + 1) * 0.06; } [zoom >= 13] { line-width: (@aeroway_runway_wdt + 1) * 0.25; } [zoom >= 15] { line-width: (@aeroway_runway_wdt + 1) * 0.5; } [zoom >= 16] { line-width: @aeroway_runway_wdt + 1; } line-color: @highway_outline_clr; line-join: round; } [aeroway='taxiway'][zoom >= 11] { [zoom >= 11] { line-width: (@aeroway_taxiway_wdt + 1) * 0.06; } [zoom >= 13] { line-width: (@aeroway_taxiway_wdt + 1) * 0.25; } [zoom >= 15] { line-width: (@aeroway_taxiway_wdt + 1) * 0.5; } [zoom >= 16] { line-width: @aeroway_taxiway_wdt + 1; } line-color: @highway_outline_clr; line-join: round; } /* [highway='proposed'][zoom >= 13] { line-width: (@residential_wdt * @highway_construction_wdt) * @highway_outline_wdt; line-color: @highway_outline_clr; line-dasharray: 0.1, (@residential_wdt * @highway_construction_wdt) * 2; line-cap: round; }*/ [highway='construction'][zoom >= 13] { [zoom >= 13] { line-width: @residential_wdt * 0.75 * @highway_construction_wdt * @highway_outline_wdt * 0.25; } [zoom >= 15] { line-width: @residential_wdt * 0.75 * @highway_construction_wdt * @highway_outline_wdt * 0.5; } [zoom >= 16] { line-width: @residential_wdt * 0.75 * @highway_construction_wdt * @highway_outline_wdt; } line-color: @highway_outline_clr; [zoom >= 13] { line-dasharray: 0.1, (@residential_wdt * 0.75 * @highway_construction_wdt * 0.25) * 2; } [zoom >= 15] { line-dasharray: 0.1, (@residential_wdt * 0.75 * @highway_construction_wdt * 0.5) * 2; } [zoom >= 16] { line-dasharray: 0.1, (@residential_wdt * 0.75 * @highway_construction_wdt) * 2; } line-cap: round; [construction='unclassified'], [construction='residential'], [construction='living_street'], [construction='pedestrian'] { [zoom >= 13] { line-width: @residential_wdt * @highway_construction_wdt * @highway_outline_wdt * 0.25; } [zoom >= 15] { line-width: @residential_wdt * @highway_construction_wdt * @highway_outline_wdt * 0.5; } [zoom >= 16] { line-width: @residential_wdt * @highway_construction_wdt * @highway_outline_wdt; } [zoom >= 13] { line-dasharray: 0.1, (@residential_wdt * @highway_construction_wdt * 0.25) * 2; } [zoom >= 15] { line-dasharray: 0.1, (@residential_wdt * @highway_construction_wdt * 0.5) * 2; } [zoom >= 16] { line-dasharray: 0.1, (@residential_wdt * @highway_construction_wdt) * 2; } } [construction='tertiary'] { [zoom >= 13] { line-width: @tertiary_wdt * @highway_construction_wdt * @highway_outline_wdt * 0.25; } [zoom >= 15] { line-width: @tertiary_wdt * @highway_construction_wdt * @highway_outline_wdt * 0.5; } [zoom >= 16] { line-width: @tertiary_wdt * @highway_construction_wdt * @highway_outline_wdt; } [zoom >= 13] { line-dasharray: 0.1, (@tertiary_wdt * @highway_construction_wdt * 0.25) * 2; } [zoom >= 15] { line-dasharray: 0.1, (@tertiary_wdt * @highway_construction_wdt * 0.5) * 2; } [zoom >= 16] { line-dasharray: 0.1, (@tertiary_wdt * @highway_construction_wdt) * 2; } } [construction='secondary'] { [zoom >= 13] { line-width: @secondary_wdt * @highway_construction_wdt * @highway_outline_wdt * 0.25; } [zoom >= 15] { line-width: @secondary_wdt * @highway_construction_wdt * @highway_outline_wdt * 0.5; } [zoom >= 16] { line-width: @secondary_wdt * @highway_construction_wdt * @highway_outline_wdt; } [zoom >= 13] { line-dasharray: 0.1, (@secondary_wdt * @highway_construction_wdt * 0.25) * 2; } [zoom >= 15] { line-dasharray: 0.1, (@secondary_wdt * @highway_construction_wdt * 0.5) * 2; } [zoom >= 16] { line-dasharray: 0.1, (@secondary_wdt * @highway_construction_wdt) * 2; } } [construction='primary'] { [zoom >= 13] { line-width: @primary_wdt * @highway_construction_wdt * @highway_outline_wdt * 0.25; } [zoom >= 15] { line-width: @primary_wdt * @highway_construction_wdt * @highway_outline_wdt * 0.5; } [zoom >= 16] { line-width: @primary_wdt * @highway_construction_wdt * @highway_outline_wdt; } [zoom >= 13] { line-dasharray: 0.1, (@primary_wdt * @highway_construction_wdt * 0.25) * 2; } [zoom >= 15] { line-dasharray: 0.1, (@primary_wdt * @highway_construction_wdt * 0.5) * 2; } [zoom >= 16] { line-dasharray: 0.1, (@primary_wdt * @highway_construction_wdt) * 2; } } [construction='trunk_link'][zoom>=15] { line-width: @trunk_link_wdt * @highway_construction_wdt * @highway_outline_wdt; line-dasharray: 0.1, (@trunk_link_wdt * @highway_construction_wdt) * 2; } [construction='motorway_link'][zoom>=15] { line-width: @motorway_link_wdt * @highway_construction_wdt * @highway_outline_wdt; line-dasharray: 0.1, (@motorway_link_wdt * @highway_construction_wdt) * 2; } [construction='trunk'] { [zoom >= 13] { line-width: @trunk_wdt * @highway_construction_wdt * @highway_outline_wdt * 0.25; } [zoom >= 15] { line-width: @trunk_wdt * @highway_construction_wdt * @highway_outline_wdt * 0.5; } [zoom >= 16] { line-width: @trunk_wdt * @highway_construction_wdt * @highway_outline_wdt; } [zoom >= 13] { line-dasharray: 0.1, (@trunk_wdt * @highway_construction_wdt * 0.25) * 2; } [zoom >= 15] { line-dasharray: 0.1, (@trunk_wdt * @highway_construction_wdt * 0.5) * 2; } [zoom >= 16] { line-dasharray: 0.1, (@trunk_wdt * @highway_construction_wdt) * 2; } } [construction='motorway'] { [zoom >= 13] { line-width: @motorway_wdt * @highway_construction_wdt * @highway_outline_wdt * 0.25; } [zoom >= 15] { line-width: @motorway_wdt * @highway_construction_wdt * @highway_outline_wdt * 0.5; } [zoom >= 16] { line-width: @motorway_wdt * @highway_construction_wdt * @highway_outline_wdt; } [zoom >= 13] { line-dasharray: 0.1, (@motorway_wdt * @highway_construction_wdt * 0.25) * 2; } [zoom >= 15] { line-dasharray: 0.1, (@motorway_wdt * @highway_construction_wdt * 0.5) * 2; } [zoom >= 16] { line-dasharray: 0.1, (@motorway_wdt * @highway_construction_wdt) * 2; } } } } } /* --------------------------- */ /* ---- Zeichnen: Brücken ---- */ /* --------------------------- */ #bruecken [zoom>=13] { ::autobahn [bridge!=''] { ::bridge-outline { [highway='motorway'] { [zoom>=13] { line-width: (@motorway_wdt * @bridge_outline_wdt) * 0.25; } [zoom>=15] { line-width: (@motorway_wdt * @bridge_outline_wdt) * 0.5; } [zoom>=16] { line-width: @motorway_wdt * @bridge_outline_wdt; } line-color: @bridge_outline_clr; } [highway='motorway_link'] { [zoom>=13] { line-width: (@motorway_link_wdt * @bridge_outline_wdt) * 0.25; } [zoom>=15] { line-width: (@motorway_link_wdt * @bridge_outline_wdt) * 0.5; } [zoom>=16] { line-width: @motorway_link_wdt * @bridge_outline_wdt; } line-color: @bridge_outline_clr; } [highway='trunk'] { [zoom>=13] { line-width: (@trunk_wdt * @bridge_outline_wdt) * 0.25; } [zoom>=15] { line-width: (@trunk_wdt * @bridge_outline_wdt) * 0.5; } [zoom>=16] { line-width: @trunk_wdt * @bridge_outline_wdt; } line-color: @bridge_outline_clr; } [highway='trunk_link'] { [zoom>=13] { line-width: (@trunk_link_wdt * @bridge_outline_wdt) * 0.25; } [zoom>=15] { line-width: (@trunk_link_wdt * @bridge_outline_wdt) * 0.5; } [zoom>=16] { line-width: @trunk_link_wdt * @bridge_outline_wdt; } line-color: @bridge_outline_clr; } } ::inline { [highway='motorway'] { [zoom>=13] { line-width: @motorway_wdt * 0.25; } [zoom>=15] { line-width: @motorway_wdt * 0.5; } [zoom>=16] { line-width: @motorway_wdt; } line-color: @motorway_clr; line-gamma: 0.3; line-join: round; } [highway='motorway_link'] { [zoom>=13] { line-width: @motorway_link_wdt * 0.25; } [zoom>=15] { line-width: @motorway_link_wdt * 0.5; } [zoom>=16] { line-width: @motorway_link_wdt; } line-color: @motorway_clr; line-gamma: 0.3; line-join: round; } [highway='trunk'] { [zoom>=13] { line-width: @trunk_wdt * 0.25; } [zoom>=15] { line-width: @trunk_wdt * 0.5; } [zoom>=16] { line-width: @trunk_wdt; } line-color: @trunk_clr; line-gamma: 0.3; line-join: round; } [highway='trunk_link'] { [zoom>=13] { line-width: @trunk_link_wdt * 0.25; } [zoom>=15] { line-width: @trunk_link_wdt * 0.5; } [zoom>=16] { line-width: @trunk_link_wdt; } line-color: @trunk_clr; line-gamma: 0.3; line-join: round; } } ::middle { [highway='motorway'] { [zoom>=13] { line-width: @motorway_wdt * 0.05; } [zoom>=15] { line-width: @motorway_wdt * 0.1; } [zoom>=16] { line-width: @motorway_wdt * 0.2; } line-color: @motorway_middle_clr; line-cap: round; line-join: round; } [highway='motorway_link'] { [zoom>=13] { line-width: @motorway_link_wdt * 0.05; } [zoom>=15] { line-width: @motorway_link_wdt * 0.1; } [zoom>=16] { line-width: @motorway_link_wdt * 0.2; } line-color: @motorway_middle_clr; line-cap: round; line-join: round; } [highway='trunk'] { [zoom>=13] { line-width: @trunk_wdt * 0.05; } [zoom>=15] { line-width: @trunk_wdt * 0.1; } [zoom>=16] { line-width: @trunk_wdt * 0.2; } line-color: @trunk_middle_clr; line-cap: round; line-join: round; } [highway='trunk_link'] { [zoom>=13] { line-width: @trunk_link_wdt * 0.05; } [zoom>=15] { line-width: @trunk_link_wdt * 0.1; } [zoom>=16] { line-width: @trunk_link_wdt * 0.2; } line-color: @trunk_middle_clr; line-cap: round; line-join: round; } } } ::autobahn-layer-2 [bridge!=''] { ::bridge-outline { [highway='motorway'][layer>'1'] { [zoom>=13] { line-width: (@motorway_wdt * @bridge_outline_wdt) * 0.25; } [zoom>=15] { line-width: (@motorway_wdt * @bridge_outline_wdt) * 0.5; } [zoom>=16] { line-width: @motorway_wdt * @bridge_outline_wdt; } line-color: @bridge_outline_clr; } [highway='motorway_link'][layer>'1'] { [zoom>=13] { line-width: (@motorway_link_wdt * @bridge_outline_wdt) * 0.25; } [zoom>=15] { line-width: (@motorway_link_wdt * @bridge_outline_wdt) * 0.5; } [zoom>=16] { line-width: @motorway_link_wdt * @bridge_outline_wdt; } } [highway='trunk'][layer>'1'] { [zoom>=13] { line-width: (@trunk_wdt * @bridge_outline_wdt) * 0.25; } [zoom>=15] { line-width: (@trunk_wdt * @bridge_outline_wdt) * 0.5; } [zoom>=16] { line-width: @trunk_wdt * @bridge_outline_wdt; } line-color: @bridge_outline_clr; } [highway='trunk_link'][layer>'1'] { [zoom>=13] { line-width: (@trunk_link_wdt * @bridge_outline_wdt) * 0.25; } [zoom>=15] { line-width: (@trunk_link_wdt * @bridge_outline_wdt) * 0.5; } [zoom>=16] { line-width: @trunk_link_wdt * @bridge_outline_wdt; } } } ::inline { [highway='motorway'][layer>'1'] { [zoom>=13] { line-width: @motorway_wdt * 0.25; } [zoom>=15] { line-width: @motorway_wdt * 0.5; } [zoom>=16] { line-width: @motorway_wdt; } line-color: @motorway_clr; } [highway='motorway_link'][layer>'1'] { [zoom>=13] { line-width: @motorway_link_wdt * 0.25; } [zoom>=15] { line-width: @motorway_link_wdt * 0.5; } [zoom>=16] { line-width: @motorway_link_wdt; } line-color: @motorway_clr; } [highway='trunk'][layer>'1'] { [zoom>=13] { line-width: @trunk_wdt * 0.25; } [zoom>=15] { line-width: @trunk_wdt * 0.5; } [zoom>=16] { line-width: @trunk_wdt; } line-color: @trunk_clr; } [highway='trunk_link'][layer>'1'] { [zoom>=13] { line-width: @trunk_link_wdt * 0.25; } [zoom>=15] { line-width: @trunk_link_wdt * 0.5; } [zoom>=16] { line-width: @trunk_link_wdt; } line-color: @trunk_clr; } } ::middle { [highway='motorway'][layer>'1'] { [zoom>=13] { line-width: @motorway_wdt * 0.05; } [zoom>=15] { line-width: @motorway_wdt * 0.1; } [zoom>=16] { line-width: @motorway_wdt * 0.2; } line-color: @motorway_middle_clr; line-cap: round; } [highway='motorway_link'][layer>'1'] { [zoom>=13] { line-width: @motorway_link_wdt * 0.05; } [zoom>=15] { line-width: @motorway_link_wdt * 0.1; } [zoom>=16] { line-width: @motorway_link_wdt * 0.2; } line-color: @motorway_middle_clr; line-cap: round; } [highway='trunk'][layer>'1'] { [zoom>=13] { line-width: @trunk_wdt * 0.05; } [zoom>=15] { line-width: @trunk_wdt * 0.1; } [zoom>=16] { line-width: @trunk_wdt * 0.2; } line-color: @trunk_middle_clr; line-cap: round; } [highway='trunk_link'][layer>'1'] { [zoom>=13] { line-width: @trunk_link_wdt * 0.05; } [zoom>=15] { line-width: @trunk_link_wdt * 0.1; } [zoom>=16] { line-width: @trunk_link_wdt * 0.2; } line-color: @trunk_middle_clr; line-cap: round; } } } ::andere_strassen [bridge!=''] { ::bridge-outline { [highway='primary'], [highway='primary_link'] { [zoom>=13] { line-width: (@primary_wdt * @bridge_outline_wdt) * 0.25; } [zoom>=15] { line-width: (@primary_wdt * @bridge_outline_wdt) * 0.5; } [zoom>=16] { line-width: @primary_wdt * @bridge_outline_wdt; } line-color: @bridge_outline_clr; } [highway='secondary'], [highway='secondary_link'] { [zoom>=13] { line-width: (@secondary_wdt * @bridge_outline_wdt) * 0.25; } [zoom>=15] { line-width: (@secondary_wdt * @bridge_outline_wdt) * 0.5; } [zoom>=16] { line-width: @secondary_wdt * @bridge_outline_wdt; } line-color: @bridge_outline_clr; } [highway='tertiary'], [highway='tertiary_link'] { [zoom>=13] { line-width: (@tertiary_wdt * @bridge_outline_wdt) * 0.25; } [zoom>=15] { line-width: (@tertiary_wdt * @bridge_outline_wdt) * 0.5; } [zoom>=16] { line-width: @tertiary_wdt * @bridge_outline_wdt; } line-color: @bridge_outline_clr; } [highway='residential'], [highway='living_street'], [highway='unclassified'], [highway='pedestrian'] { [zoom>=13] { line-width: (@residential_wdt * @bridge_outline_wdt) * 0.25; } [zoom>=15] { line-width: (@residential_wdt * @bridge_outline_wdt) * 0.5; } [zoom>=16] { line-width: @residential_wdt * @bridge_outline_wdt; } line-color: @bridge_outline_clr; } [highway='service'], [highway='cycleway'] { [zoom>=15] { line-width: (@service_wdt * @bridge_outline_wdt) * 0.5; [zoom>=16] { line-width: @service_wdt * @bridge_outline_wdt; } line-color: @bridge_outline_clr; } } [highway='footway'], [highway='steps'] { [zoom>=15] { line-width: (@footway_wdt * @bridge_outline_wdt) * 0.5; [zoom>=16] { line-width: @footway_wdt * @bridge_outline_wdt; } line-color: @bridge_outline_clr; } } [highway='path'], [highway='track'], [highway='bridleway'] { [zoom>=15] { ::bridge-outline { [zoom>=15] { line-width: (@footway_wdt * @bridge_outline_wdt) * 0.5; } [zoom>=16] { line-width: @footway_wdt * @bridge_outline_wdt; } line-color: @bridge_outline_clr; } ::bridge-inline { [zoom>=15] { line-width: @footway_wdt * 0.5; } [zoom>=16] { line-width: @footway_wdt; } line-color: @footway_clr; line-join: round; line-cap: round; } } } [aeroway='runway'] { [zoom>=13] { line-width: (@aeroway_runway_wdt + 3) * 0.25; } [zoom>=15] { line-width: (@aeroway_runway_wdt + 3) * 0.5; } [zoom>=16] { line-width: @aeroway_runway_wdt + 3 } line-color: @bridge_outline_clr; } [aeroway='taxiway'] { [zoom>=13] { line-width: (@aeroway_taxiway_wdt + 3) * 0.25; } [zoom>=15] { line-width: (@aeroway_taxiway_wdt + 3) * 0.5; } [zoom>=16] { line-width: @aeroway_taxiway_wdt + 3 } line-color: @bridge_outline_clr; } } ::inline { [highway='primary'], [highway='primary_link'] { [zoom>=13] { line-width: @primary_wdt * 0.25; } [zoom>=15] { line-width: @primary_wdt * 0.5; } [zoom>=16] { line-width: @primary_wdt; } line-color: @primary_clr; line-join: round; line-cap: round; } [highway='secondary'], [highway='secondary_link'] { [zoom>=13] { line-width: @secondary_wdt * 0.25; } [zoom>=15] { line-width: @secondary_wdt * 0.5; } [zoom>=16] { line-width: @secondary_wdt; } line-color: @secondary_clr; line-join: round; line-cap: round; } [highway='tertiary'], [highway='tertiary_link'] { [zoom>=13] { line-width: @tertiary_wdt * 0.25; } [zoom>=15] { line-width: @tertiary_wdt * 0.5; } [zoom>=16] { line-width: @tertiary_wdt; } line-color: @tertiary_clr; line-join: round; line-cap: round; } [highway='residential'], [highway='living_street'], [highway='unclassified'], [highway='pedestrian'] { [zoom>=13] { line-width: @residential_wdt * 0.25; } [zoom>=15] { line-width: @residential_wdt * 0.5; } [zoom>=16] { line-width: @residential_wdt; } line-color: @residential_clr; [highway='pedestrian'] { line-color: @footway_clr; } line-join: round; line-cap: round; } [highway='service'], [highway='cycleway'] { [zoom>=13] { line-width: @service_wdt * 0.25; } [zoom>=15] { line-width: @service_wdt * 0.5; } [zoom>=16] { line-width: @service_wdt; } line-color: @service_clr; line-join: round; line-cap: round; } [highway='footway'], [highway='steps'] { [zoom>=15] { line-width: @footway_wdt * 0.5; [zoom>=16] { line-width: @footway_wdt; } line-color: @footway_clr; line-join: round; line-cap: round; } } [highway='path'], [highway='track'], [highway='bridleway'] { [zoom>=15] { line-width: @path_wdt * 0.5; [zoom>=16] { line-width: @path_wdt; } line-color: @path_clr; line-dasharray: @path_wdt * 2, @path_wdt; [zoom>=16] { line-dasharray: @path_wdt * 4, @path_wdt * 2; } line-join: round; line-cap: round; } } [aeroway='runway'] { [zoom>=13] { line-width: @aeroway_runway_wdt * 0.25; } [zoom>=15] { line-width: @aeroway_runway_wdt * 0.5; } [zoom>=16] { line-width: @aeroway_runway_wdt; } line-color: @aeroway_clr; line-join: round; line-cap: round; } [aeroway='taxiway'] { [zoom>=13] { line-width: @aeroway_taxiway_wdt * 0.25; } [zoom>=15] { line-width: @aeroway_taxiway_wdt * 0.5; } [zoom>=16] { line-width: @aeroway_taxiway_wdt; } line-color: @aeroway_clr; line-join: round; line-cap: round; } } } ::bahnbruecken [bridge!=''][zoom>=15] { [railway='rail'][bridge!=''], [railway='light_rail'][bridge!=''], [railway='subway'][bridge!=''], [railway='disused'][bridge!=''], [railway='abandoned'][bridge!=''] { /* ::bridge-outline { //[zoom=15] { line-width: @rail_wdt * 0.45 } //[zoom>=16] { line-width: @rail_wdt + @bridge_outline_wdt; } line-width: @rail_wdt + (@bridge_outline_wdt * 0.4); line-color: @bridge_outline_clr; }*/ ::rail-outline { [zoom>=15] { line-width: @rail_wdt * 0.4; } [zoom>=16] { line-width: @rail_wdt; } line-color: @rail_outline_clr; line-join: round; [railway='disused'], [railway='abandoned'] { line-color: @rail_outline_clr * 0.5 + rgb(127,127,127); } } ::rail-inline [zoom>=15] { line-width: @rail_wdt * 0.64; line-color: @rail_inline_clr; line-join: round; [railway='disused'], [railway='abandoned'] { line-color: @rail_inline_clr * 0.5 + rgb(127,127,127); } } ::rail-inline-dashed [zoom>=15] { line-width: @rail_wdt; line-color: @rail_outline_clr; line-dasharray: @rail_wdt * 3, @rail_wdt * 3; [railway='disused'], [railway='abandoned'] { line-color: @rail_outline_clr * 0.5 + rgb(127,127,127); } } } } ::routes { /* [railway='tram'] { ::outline { line-color: @tram_outline_clr; line-width: @tram_line_wdt * 1.4; } ::inline { line-color: @tram_line_clr; line-width: @tram_line_wdt; line-cap: round; line-join: round; } }*/ [route='bus'][bridge='yes'] { ::inline { line-color: @bus_line_clr; line-width: @bus_line_wdt; line-cap: round; line-join: round; } } } } /* -------------------------- */ /* ---- Zeichnen: Tunnel ---- */ /* -------------------------- */ #tunnel [tunnel!=''][zoom>=13] { [highway='motorway'] { ::outline { [zoom>=13] { line-width: @motorway_wdt * 0.25; } [zoom>=15] { line-width: @motorway_wdt * 0.5; } [zoom>=16] { line-width: @motorway_wdt; } line-color: @motorway_clr * 0.8; [zoom>=13] { line-dasharray: @motorway_wdt / 8, @motorway_wdt / 16; } [zoom>=15] { line-dasharray: @motorway_wdt / 4, @motorway_wdt / 8; } [zoom>=16] { line-dasharray: @motorway_wdt / 2, @motorway_wdt / 4; } } ::inline { [zoom>=13] { line-width: @motorway_wdt * 0.18; } [zoom>=15] { line-width: @motorway_wdt * 0.36; } [zoom>=16] { line-width: @motorway_wdt * 0.72; } line-color: @motorway_clr * 0.55 + rgb(127,127,127); } } [highway='motorway_link'] { ::outline { [zoom>=13] { line-width: @motorway_link_wdt * 0.25; } [zoom>=15] { line-width: @motorway_link_wdt * 0.5; } [zoom>=16] { line-width: @motorway_link_wdt; } line-color: @motorway_clr * 0.8; [zoom>=13] { line-dasharray: @motorway_wdt / 8, @motorway_wdt / 16; } [zoom>=15] { line-dasharray: @motorway_wdt / 4, @motorway_wdt / 8; } [zoom>=16] { line-dasharray: @motorway_wdt / 2, @motorway_wdt / 4; } } ::inline { [zoom>=13] { line-width: @motorway_link_wdt * 0.16; } [zoom>=15] { line-width: @motorway_link_wdt * 0.32; } [zoom>=16] { line-width: @motorway_link_wdt * 0.64; } line-color: @motorway_clr * 0.55 + rgb(127,127,127); } } [highway='trunk'] { [zoom>=13] { a/line-width: @trunk_wdt * 0.15 * 0.25; } [zoom>=15] { a/line-width: @trunk_wdt * 0.15 * 0.5; } [zoom>=16] { a/line-width: @trunk_wdt * 0.15; } a/line-color: @trunk_clr * 0.8; a/line-opacity: @tunnel_opc; [zoom>=13] { a/line-dasharray: @trunk_wdt / 8, @trunk_wdt / 16; } [zoom>=15] { a/line-dasharray: @trunk_wdt / 4, @trunk_wdt / 8; } [zoom>=16] { a/line-dasharray: @trunk_wdt / 2, @trunk_wdt / 4; } a/line-join: round; a/line-offset: (@trunk_wdt * 0.8) / 2; [zoom>=13] { b/line-width: @trunk_wdt * 0.15 * 0.25; } [zoom>=15] { b/line-width: @trunk_wdt * 0.15 * 0.5; } [zoom>=16] { b/line-width: @trunk_wdt * 0.15; } b/line-color: @trunk_clr * 0.8; b/line-opacity: @tunnel_opc; [zoom>=13] { b/line-dasharray: @trunk_wdt / 8, @trunk_wdt / 16; } [zoom>=15] { b/line-dasharray: @trunk_wdt / 4, @trunk_wdt / 8; } [zoom>=16] { b/line-dasharray: @trunk_wdt / 2, @trunk_wdt / 4; } b/line-join: round; b/line-offset: ((@trunk_wdt * 0.8) / 2) - (2 * ((@trunk_wdt * 0.8) / 2)); [zoom>=13] { c/line-width: @trunk_wdt * 0.8 * 0.25; } [zoom>=15] { c/line-width: @trunk_wdt * 0.8 * 0.5; } [zoom>=16] { c/line-width: @trunk_wdt * 0.8; } c/line-color: @trunk_clr * 0.55 + rgb(127,127,127); c/line-opacity: @tunnel_opc; c/line-join: round; } /* ::outline { [zoom>=13] { line-width: @trunk_wdt * 0.25; } [zoom>=15] { line-width: @trunk_wdt * 0.5; } [zoom>=16] { line-width: @trunk_wdt; } line-color: @trunk_clr * 0.8; [zoom>=13] { line-dasharray: @trunk_wdt / 8, @trunk_wdt / 16; } [zoom>=15] { line-dasharray: @trunk_wdt / 4, @trunk_wdt / 8; } [zoom>=16] { line-dasharray: @trunk_wdt / 2, @trunk_wdt / 4; } } ::inline { [zoom>=13] { line-width: @trunk_wdt * 0.18; } [zoom>=15] { line-width: @trunk_wdt * 0.36; } [zoom>=16] { line-width: @trunk_wdt * 0.72; } line-color: @trunk_clr * 0.55 + rgb(127,127,127); } }*/ [highway='trunk_link'] { ::outline { [zoom>=13] { line-width: @trunk_link_wdt * 0.25; } [zoom>=15] { line-width: @trunk_link_wdt * 0.5; } [zoom>=16] { line-width: @trunk_link_wdt; } line-color: @trunk_clr * 0.8; [zoom>=13] { line-dasharray: @trunk_wdt / 8, @trunk_wdt / 16; } [zoom>=15] { line-dasharray: @trunk_wdt / 4, @trunk_wdt / 8; } [zoom>=16] { line-dasharray: @trunk_wdt / 2, @trunk_wdt / 4; } } ::inline { [zoom>=13] { line-width: @trunk_link_wdt * 0.16; } [zoom>=15] { line-width: @trunk_link_wdt * 0.32; } [zoom>=16] { line-width: @trunk_link_wdt * 0.64; } line-color: @trunk_clr * 0.55 + rgb(127,127,127); } } [highway='primary'], [highway='primary_link'] { ::outline { [zoom>=13] { line-width: @primary_wdt * 0.25; } [zoom>=15] { line-width: @primary_wdt * 0.5; } [zoom>=16] { line-width: @primary_wdt; } line-color: @primary_clr * 0.8; [zoom>=13] { line-dasharray: @primary_wdt / 8, @primary_wdt / 16; } [zoom>=15] { line-dasharray: @primary_wdt / 4, @primary_wdt / 8; } [zoom>=16] { line-dasharray: @primary_wdt / 2, @primary_wdt / 4; } } ::inline { [zoom>=13] { line-width: @primary_wdt * 0.18; } [zoom>=15] { line-width: @primary_wdt * 0.36; } [zoom>=16] { line-width: @primary_wdt * 0.72; } line-color: @primary_clr * 0.55 + rgb(127,127,127); } } [highway='secondary'], [highway='secondary_link'] { ::outline { [zoom>=13] { line-width: @secondary_wdt * 0.25; } [zoom>=15] { line-width: @secondary_wdt * 0.5; } [zoom>=16] { line-width: @secondary_wdt; } line-color: @secondary_clr * 0.8; [zoom>=13] { line-dasharray: @secondary_wdt / 8, @secondary_wdt / 16; } [zoom>=15] { line-dasharray: @secondary_wdt / 4, @secondary_wdt / 8; } [zoom>=16] { line-dasharray: @secondary_wdt / 2, @secondary_wdt / 4; } } ::inline { [zoom>=13] { line-width: @secondary_wdt * 0.18; } [zoom>=15] { line-width: @secondary_wdt * 0.36; } [zoom>=16] { line-width: @secondary_wdt * 0.72; } line-color: @secondary_clr * 0.55 + rgb(127,127,127); } } [highway='tertiary'], [highway='tertiary_link'] { ::outline { [zoom>=13] { line-width: @tertiary_wdt * 0.25; } [zoom>=15] { line-width: @tertiary_wdt * 0.5; } [zoom>=16] { line-width: @tertiary_wdt; } line-color: @tertiary_clr * 0.8; [zoom>=13] { line-dasharray: @tertiary_wdt / 8, @tertiary_wdt / 16; } [zoom>=15] { line-dasharray: @tertiary_wdt / 4, @tertiary_wdt / 8; } [zoom>=16] { line-dasharray: @tertiary_wdt / 2, @tertiary_wdt / 4; } } ::inline { [zoom>=13] { line-width: @tertiary_wdt * 0.17; } [zoom>=15] { line-width: @tertiary_wdt * 0.34; } [zoom>=16] { line-width: @tertiary_wdt * 0.68; } line-color: @tertiary_clr * 0.55 + rgb(127,127,127); } } [highway='residential'], [highway='living_street'], [highway='unclassified'], [highway='pedestrian'] { ::outline { [zoom>=13] { line-width: @residential_wdt * 0.25; } [zoom>=15] { line-width: @residential_wdt * 0.5; } [zoom>=16] { line-width: @residential_wdt; } line-color: @residential_clr * 0.8; [highway='pedestrian'] { line-color: @footway_clr * 0.8; } [zoom>=13] { line-dasharray: @residential_wdt / 8, @residential_wdt / 16; } [zoom>=15] { line-dasharray: @residential_wdt / 4, @residential_wdt / 8; } [zoom>=16] { line-dasharray: @residential_wdt / 2, @residential_wdt / 4; } } ::inline { [zoom>=13] { line-width: @residential_wdt * 0.16; } [zoom>=15] { line-width: @residential_wdt * 0.32; } [zoom>=16] { line-width: @residential_wdt * 0.64; } line-color: @residential_clr * 0.55 + rgb(127,127,127); [highway='pedestrian'] { line-color: @footway_clr * 0.55 + rgb(127,127,127); } } } [highway='service'], [highway='cycleway'] { [zoom>=15] { ::outline { [zoom>=15] { line-width: @service_wdt * 0.5; } [zoom>=16] { line-width: @service_wdt; } line-color: @service_clr; line-opacity: 0.4; } ::inline { [zoom>=15] { line-width: @service_wdt * 0.36 } [zoom>=16] { line-width: @service_wdt * 0.72 } line-color: @service_clr * 0.55 + rgb(127,127,127); [zoom>=15] { line-dasharray: @service_wdt * 1.6, @service_wdt * 0.8; } [zoom>=16] { line-dasharray: @service_wdt * 3.2, @service_wdt * 1.6; } } } } [highway='footway'], [highway='steps'] { [zoom>=15] { ::outline { [zoom>=15] { line-width: @footway_wdt * 0.5; } [zoom>=16] { line-width: @footway_wdt; } line-color: @footway_clr; line-opacity: 0.4; } ::inline { [zoom>=15] { line-width: @footway_wdt * 0.36; } [zoom>=16] { line-width: @footway_wdt * 0.72; } line-color: @footway_clr; [zoom>=15] { line-dasharray: @footway_wdt * 1.6, @footway_wdt * 0.8; } [zoom>=16] { line-dasharray: @footway_wdt * 3.2, @footway_wdt * 1.6; } } } } [highway='path'], [highway='track'], [highway='bridleway'] { [zoom>=15] { ::outline { [zoom>=15] { line-width: @path_wdt * 1.6; } [zoom>=16] { line-width: @path_wdt * 3.2; } line-color: @path_outline_clr; line-opacity: 0.4; } ::inline { [zoom>=15] { line-width: @path_wdt * 0.5; } [zoom>=16] { line-width: @path_wdt; } line-color: @path_clr; [zoom>=15] { line-dasharray: @path_wdt * 2, @path_wdt; } [zoom>=16] { line-dasharray: @path_wdt * 4, @path_wdt * 2; } line-join: round; line-cap: round; } } } } /* ------------------------------- */ /* ---- Zeichnen: Eisenbahnen ---- */ /* ------------------------------- */ #bahnlinien { [zoom>=15] { [railway='rail'], [railway='light_rail'], [railway='subway'], [railway='disused'], [railway='abandoned'] { [tunnel='yes'] { ::outline { line-width: @rail_tunnel_wdt * 0.65; line-color: @rail_outline_clr; line-join: round; line-dasharray: @rail_wdt * 3,@rail_wdt * 3; line-opacity: 0.4; [railway='light_rail'] { line-width: @suburban_tunnel_wdt; line-color: @suburban_tunnel_clr; line-join: round; line-dasharray: @suburban_tunnel_wdt * 1.5, @suburban_tunnel_wdt * 1.5; line-opacity: 0.2; } [railway='subway'] { line-width: @subway_tunnel_wdt; line-color: @subway_tunnel_clr; line-join: round; line-dasharray: @subway_tunnel_wdt * 1.5, @subway_tunnel_wdt * 1.5; line-opacity: 0.2; } } ::inline { line-width: 0; } ::inline-dashed { line-width: 0; } } ::outline { line-color: @rail_outline_clr; line-width: @rail_wdt; line-join: round; [railway='disused'], [railway='abandoned'], [railway='rail'][disused='yes'] { line-color: @rail_outline_clr * 0.5 + rgb(127,127,127); } } ::inline { line-color: @rail_inline_clr; line-width: @rail_wdt * 0.65; line-join: round; [railway='disused'], [railway='abandoned'], [railway='rail'][disused='yes'] { line-color: @rail_inline_clr * 0.5 + rgb(127,127,127); } } ::inline-dashed { line-color: @rail_outline_clr; line-width: @rail_wdt; line-dasharray: @rail_wdt * 3,@rail_wdt * 3; [railway='disused'], [railway='abandoned'], [railway='rail'][disused='yes'] { line-color: @rail_outline_clr * 0.5 + rgb(127,127,127); } } } [railway='narrow_gauge'], [railway='monorail'], [railway='miniature'] { ::line { line-color: @minirail_clr; line-width: @minirail_wdt; line-join: round; } ::dash { line-color: @minirail_clr; line-width: @minirail_wdt * 3.5; line-dasharray: @minirail_wdt * 0.5, @minirail_wdt * 8; } } } [zoom >= 13][zoom <= 14] { [railway='rail'][tunnel='yes'], [railway='light_rail'][tunnel='yes'], [railway='subway'][tunnel='yes'], [railway='disused'][tunnel='yes'], [railway='abandoned'][tunnel='yes'] { line-width: 0; } [railway='rail'], [railway='light_rail'], [railway='subway'], [railway='disused'], [railway='abandoned'] { line-color: @rail_outline_clr; line-width: @rail_wdt * 0.2; [zoom=15] { line-width: @rail_wdt * 0.4; } line-join: round; [railway='disused'], [railway='abandoned'] { line-opacity: 0.4; } } } [zoom >= 10][zoom < 13] { [railway='rail'], [railway='light_rail'], [railway='subway'] { line-color: @rail_outline_clr; line-width: @rail_wdt * 0.1; line-join: round; } } } /* ------------------------------------------------------------ */ /* ---- Zeichnen: Bus-/Straßenbahnlinien und -haltestellen ---- */ /* ------------------------------------------------------------ */ #tramlinien { [zoom>=15] { [railway='tram'] { ::outline { line-color: @tram_outline_clr; line-width: @tram_line_wdt * 1.4; } ::inline { line-color: @tram_line_clr; line-width: @tram_line_wdt; line-cap: round; line-join: round; } } [route='bus'] { // ::outline { // line-color: @bus_outline_clr; // line-width: @tram_line_wdt * 1.4; // } ::inline { line-color: @bus_line_clr; line-width: @bus_line_wdt; line-cap: round; line-join: round; } } } } #tramstationen[zoom>=15] { [railway='tram_stop'] { marker-width: @tramstation_wdt; marker-fill: @tram_line_clr; marker-line-width: @tramstation_wdt * 0.15; marker-line-color: @tram_outline_clr; } [highway='bus_stop'] { marker-width: @bus_stop_wdt; marker-fill: @bus_line_clr; marker-line-width: 0; //@bus_stop_wdt * 0.15; //marker-line-color: @tram_outline_clr; } } /* ---------------------------------------- */ /* ---- Zeichnen: U-/S-Bahnhof-Symbole ---- */ /* ---------------------------------------- */ #s_u_bahnhoefe [zoom>=13] { ::station { [railway='station'][station='subway'], [railway='station'][station='light_rail'] { [station='subway'] { point-file: url(images/symbols/subwaystation.svg); } [station='light_rail'] { point-file: url(images/symbols/suburbanstation.svg); } point-transform: "scale(0.8)"; [zoom=15] { point-transform: "scale(0.4)"; } [zoom<=14] { point-transform: "scale(0.2)"; } point-allow-overlap: true; } } } #label-station [zoom>=15] { [railway='station'][station='subway'], [railway='station'][station='light_rail'] { text-name: "[name]"; text-size: @station_label_wdt * 0.7; [zoom>=16] { text-size: @station_label_wdt; } text-face-name: @station_label_fnt; text-dx: 10; [zoom>=16] { text-dx: 18; } text-halo-radius: @station_label_wdt * 0.15; text-halo-fill: #ffffff; //fadeout(@text_halo_clr, 30%); // text-allow-overlap: true; text-placement-type: simple; text-placements: "N,S,E,W,NE,SE,NW,SW"; } [railway='station'][station='subway'] { text-fill: @subwaystation_label_clr; } [railway='station'][station='light_rail'] { text-fill: @suburbanstation_label_clr; } [railway='tram_stop'] { text-name: "[name]"; text-size: @tramstation_label_wdt; text-fill: @tramstation_label_clr; text-face-name: @station_label_fnt; text-dx: @tramstation_wdt + 4; text-halo-radius: @tramstation_label_wdt * 0.1; text-halo-fill: fadeout(@text_halo_clr, 30%); //text-allow-overlap: true; text-placement-type: simple; text-placements: "N,S,E,W,NE,SE,NW,SW"; } } /* ------------------------------------------ */ /* ---- Zeichnen: Gebäude und Strukturen ---- */ /* ------------------------------------------ */ #strukturen [zoom>=15] { [barrier!=''] { line-color: @barrier_clr; line-width: @barrier_wdt; //line-dasharray: 0.4,0.4; } [barrier = 'bollard'] { line-color: @barrier_clr; line-width: @barrier_wdt; line-dasharray: @barrier_wdt,@barrier_wdt * 4; } [barrier='hedge'], [natural='tree_row'] { line-color: @treerow_clr; line-width: @treerow_wdt; line-join: round; } [man_made='pier'] { line-color: @pier_clr; line-width: @pier_wdt; //line-cap: round; line-join: round; } [route='ferry'] { line-color: @ferry_clr; line-width: @ferry_wdt; line-dasharray: @ferry_wdt * 6, @ferry_wdt * 3; } } #gebaeude [zoom>=13] [building!=''] { ::outline { line-color: @building_line_clr; line-width: @building_line_wdt; [zoom<=15] { line-width: @building_line_wdt * 0.6; } [zoom<=14] { line-width: 0; } line-opacity: 0.8; } ::inline { polygon-fill: @building_clr; polygon-gamma: 0.3; } // verschiedene Ebenen von Gebäuden durch dunklere Färbung andeuten ::layer1 [layer='1'] { polygon-fill: @building_clr * (1 - @building_clr_layer_fct); } ::layer2 [layer='2'] { polygon-fill: @building_clr * (1 - (2 * @building_clr_layer_fct)); } ::layer3 [layer='3'] { polygon-fill: @building_clr * (1 - (2.3 * @building_clr_layer_fct)); } ::layer4 [layer='4'] { polygon-fill: @building_clr * (1 - (2.5 * @building_clr_layer_fct)); } ::layer5 [layer='5'] { polygon-fill: @building_clr * (1 - (2.6 * @building_clr_layer_fct)); } } /* -------------------------- */ /* ---- Zeichnen: Wasser ---- */ /* -------------------------- */ #wasserflaechen [zoom >= 9] { [waterway!=''], [leisure='swimming_pool'][building!='yes'], [natural='water'] { ::outline { line-color: @water_line_clr; line-width: @water_outline_wdt; } ::body { polygon-fill: @water_body_clr; polygon-gamma: 0.3; polygon-pattern-file: url(images/textures/water_32px.png); [zoom>=15] { polygon-pattern-file: url(images/textures/water_64px.png); } //polygon-pattern-opacity: 0.6; //polygon-pattern-comp-op: color-burn; polygon-pattern-alignment: global; } } } #wasserlinien [zoom >= 13] { // z.Zt. Hilfslayer für Abhangdarstellung [waterway!=''] { line-color: @stream_clr; line-width: @stream_wdt; line-join: round; [tunnel='yes'] { line-width: @stream_wdt * 0.7; line-dasharray: 2.4,2.4; } } [zoom >= 15][man_made='embankment'] { line-pattern-file: url(images/symbols/cliff_8px.png); } } /* ------------------------------- */ /* ---- Zeichnen: Landnutzung ---- */ /* ------------------------------- */ #landnutzung { [natural='wood'][zoom >= 10], [landuse='forest'][zoom >= 10] { polygon-fill: @forest_clr; polygon-pattern-file: url(images/textures/wood_16px.png); [zoom>=14] { polygon-pattern-file: url(images/textures/wood_32px.png); } polygon-pattern-comp-op: multiply; polygon-pattern-alignment: global; } [landuse='residential'][zoom >= 10] { polygon-fill: @residential_area_clr; } [amenity='parking'][zoom>=14] { polygon-fill: @parking_clr; } [natural='scrub'][zoom>=14] { polygon-fill: @green_clr; polygon-gamma: 0.3; polygon-pattern-file: url(images/textures/scrub_32px.png); [zoom>=15] { polygon-pattern-file: url(images/textures/scrub_64px.png); } polygon-pattern-opacity: 0.4; polygon-pattern-comp-op: multiply; polygon-pattern-alignment: global; } [zoom >= 11] { [landuse='recreation_ground'], [landuse='grass'], [natural='grassland'], [landuse='meadow'], [natural='heath'], [landuse='village_green'], [leisure='park'], [leisure='common'], [leisure='garden'] { polygon-gamma: 0.3; polygon-fill: @green_clr; } [landuse='cemetery'] { polygon-gamma: 0.3; polygon-fill: @green2_clr; [zoom>=14] { polygon-pattern-file: url(images/textures/cemetery_32px.png); [zoom>=15] { polygon-pattern-file: url(images/textures/cemetery_64px.png); } polygon-pattern-opacity: 0.4; polygon-pattern-alignment: global; } } [landuse='allotments'] { polygon-gamma: 0.3; polygon-fill: @green2_clr; [zoom>=14] { polygon-pattern-file: url(images/textures/allotments_32px.png); [zoom>=15] { polygon-pattern-file: url(images/textures/allotments_64px.png); } polygon-pattern-opacity: 0.1; polygon-pattern-alignment: global; } } [natural='wetland'] { polygon-fill: @green_clr; polygon-gamma: 0.3; [zoom>=14] { polygon-pattern-file: url(images/textures/swamp_32px.png); [zoom>=15] { polygon-pattern-file: url(images/textures/swamp_64px.png); } polygon-pattern-alignment: global; } } [leisure='playground'], [leisure='pitch'] { polygon-fill: @playground_clr; } [landuse='commercial'], [leisure='common'] { polygon-fill: @common_clr; } [railway='platform'] { polygon-fill: @plattform_clr; } [landuse='industrial'], [landuse='railway'] { polygon-fill: @industrial_clr; } [landuse='construction'] { polygon-gamma: 0.3; polygon-fill: @brownfield_clr; [zoom>=15] { polygon-pattern-file: url(images/textures/construction_32px.png); [zoom>=17] { polygon-pattern-file: url(images/textures/construction_64px.png); } polygon-pattern-opacity: 0.25; polygon-pattern-comp-op: multiply; polygon-pattern-alignment: global; } } [landuse='brownfield'], [landuse='orchard'], [landuse='farm'], [landuse='farmland'] { polygon-fill: @brownfield_clr; } [natural='beach'], [natural='sand'] { polygon-fill: @sand_clr; polygon-pattern-file: url(images/textures/sand_16px.png); // polygon-pattern-opacity: 0.4; // polygon-pattern-comp-op: multiply; polygon-pattern-alignment: global; } } } /* ------------------------------------------------------- */ /* ---- Zeichnen: Straßennamen, Symbole, Beschriftung ---- */ /* ------------------------------------------------------- */ #strassennamen [zoom>=14] { [zoom>=15][highway='tertiary'], [zoom>=15][highway='residential'], [zoom>=15][highway='living_street'], [zoom>=15][highway='unclassified'], [zoom>=15][highway='pedestrian'][zoom>=15], [zoom>=15][highway='service'][zoom>=15], [zoom>=15][highway='footway'], [zoom>=15][highway='cycleway'][zoom>=15] { text-size: @highway_label_wdt_2; text-fill: @highway_label_clr; text-name: "[name]"; text-face-name: @highway_label_fnt; text-placement: line; text-halo-radius: @highway_label_wdt_2 * 0.1; text-halo-fill: @text_halo_clr; text-placement-type: simple; text-placements: "N,S,E,W,NE,SE,NW,SW,"+@highway_label_wdt_2_array; } [highway='primary'], [highway='secondary'] { text-size: @highway_label_wdt_1; text-fill: @highway_label_clr; text-name: "[name]"; text-face-name: @highway_label_fnt; text-placement: line; text-halo-radius: @highway_label_wdt_1 * 0.1; text-halo-fill: @text_halo_clr; text-placement-type: simple; text-placements: "N,S,E,W,NE,SE,NW,SW,"+@highway_label_wdt_1_array; } } #label-orte { [place='suburb'][zoom>=12] { text-size: @place_label_wdt * 0.7; [zoom>=14] { text-size: @place_label_wdt; } text-fill: @place_label_clr; text-name: "[name]"; text-face-name: @place_label_fnt; text-halo-radius: @place_label_wdt * 0.1; text-halo-fill: @text_halo_clr; text-transform: uppercase; text-character-spacing: 3; text-allow-overlap: true; } [place='town'][zoom<=14][zoom>=10] { text-size: @place_label_wdt * 1.2; [zoom=11] { text-size: @place_label_wdt; } [zoom=10] { text-size: @place_label_wdt * 0.8; } text-fill: @place_label_clr; text-name: "[name]"; text-face-name: @place_label_fnt; text-halo-radius: @place_label_wdt * 0.1; text-halo-fill: @text_halo_clr; text-allow-overlap: true; } [place='city'][zoom<=14] { text-size: @place_label_wdt * 1.5; [zoom=11] { text-size: @place_label_wdt * 1.2; } [zoom<=10] { text-size: @place_label_wdt * 0.9; } text-fill: @place_label_clr; text-name: "[name]"; text-face-name: @place_label_fnt; text-halo-radius: @place_label_wdt * 0.1; text-halo-fill: @text_halo_clr; text-character-spacing: 2; text-allow-overlap: true; } } #label-gebaeude [zoom>=15] { [building != ''] { text-size: @building_label_wdt; text-fill: @building_label_clr; text-name: "[addr:housename]"; text-face-name: @building_label_fnt; text-halo-radius: @building_label_wdt * 0.1; text-halo-fill: @text_halo_clr; text-wrap-width: 12; } // text-character-spacing: 2; // text-transform: uppercase; // text-allow-overlap: true; } #label-landschaft-flaechen, #label-landschaft-linien, #label-landschaft-punkte { [natural='wood'][zoom>=13], [landuse='forest'][zoom>=13], [leisure='park'][zoom>=15], [landuse='recreation_ground'][zoom>=15], [landuse='grass'][zoom>=15], [natural='grassland'][zoom>=15], [landuse='meadow'][zoom>=15], [natural='heath'][zoom>=15], [landuse='village_green'][zoom>=15], [leisure='common'][zoom>=15], [leisure='garden'][zoom>=15], [landuse='cemetery'][zoom>=15] { // [landuse='allotments'][zoom>=15] { text-size: @green_label_wdt; text-fill: @green_label_clr; text-name: "[name]"; text-face-name: @green_label_fnt; text-halo-radius: @green_label_wdt * 0.1; text-halo-fill: fadeout(@text_halo_clr, 30%); text-allow-overlap: true; } [natural='water'][zoom>=15] { text-size: @water_label_wdt; text-fill: @water_label_clr; text-name: "[name]"; text-face-name: @water_label_fnt; text-halo-radius: @water_label_wdt * 0.1; text-halo-fill: fadeout(@text_halo_clr, 30%); text-allow-overlap: true; } [waterway!=''][zoom>=13] { text-size: @water_label_wdt; [tunnel!=''] { text-size: 0; } text-fill: @water_label_clr; text-name: "[name]"; text-face-name: @water_label_fnt; text-halo-radius: @water_label_wdt * 0.1; text-halo-fill: fadeout(@text_halo_clr, 30%); text-placement: line; text-dy: @water_label_wdt / 2 + 3; text-allow-overlap: true; } } #label-hausnummern-punkte [zoom>=15], #label-hausnummern-flaechen [zoom>=15] { ::label { text-face-name: @housenumbers_label_fnt; text-halo-radius: 0; //text-placement:line; text-min-distance: 15; text-wrap-width: 0; text-name: "[addr:housenumber]"; text-fill: @housenumbers_label_clr; text-size: @housenumbers_label_wdt; text-halo-fill: #ffffff; } } #symbole-flaechen [zoom>=15], #symbole-punkte [zoom>=15] { [amenity='pharmacy'] { marker-file: url(images/symbols/pharmacy.svg); marker-transform: "scale(0.34)"; // [zoom>=16] { marker-transform: "scale(0.17)"; } marker-allow-overlap: true; } [shop='supermarket'] { marker-file: url(images/symbols/supermarket_fine.svg); marker-transform: "scale(0.34)"; //[zoom>=16] { marker-transform: "scale(0.17)"; } marker-allow-overlap: true; } [amenity='place_of_worship'] { [religion='christian'] { marker-file: url(images/symbols/church.svg); marker-transform: "scale(0.3)"; //[zoom>=16] { marker-transform: "scale(0.1)"; } marker-allow-overlap: true; } [religion='jewish'] { marker-file: url(images/symbols/synagogue.svg); marker-transform: "scale(0.3)"; //[zoom>=16] { marker-transform: "scale(0.1)"; } marker-allow-overlap: true; } [religion='muslim'] { marker-file: url(images/symbols/mosque.svg); marker-transform: "scale(0.3)"; //[zoom>=16] { marker-transform: "scale(0.1)"; } marker-allow-overlap: true; } } [amenity='toilets'] { marker-file: url(images/symbols/toilet.svg); marker-transform: "scale(0.4)"; marker-allow-overlap: true; } /* [barrier='gate'] { marker-file: url(images/symbols/barrier.svg); marker-transform: "scale(0.12)"; marker-allow-overlap: true; }*/ /* [amenity='post_box'] { marker-file: url(images/symbols/post_box.svg); marker-transform: "scale(0.2)"; marker-allow-overlap: true; }*/ /* [leisure='playground'] { marker-file: url(images/symbols/playground_colored.svg); marker-transform: "scale(0.4)"; marker-allow-overlap: true; // marker-fill: #7D8E65; } [historic='memorial'] { marker-file: url(images/symbols/memorial.svg); marker-transform: "scale(0.3)"; marker-allow-overlap: true; } [historic='monument'] { marker-file: url(images/symbols/monument.svg); marker-transform: "scale(0.3)"; marker-allow-overlap: true; }*/ [railway='subway_entrance'] { marker-file: url(images/symbols/subway_entrance.svg); marker-transform: "scale(0.2)"; marker-allow-overlap: true; [zoom=15] { marker-transform: "scale(0.1)"; } /* marker-width: 6; [zoom=15] { marker-width: 3; } marker-fill: #156ab8; marker-line-width: 0; marker-allow-overlap: true;*/ } /* [amenity='parking'] { marker-file: url(images/symbols/parking_150px.png); marker-transform: "scale(0.07)"; }*/ }