Changes between Version 4 and Version 5 of Styles/PublicTransport
- Timestamp:
- 2017-08-05T11:56:10+02:00 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Styles/PublicTransport
v4 v5 6 6 title: "Public Transport"; 7 7 description: "Highlight important information regarding Public Transport"; 8 version: "1. [[revision]]_[[date]]";8 version: "1.4_2017-08-05"; 9 9 author: "Polyglot"; 10 10 link: "http://josm.openstreetmap.de/wiki/Styles/PublicTransport"; … … 17 17 description: "Zet interessante info van bus- en tramlijnen en -haltes in de kijker"; 18 18 } 19 20 /*21 relation[type=route][route=bus] > way::relation_underlay22 {z-index: -1;23 width: 16;24 color: teal;25 opacity: 0.4;26 linecap: none;27 text-color: red;28 font-size: 32;29 text: parent_tag(ref);30 text-position: line;31 text-offset-y: 32;}32 */33 19 34 20 relation[type=route][route=tram] > way::relation_underlay … … 39 25 linecap: none; 40 26 text-color: red; 41 font-size: 32;27 font-size: 18; 42 28 text: parent_tag(ref); 43 29 text-position: line; 44 text-offset-y: 32;}30 text-offset-y: 16;} 45 31 46 32 relation[type=route][route=bus] > way::relation_underlay … … 51 37 linecap: none; 52 38 text-color: red; 53 font-size: 32;39 font-size: 18; 54 40 text: parent_tag(ref); 55 41 text-position: line; 56 text-offset-y: 32;}57 58 node|z1 8-[highway=bus_stop]::zone,59 node|z1 8-[railway=tram_stop]::zone,60 node|z1 8-[public_transport=platform]::zone42 text-offset-y: 16;} 43 44 node|z15-[highway=bus_stop]::zone, 45 node|z15-[railway=tram_stop]::zone, 46 node|z15-[public_transport=platform]::zone 61 47 {text-color: pink; 62 48 font-size: 20; … … 72 58 {text-color: eval(rgb(abs(cos(concat(tag("zone:De_Lijn"),tag("zone:TEC"))*18)), abs(sin(concat(tag("zone:De_Lijn"),tag("zone:TEC"))*72)), abs(cos(concat(tag("zone:De_Lijn"),tag("zone:TEC"))*24)))); 73 59 font-size: 40; 74 text: concat(tag("zone:De_Lijn"),tag("zone:TEC"));60 text: concat(tag("zone:De_Lijn"),tag("zone:TEC")); 75 61 text-halo-radius: 2; 76 62 text-offset-x: -85; … … 78 64 z-index:2.0;} 79 65 80 node|z 20-[public_transport=platform][network*=";"]::network66 node|z18-[public_transport=platform][network*=";"]::network 81 67 {text-color: cyan; 82 68 font-size: 16; 83 text: tag("network");69 text: tag("network"); 84 70 text-halo-radius: 2; 85 71 text-offset-x: -5; 86 text-offset-y: 70;72 text-offset-y: 5; 87 73 z-index:2.0;} 88 74 89 node|z 20-[highway=bus_stop]::name,90 node|z 20-[railway=tram_stop]::name,91 node|z 20-[public_transport=platform]::name75 node|z18-[highway=bus_stop]::name, 76 node|z18-[railway=tram_stop]::name, 77 node|z18-[public_transport=platform]::name 92 78 {text-color: purple; 93 79 font-size: 24; 94 80 text: tag(name); 95 81 text-halo-radius: 2; 96 text-offset-x: 10; 97 text-offset-y: 6;} 98 99 node|z16-["ref:De_Lijn"]::ref 82 text-offset-y: 15;} 83 84 node|z14-["ref"]::ref 100 85 {text-color: blue; 101 86 font-size: 17; 87 text: tag(ref); 88 text-halo-radius: 2; 89 text-offset-x: -60; 90 text-offset-y: -20; 91 z-index:3.0;} 92 93 node|z14-["ref:De_Lijn"]::refDL 94 {text-color: blue; 95 font-size: 17; 102 96 text: tag("ref:De_Lijn"); 103 97 text-halo-radius: 2; 104 text-offset-x: - 80;105 text-offset-y: -20; 106 z-index:3.0;} 107 108 node|z1 6-["ref:TECB"]::refb98 text-offset-x: -60; 99 text-offset-y: -20; 100 z-index:3.0;} 101 102 node|z14-["ref:TECB"]::refb 109 103 {text-color: red; 110 104 font-size: 17; 111 text: tag("ref:TECB");105 text: tag("ref:TECB"); 112 106 text-halo-radius: 2; 113 107 text-offset-x: -80; … … 115 109 z-index:3.0;} 116 110 117 node|z1 6-["ref:TECH"]::refh111 node|z14-["ref:TECH"]::refh 118 112 {text-color: orange; 119 113 font-size: 17; 120 text: tag("ref:TECH"); 114 text: tag("ref:TECH"); 115 text-halo-radius: 2; 116 text-offset-x: -80; 117 text-offset-y: -20; 118 z-index:3.0;} 119 120 node|z14-["ref:TECC"]::refc 121 {text-color: cyan; 122 font-size: 17; 123 text: tag("ref:TECC"); 121 124 text-halo-radius: 2; 122 125 text-offset-x: -80; … … 124 127 z-index:3.0;} 125 128 126 node|z16-["ref:TECC"]::refc 127 {text-color: cyan; 128 font-size: 17; 129 text: tag("ref:TECC"); 130 text-halo-radius: 2; 131 text-offset-x: -80; 132 text-offset-y: -20; 133 z-index:3.0;} 134 135 node|z16-["ref:TECN"]::refn 129 node|z14-["ref:TECN"]::refn 136 130 {text-color: white; 137 131 font-size: 17; 138 text: tag("ref:TECN");132 text: tag("ref:TECN"); 139 133 text-halo-radius: 2; 140 134 text-offset-x: -80; … … 142 136 z-index:3.0;} 143 137 144 node|z1 6-["ref:TECL"]::refl138 node|z14-["ref:TECL"]::refl 145 139 {text-color: black; 146 140 font-size: 17; 147 text: tag("ref:TECL"); 141 text: tag("ref:TECL"); 142 text-halo-radius: 2; 143 text-offset-x: -80; 144 text-offset-y: -20; 145 z-index:3.0;} 146 147 node|z14-["ref:TECX"]::refx 148 {text-color: yellow; 149 font-size: 17; 150 text: tag("ref:TECX"); 148 151 text-halo-radius: 2; 149 152 text-offset-x: -80; 150 153 text-offset-y: -60; 151 z-index:3.0;}152 153 node|z16-["ref:TECX"]::refx154 {text-color: yellow;155 font-size: 17;156 text: tag("ref:TECX");157 text-halo-radius: 2;158 text-offset-x: -80;159 text-offset-y: -20;160 154 z-index:3.0;} 161 155 … … 214 208 215 209 210 216 211 }}}
