Changes between Version 2 and Version 3 of Styles/PublicTransport
- Timestamp:
- 2017-07-29T12:15:28+02:00 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Styles/PublicTransport
v2 v3 6 6 title: "Public Transport"; 7 7 description: "Highlight important information regarding Public Transport"; 8 version: "1. [[revision]]_[[date]]";8 version: "1.3_2017-07-30"; 9 9 author: "Polyglot"; 10 10 link: "http://josm.openstreetmap.de/wiki/Styles/PublicTransport"; … … 26 26 linecap: none; 27 27 text-color: red; 28 font-size: 19;29 text: parent_tag(ref); 30 text-position: line; 31 text-offset-y: 16;}28 font-size: 32; 29 text: parent_tag(ref); 30 text-position: line; 31 text-offset-y: 32;} 32 32 */ 33 33 … … 39 39 linecap: none; 40 40 text-color: red; 41 font-size: 19;42 text: parent_tag(ref); 43 text-position: line; 44 text-offset-y: 16;}41 font-size: 32; 42 text: parent_tag(ref); 43 text-position: line; 44 text-offset-y: 32;} 45 45 46 46 relation[type=route][route=bus] > way::relation_underlay … … 51 51 linecap: none; 52 52 text-color: red; 53 font-size: 19;54 text: parent_tag(ref); 55 text-position: line; 56 text-offset-y: 16;}57 58 node|z1 5-[highway=bus_stop]::zone,59 node|z1 5-[railway=tram_stop]::zone,60 node|z1 5-[public_transport=platform]::zone53 font-size: 32; 54 text: parent_tag(ref); 55 text-position: line; 56 text-offset-y: 32;} 57 58 node|z18-[highway=bus_stop]::zone, 59 node|z18-[railway=tram_stop]::zone, 60 node|z18-[public_transport=platform]::zone 61 61 {text-color: pink; 62 62 font-size: 20; … … 78 78 z-index:2.0;} 79 79 80 node|z 18-[public_transport=platform][network*=";"]::network80 node|z20-[public_transport=platform][network*=";"]::network 81 81 {text-color: cyan; 82 82 font-size: 16; … … 84 84 text-halo-radius: 2; 85 85 text-offset-x: -5; 86 text-offset-y: 5;86 text-offset-y: 70; 87 87 z-index:2.0;} 88 88 89 node|z 18-[highway=bus_stop]::name,90 node|z 18-[railway=tram_stop]::name,91 node|z 18-[public_transport=platform]::name89 node|z20-[highway=bus_stop]::name, 90 node|z20-[railway=tram_stop]::name, 91 node|z20-[public_transport=platform]::name 92 92 {text-color: purple; 93 93 font-size: 24; 94 text: tag(name); 95 text-halo-radius: 2; 96 text-offset-y: 15;} 97 98 node|z14-["ref:De_Lijn"]::ref 94 text: tag(name); 95 text-halo-radius: 2; 96 text-offset-x: 10; 97 text-offset-y: 6;} 98 99 node|z16-["ref:De_Lijn"]::ref 99 100 {text-color: blue; 100 101 font-size: 17; 101 102 text: tag("ref:De_Lijn"); 102 103 text-halo-radius: 2; 103 text-offset-x: - 60;104 text-offset-x: -80; 104 105 text-offset-y: -20; 105 106 z-index:3.0;} 106 107 107 node|z1 4-["ref:TECB"]::refb108 node|z16-["ref:TECB"]::refb 108 109 {text-color: red; 109 110 font-size: 17; … … 114 115 z-index:3.0;} 115 116 116 node|z1 4-["ref:TECH"]::refh117 node|z16-["ref:TECH"]::refh 117 118 {text-color: orange; 118 119 font-size: 17; … … 123 124 z-index:3.0;} 124 125 125 node|z1 4-["ref:TECC"]::refc126 node|z16-["ref:TECC"]::refc 126 127 {text-color: cyan; 127 128 font-size: 17; … … 132 133 z-index:3.0;} 133 134 134 node|z1 4-["ref:TECN"]::refn135 node|z16-["ref:TECN"]::refn 135 136 {text-color: white; 136 137 font-size: 17; … … 141 142 z-index:3.0;} 142 143 143 node|z1 4-["ref:TECL"]::refl144 node|z16-["ref:TECL"]::refl 144 145 {text-color: black; 145 146 font-size: 17; … … 150 151 z-index:3.0;} 151 152 152 node|z1 4-["ref:TECX"]::refx153 node|z16-["ref:TECX"]::refx 153 154 {text-color: yellow; 154 155 font-size: 17; … … 159 160 z-index:3.0;} 160 161 161 node|z1 7-[highway=bus_stop]::route_ref,162 node|z1 7-[railway=tram_stop]::route_ref,163 node|z1 7-[public_transport=platform]::route_ref162 node|z18-[highway=bus_stop]::route_ref, 163 node|z18-[railway=tram_stop]::route_ref, 164 node|z18-[public_transport=platform]::route_ref 164 165 {text-color: black; 165 font-size: 19;166 font-size: 21; 166 167 text: concat(tag(route_ref), 167 168 cond(has_tag_key("route_ref:De_Lijn"), concat(" | ", tag("route_ref:De_Lijn")),""), … … 173 174 cond(has_tag_key("route_ref:TECX"), concat(" | ", tag("route_ref:TECX")),"")); 174 175 text-halo-radius: 2; 175 text-offset-y: - 20;176 text-offset-y: -40; 176 177 z-index:4.0;} 177 178 178 relation[route=bus] > node|z16-::parent_ref 179 {text-color: pink; 180 font-size: 19; 181 text: parent_tag(ref); 182 text-halo-radius: 2; 183 text-offset-y: -40; 184 z-index:5.0;} 185 186 relation[public_transport=stop_area] > node|z12-::parent_name 179 relation[public_transport=stop_area] > node|z18-::parent_name 187 180 {text-color: yellow; 188 181 font-size: 16; 189 182 text: parent_tag(name); 190 183 text-halo-radius: 2; 191 text-offset-y: - 40;192 z-index: 5.0;}193 194 relation[public_transport=stop_area] > way|z 16-::parent_name184 text-offset-y: -60; 185 z-index:1.0;} 186 187 relation[public_transport=stop_area] > way|z21-::parent_name 195 188 {text-color: yellow; 196 189 font-size: 10; 197 190 text: parent_tag(name); 198 191 text-halo-radius: 2; 199 z-index: 5.0;}192 z-index:1.0;} 200 193 201 194 relation[route=bus][odbl=new] > node::relation_underlay, … … 220 213 text-offset-y: 16;} 221 214 215 222 216 }}}
