| | 1 | /* |
| | 2 | iD JOSM Paint Style - a modified version of the Main JOSM paint style which renders roads, waterways, landuse, and other features similar to iD. |
| | 3 | */ |
| | 4 | |
| | 5 | meta { |
| | 6 | title: "iD"; |
| | 7 | description: "Renders roads, waterways, landuse, and other features like iD."; |
| | 8 | version: "0.1"; |
| | 9 | author: "Leif Rasmussen"; |
| | 10 | link: "https://josm.openstreetmap.de/wiki/Styles/iD"; |
| | 11 | min-josm-version: "7193"; |
| | 12 | icon: ""; |
| | 13 | } |
| | 14 | |
| | 15 | canvas { |
| | 16 | default-points: false; |
| | 17 | } |
| | 18 | node { |
| | 19 | text: auto; |
| | 20 | } |
| | 21 | |
| | 22 | /*************************/ |
| | 23 | /* create style settings */ |
| | 24 | /*************************/ |
| | 25 | |
| | 26 | setting::hide_icons { |
| | 27 | type: boolean; |
| | 28 | label: tr("Hide icons at low zoom"); |
| | 29 | default: true; |
| | 30 | } |
| | 31 | |
| | 32 | setting::shrink_nodes { |
| | 33 | type: boolean; |
| | 34 | label: tr("Less obtrusive node symbols at low zoom"); |
| | 35 | default: true; |
| | 36 | } |
| | 37 | |
| | 38 | setting::hide_tagged_waynodes { |
| | 39 | type: boolean; |
| | 40 | label: tr("Hide tagged waynodes at low zoom"); |
| | 41 | default: true; |
| | 42 | } |
| | 43 | |
| | 44 | setting::highway_labels { |
| | 45 | type: boolean; |
| | 46 | label: tr("Display street labels (at high zoom)"); |
| | 47 | default: true; |
| | 48 | } |
| | 49 | |
| | 50 | setting::alt_turn_icons { |
| | 51 | type: boolean; |
| | 52 | label: tr("Use alternative turn restriction icon set"); |
| | 53 | default: false; |
| | 54 | } |
| | 55 | |
| | 56 | setting::place_fill_colour { |
| | 57 | type: boolean; |
| | 58 | label: tr("Display fill colour of areas with place=*"); |
| | 59 | default: false; |
| | 60 | } |
| | 61 | |
| | 62 | setting::partial_fill { |
| | 63 | type: boolean; |
| | 64 | label: tr("Areas are drawn with fill only around their inner edges"); |
| | 65 | default: true; |
| | 66 | } |
| | 67 | |
| | 68 | /*********************/ |
| | 69 | /* turn restrictions */ |
| | 70 | /*********************/ |
| | 71 | |
| | 72 | relation[restriction=no_left_turn][!setting("alt_turn_icons")] { |
| | 73 | icon-image: "presets/vehicle/restriction/turn_restrictions/no_left_turn_red.svg"; |
| | 74 | set icon_z17; |
| | 75 | text: auto; |
| | 76 | } |
| | 77 | relation[restriction=no_left_turn][setting("alt_turn_icons")] { |
| | 78 | icon-image: "presets/vehicle/restriction/turn_restrictions/no_left_turn.svg"; |
| | 79 | set icon_z17; |
| | 80 | text: auto; |
| | 81 | } |
| | 82 | relation[restriction=no_right_turn][!setting("alt_turn_icons")] { |
| | 83 | icon-image: "presets/vehicle/restriction/turn_restrictions/no_right_turn_red.svg"; |
| | 84 | set icon_z17; |
| | 85 | text: auto; |
| | 86 | } |
| | 87 | relation[restriction=no_right_turn][setting("alt_turn_icons")] { |
| | 88 | icon-image: "presets/vehicle/restriction/turn_restrictions/no_right_turn.svg"; |
| | 89 | set icon_z17; |
| | 90 | text: auto; |
| | 91 | } |
| | 92 | relation[restriction=no_straight_on][!setting("alt_turn_icons")] { |
| | 93 | icon-image: "presets/vehicle/restriction/turn_restrictions/no_straight_on_red.svg"; |
| | 94 | set icon_z17; |
| | 95 | text: auto; |
| | 96 | } |
| | 97 | relation[restriction=no_straight_on][setting("alt_turn_icons")] { |
| | 98 | icon-image: "presets/vehicle/restriction/turn_restrictions/no_straight_on.svg"; |
| | 99 | set icon_z17; |
| | 100 | text: auto; |
| | 101 | } |
| | 102 | relation[restriction=no_u_turn] { |
| | 103 | icon-image: "presets/vehicle/restriction/turn_restrictions/no_u_turn.svg"; |
| | 104 | set icon_z17; |
| | 105 | text: auto; |
| | 106 | } |
| | 107 | relation[restriction=only_left_turn] { |
| | 108 | icon-image: "presets/vehicle/restriction/turn_restrictions/only_left_turn.svg"; |
| | 109 | set icon_z17; |
| | 110 | text: auto; |
| | 111 | } |
| | 112 | relation[restriction=only_right_turn] { |
| | 113 | icon-image: "presets/vehicle/restriction/turn_restrictions/only_right_turn.svg"; |
| | 114 | set icon_z17; |
| | 115 | text: auto; |
| | 116 | } |
| | 117 | relation[restriction=only_straight_on] { |
| | 118 | icon-image: "presets/vehicle/restriction/turn_restrictions/only_straight_on.svg"; |
| | 119 | set icon_z17; |
| | 120 | text: auto; |
| | 121 | } |
| | 122 | node[restriction] { |
| | 123 | icon-image: "presets/misc/deprecated.svg"; |
| | 124 | set icon_z17; |
| | 125 | text: auto; |
| | 126 | } |
| | 127 | |
| | 128 | /******************/ |
| | 129 | /* bridge, tunnel */ |
| | 130 | /******************/ |
| | 131 | |
| | 132 | way[bridge=yes]::core_bridge, |
| | 133 | way[bridge=viaduct]::core_bridge, |
| | 134 | way[bridge=swing]::core_bridge, |
| | 135 | way[bridge=movable]::core_bridge, |
| | 136 | way[bridge=cantilever]::core_bridge, |
| | 137 | way[bridge=covered]::core_bridge, |
| | 138 | way[bridge=low_water_crossing]::core_bridge, |
| | 139 | way[bridge=trestle]::core_bridge, |
| | 140 | way[bridge=aqueduct]::core_bridge { |
| | 141 | major-z-index: 2; |
| | 142 | object-z-index: -1; |
| | 143 | width: +10; |
| | 144 | color: bridge#000000; |
| | 145 | opacity: 0.8; |
| | 146 | } |
| | 147 | way[tunnel=yes]::core_tunnel, |
| | 148 | way[tunnel=culvert]::core_tunnel, |
| | 149 | way[tunnel=building_passage]::core_tunnel, |
| | 150 | way[tunnel=avalanche_protector]::core_tunnel { |
| | 151 | major-z-index: 2; |
| | 152 | object-z-index: -1; |
| | 153 | width: 2; |
| | 154 | color: tunnel#964B00; |
| | 155 | opacity: 0.5; |
| | 156 | } |
| | 157 | node[oneway], |
| | 158 | node[bridge], |
| | 159 | node[tunnel?], |
| | 160 | node[tunnel?!], |
| | 161 | node[cutting?!], |
| | 162 | node[embankment?!] { |
| | 163 | icon-image: "presets/misc/deprecated.svg"; |
| | 164 | set icon_z17; |
| | 165 | } |
| | 166 | |
| | 167 | /****************************/ |
| | 168 | /* access restrictions tags */ |
| | 169 | /****************************/ |
| | 170 | |
| | 171 | |
| | 172 | node[traffic_sign][access?!] { |
| | 173 | icon-image: "presets/vehicle/restriction/restrictions.svg"; |
| | 174 | set icon_z17; |
| | 175 | } |
| | 176 | node[traffic_sign][access=permissive][!is_prop_set(icon-image)], |
| | 177 | node[traffic_sign][access=private][!is_prop_set(icon-image)], |
| | 178 | node[traffic_sign][access=destination][!is_prop_set(icon-image)] { |
| | 179 | icon-image: "presets/misc/no_icon.svg"; |
| | 180 | set icon_z17; |
| | 181 | } |
| | 182 | node[traffic_sign][bicycle?!] { |
| | 183 | icon-image: "presets/vehicle/restriction/bicycle.svg"; |
| | 184 | set icon_z17; |
| | 185 | } |
| | 186 | node[traffic_sign][bicycle=designated] { |
| | 187 | icon-image: "presets/vehicle/restriction/bicycle-designated.svg"; |
| | 188 | set icon_z17; |
| | 189 | } |
| | 190 | node[traffic_sign][foot?!] { |
| | 191 | icon-image: "presets/vehicle/restriction/foot.svg"; |
| | 192 | set icon_z17; |
| | 193 | } |
| | 194 | node[traffic_sign][foot=designated] { |
| | 195 | icon-image: "presets/vehicle/restriction/foot-designated.svg"; |
| | 196 | set icon_z17; |
| | 197 | } |
| | 198 | node[traffic_sign][goods?!], |
| | 199 | node[traffic_sign][hgv?!] { |
| | 200 | icon-image: "presets/vehicle/restriction/goods.svg"; |
| | 201 | set icon_z17; |
| | 202 | } |
| | 203 | node[traffic_sign][horse?!] { |
| | 204 | icon-image: "presets/vehicle/restriction/horse.svg"; |
| | 205 | set icon_z17; |
| | 206 | } |
| | 207 | node[traffic_sign][horse=designated] { |
| | 208 | icon-image: "presets/vehicle/restriction/horse-designated.svg"; |
| | 209 | set icon_z17; |
| | 210 | } |
| | 211 | node[traffic_sign][motorcycle?!] { |
| | 212 | icon-image: "presets/vehicle/restriction/motorbike.svg"; |
| | 213 | set icon_z17; |
| | 214 | } |
| | 215 | node[traffic_sign][motorcar?!] { |
| | 216 | icon-image: "presets/vehicle/restriction/motorcar.svg"; |
| | 217 | set icon_z17; |
| | 218 | } |
| | 219 | node[traffic_sign][psv?!] { |
| | 220 | icon-image: "presets/vehicle/restriction/psv.svg"; |
| | 221 | set icon_z17; |
| | 222 | } |
| | 223 | node[traffic_sign][motorboat?!][!is_prop_set(icon-image)], |
| | 224 | node[traffic_sign][boat?!][!is_prop_set(icon-image)] { |
| | 225 | icon-image: "presets/misc/no_icon.svg"; |
| | 226 | set icon_z17; |
| | 227 | } |
| | 228 | node[noexit=yes] { |
| | 229 | icon-image: "presets/vehicle/restriction/dead_end.svg"; |
| | 230 | set icon_z17; |
| | 231 | } |
| | 232 | node[traffic_sign][maxweight] { |
| | 233 | icon-image: "presets/vehicle/restriction/maxweight.svg"; |
| | 234 | set icon_z17; |
| | 235 | } |
| | 236 | node[traffic_sign][maxheight] { |
| | 237 | icon-image: "presets/vehicle/restriction/maxheight.svg"; |
| | 238 | set icon_z17; |
| | 239 | } |
| | 240 | node[traffic_sign][maxwidth] { |
| | 241 | icon-image: "presets/vehicle/restriction/maxwidth.svg"; |
| | 242 | set icon_z17; |
| | 243 | } |
| | 244 | node[traffic_sign][maxlength] { |
| | 245 | icon-image: "presets/vehicle/restriction/maxlength.svg"; |
| | 246 | set icon_z17; |
| | 247 | } |
| | 248 | node[traffic_sign][minspeed] { |
| | 249 | icon-image: "presets/vehicle/restriction/minspeed.svg"; |
| | 250 | set icon_z17; |
| | 251 | } |
| | 252 | node[traffic_sign][maxstay][!is_prop_set(icon-image)], |
| | 253 | node[traffic_sign][toll][!is_prop_set(icon-image)] { |
| | 254 | icon-image: "presets/misc/no_icon.svg"; |
| | 255 | set icon_z17; |
| | 256 | } |
| | 257 | |
| | 258 | /*****************************/ |
| | 259 | /* building/entrance/address */ |
| | 260 | /*****************************/ |
| | 261 | |
| | 262 | node["addr:housenumber"] { |
| | 263 | icon-image: "presets/misc/housenumber_small.svg"; |
| | 264 | set icon_z17; |
| | 265 | } |
| | 266 | way["addr:interpolation"=odd] { |
| | 267 | width: 1; |
| | 268 | color: address#1C86EE; |
| | 269 | dashes: 15,4; |
| | 270 | } |
| | 271 | way["addr:interpolation"=even] { |
| | 272 | width: 1; |
| | 273 | color: address#1C86EE; |
| | 274 | dashes: 4,4; |
| | 275 | } |
| | 276 | way["addr:interpolation"=all], |
| | 277 | way["addr:interpolation"=alphabetic] { |
| | 278 | width: 1; |
| | 279 | color: address#1C86EE; |
| | 280 | dashes: 2,2; |
| | 281 | } |
| | 282 | area[building][!building?!][building!=y][building!=1] { |
| | 283 | fill-color: building#e06e5f; |
| | 284 | } |
| | 285 | area[building=roof], |
| | 286 | area[building][!building?!][wall?!], |
| | 287 | area[building:part][!building:part?!] { |
| | 288 | fill-color: buildingpart#dcbbbb; |
| | 289 | } |
| | 290 | node[building][!building?!] { |
| | 291 | icon-image: "presets/landmark/building.svg"; |
| | 292 | set icon_z17; |
| | 293 | } |
| | 294 | node[building=garage] { |
| | 295 | icon-image: "presets/landuse/garages.svg"; |
| | 296 | set icon_z17; |
| | 297 | } |
| | 298 | node[building=garages] { |
| | 299 | icon-image: "presets/landuse/garages.svg"; |
| | 300 | set icon_z17; |
| | 301 | } |
| | 302 | node[building=transformer_tower] { |
| | 303 | icon-image: "presets/power/transformer_tower.svg"; |
| | 304 | set icon_z17; |
| | 305 | } |
| | 306 | node[entrance=yes], |
| | 307 | node[entrance=home], |
| | 308 | node[entrance=staircase] { |
| | 309 | icon-image: "presets/misc/entrance_yes.svg"; |
| | 310 | set icon_z17; |
| | 311 | } |
| | 312 | node[entrance=main] { |
| | 313 | icon-image: "presets/misc/entrance_main.svg"; |
| | 314 | set icon_z17; |
| | 315 | } |
| | 316 | node[entrance=service] { |
| | 317 | icon-image: "presets/misc/entrance_service.svg"; |
| | 318 | set icon_z17; |
| | 319 | } |
| | 320 | node[entrance=exit] { |
| | 321 | icon-image: "presets/misc/entrance_exit.svg"; |
| | 322 | set icon_z17; |
| | 323 | } |
| | 324 | node[entrance=emergency] { |
| | 325 | icon-image: "presets/misc/entrance_emergency.svg"; |
| | 326 | set icon_z17; |
| | 327 | } |
| | 328 | node[building=entrance], |
| | 329 | node[building:part] { |
| | 330 | icon-image: "presets/misc/deprecated.svg"; |
| | 331 | set icon_z17; |
| | 332 | } |
| | 333 | |
| | 334 | /****************/ |
| | 335 | /* barrier tags */ |
| | 336 | /****************/ |
| | 337 | |
| | 338 | way[barrier=bollard] { |
| | 339 | width: 2; |
| | 340 | color: barrier#F0F050; |
| | 341 | dashes: 3,9; |
| | 342 | } |
| | 343 | node[barrier=bollard] { |
| | 344 | icon-image: "presets/barrier/bollard.svg"; |
| | 345 | set icon_z17; |
| | 346 | } |
| | 347 | node[barrier=gate] { |
| | 348 | icon-image: "presets/barrier/gate.svg"; |
| | 349 | set icon_z17; |
| | 350 | } |
| | 351 | way[barrier=yes], |
| | 352 | way[barrier=hedge], |
| | 353 | way[barrier=fence], |
| | 354 | way[barrier=wall], |
| | 355 | way[barrier=guard_rail], |
| | 356 | way[barrier=city_wall], |
| | 357 | way[barrier=retaining_wall], |
| | 358 | way[barrier=block], |
| | 359 | way[barrier=chain], |
| | 360 | way[barrier=ditch], |
| | 361 | way[barrier=jersey_barrier], |
| | 362 | way[barrier=kerb] { |
| | 363 | width: 2; |
| | 364 | color: barrier#F0F050; |
| | 365 | } |
| | 366 | way[barrier=kerb], |
| | 367 | way[barrier=guard_rail], |
| | 368 | way[barrier=retaining_wall], |
| | 369 | way[barrier=jersey_barrier] { |
| | 370 | repeat-image: "presets/barrier/kerb_pattern.svg"; |
| | 371 | repeat-image-align: top; |
| | 372 | } |
| | 373 | way[barrier=retaining_wall] { |
| | 374 | repeat-image: "presets/misc/cliff_pattern.svg"; |
| | 375 | repeat-image-align: top; |
| | 376 | } |
| | 377 | node[barrier=hedge], |
| | 378 | node[barrier=wall], |
| | 379 | node[barrier=guard_rail], |
| | 380 | node[barrier=city_wall], |
| | 381 | node[barrier=retaining_wall], |
| | 382 | node[barrier=ditch] { |
| | 383 | icon-image: "presets/misc/deprecated.svg"; |
| | 384 | set icon_z17; |
| | 385 | } |
| | 386 | node[barrier=kerb] { |
| | 387 | icon-image: "presets/barrier/kerb.svg"; |
| | 388 | set icon_z17; |
| | 389 | } |
| | 390 | node[barrier=block] { |
| | 391 | icon-image: "presets/barrier/block.svg"; |
| | 392 | set icon_z17; |
| | 393 | } |
| | 394 | node[barrier=chain] { |
| | 395 | icon-image: "presets/barrier/chain.svg"; |
| | 396 | set icon_z17; |
| | 397 | } |
| | 398 | node[barrier=stile] { |
| | 399 | icon-image: "presets/barrier/stile.svg"; |
| | 400 | set icon_z17; |
| | 401 | } |
| | 402 | node[barrier=turnstile] { |
| | 403 | icon-image: "presets/barrier/turnstile.svg"; |
| | 404 | set icon_z17; |
| | 405 | } |
| | 406 | node[barrier=cycle_barrier] { |
| | 407 | icon-image: "presets/barrier/cycle_barrier.svg"; |
| | 408 | set icon_z17; |
| | 409 | } |
| | 410 | node[barrier=lift_gate] { |
| | 411 | icon-image: "presets/barrier/lift_gate.svg"; |
| | 412 | set icon_z17; |
| | 413 | } |
| | 414 | node[barrier=swing_gate] { |
| | 415 | icon-image: "presets/barrier/swing_gate.svg"; |
| | 416 | set icon_z17; |
| | 417 | } |
| | 418 | area[barrier=toll_booth]:closed { |
| | 419 | fill-color: barrier#F0F050; |
| | 420 | } |
| | 421 | node[barrier=toll_booth] { |
| | 422 | icon-image: "presets/barrier/toll_station.svg"; |
| | 423 | set icon_z17; |
| | 424 | } |
| | 425 | node[barrier=entrance] { |
| | 426 | icon-image: "presets/barrier/entrance.svg"; |
| | 427 | set icon_z17; |
| | 428 | } |
| | 429 | node[barrier=cattle_grid] { |
| | 430 | icon-image: "presets/barrier/cattle_grid.svg"; |
| | 431 | set icon_z17; |
| | 432 | } |
| | 433 | node[barrier=border_control] { |
| | 434 | icon-image: "presets/barrier/douane.svg"; |
| | 435 | set icon_z17; |
| | 436 | } |
| | 437 | node[barrier=sally_port] { |
| | 438 | icon-image: "presets/barrier/sally_port.svg"; |
| | 439 | set icon_z17; |
| | 440 | } |
| | 441 | node[barrier=spikes] { |
| | 442 | icon-image: "presets/barrier/spikes.svg"; |
| | 443 | set icon_z17; |
| | 444 | } |
| | 445 | node[barrier=jersey_barrier] { |
| | 446 | icon-image: "presets/barrier/jersey_barrier.svg"; |
| | 447 | set icon_z17; |
| | 448 | } |
| | 449 | node[barrier=kissing_gate] { |
| | 450 | icon-image: "presets/barrier/kissing_gate.svg"; |
| | 451 | set icon_z17; |
| | 452 | } |
| | 453 | node[barrier=bump_gate][!is_prop_set(icon-image)], |
| | 454 | node[barrier=bus_trap][!is_prop_set(icon-image)], |
| | 455 | node[barrier=hampshire_gate][!is_prop_set(icon-image)] { |
| | 456 | icon-image: "presets/misc/no_icon.svg"; |
| | 457 | set icon_z17; |
| | 458 | } |
| | 459 | |
| | 460 | /****************/ |
| | 461 | /* highway tags */ |
| | 462 | /****************/ |
| | 463 | |
| | 464 | way[motorroad=yes]::core_motorroad { |
| | 465 | major-z-index: 2; |
| | 466 | z-index: -1; |
| | 467 | width: +4; |
| | 468 | color: motorroad#3377ff; |
| | 469 | } |
| | 470 | way|z16-[highway=motorway], way|z16-[highway=motorway_link] { |
| | 471 | width: 6; |
| | 472 | z-index: 0.13; /* #15483 */ |
| | 473 | color: motorway#cf2081; |
| | 474 | opacity: 1; |
| | 475 | casing-width: 1; |
| | 476 | casing-color: #70372f; |
| | 477 | } |
| | 478 | way|z15[highway=motorway], way|z15[highway=motorway_link] { |
| | 479 | width: 3.46; |
| | 480 | z-index: 0.13; /* #15483 */ |
| | 481 | color: motorway#cf2081; |
| | 482 | opacity: 1; |
| | 483 | casing-width: 1; |
| | 484 | casing-color: #70372f; |
| | 485 | } |
| | 486 | way|z-14[highway=motorway], way|z-14[highway=motorway_link] { |
| | 487 | width: 2; |
| | 488 | z-index: 0.13; /* #15483 */ |
| | 489 | color: motorway#cf2081; |
| | 490 | opacity: 1; |
| | 491 | casing-width: 1; |
| | 492 | casing-color: #70372f; |
| | 493 | } |
| | 494 | way|z16-[highway=trunk], way|z16-[highway=trunk_link] { |
| | 495 | width: 6; |
| | 496 | z-index: 0.11; |
| | 497 | color: trunk#dd2522; |
| | 498 | opacity: 1; |
| | 499 | casing-width: 1; |
| | 500 | casing-color: #70372f; |
| | 501 | } |
| | 502 | way|z15[highway=trunk], way|z15[highway=trunk_link] { |
| | 503 | width: 3.46; |
| | 504 | z-index: 0.11; |
| | 505 | color: trunk#dd2522; |
| | 506 | opacity: 1; |
| | 507 | casing-width: 1; |
| | 508 | casing-color: #70372f; |
| | 509 | } |
| | 510 | way|z-14[highway=trunk], way|z-14[highway=trunk_link] { |
| | 511 | width: 2; |
| | 512 | z-index: 0.11; |
| | 513 | color: trunk#dd2522; |
| | 514 | opacity: 1; |
| | 515 | casing-width: 1; |
| | 516 | casing-color: #70372f; |
| | 517 | } |
| | 518 | way|z16-[highway=primary],way|z16-[highway=primary_link] { |
| | 519 | width: 6; |
| | 520 | z-index: 0.09; |
| | 521 | color: primary#f99806; |
| | 522 | opacity: 1; |
| | 523 | casing-width: 1; |
| | 524 | casing-color: #70372f; |
| | 525 | } |
| | 526 | way|z15[highway=primary],way|z15[highway=primary_link] { |
| | 527 | width: 3.46; |
| | 528 | z-index: 0.09; |
| | 529 | color: primary#f99806; |
| | 530 | opacity: 1; |
| | 531 | casing-width: 1; |
| | 532 | casing-color: #70372f; |
| | 533 | } |
| | 534 | way|z-14[highway=primary],way|z-14[highway=primary_link] { |
| | 535 | width: 2; |
| | 536 | z-index: 0.09; |
| | 537 | color: primary#f99806; |
| | 538 | opacity: 1; |
| | 539 | casing-width: 1; |
| | 540 | casing-color: #70372f; |
| | 541 | } |
| | 542 | way|z16-[highway=secondary], way|z16-[highway=secondary_link] { |
| | 543 | width: 6; |
| | 544 | z-index: 0.07; |
| | 545 | color: secondary#f3f312; |
| | 546 | opacity: 1; |
| | 547 | casing-width: 1; |
| | 548 | casing-color: #70372f; |
| | 549 | } |
| | 550 | way|z15[highway=secondary], way|z15[highway=secondary_link] { |
| | 551 | width: 3.46; |
| | 552 | z-index: 0.07; |
| | 553 | color: secondary#f3f312; |
| | 554 | opacity: 1; |
| | 555 | casing-width: 1; |
| | 556 | casing-color: #70372f; |
| | 557 | } |
| | 558 | way|z-14[highway=secondary], way|z-14[highway=secondary_link] { |
| | 559 | width: 2; |
| | 560 | z-index: 0.07; |
| | 561 | color: secondary#f3f312; |
| | 562 | opacity: 1; |
| | 563 | casing-width: 1; |
| | 564 | casing-color: #70372f; |
| | 565 | } |
| | 566 | way|z16-[highway=tertiary], way|z16-[highway=tertiary_link] { |
| | 567 | width: 6; |
| | 568 | z-index: 0.05; |
| | 569 | color: tertiary#fff9b3; |
| | 570 | opacity: 1; |
| | 571 | casing-width: 1; |
| | 572 | casing-color: #70372f; |
| | 573 | } |
| | 574 | way|z15[highway=tertiary], way|z15[highway=tertiary_link] { |
| | 575 | width: 3.46; |
| | 576 | z-index: 0.05; |
| | 577 | color: tertiary#fff9b3; |
| | 578 | opacity: 1; |
| | 579 | casing-width: 1; |
| | 580 | casing-color: #70372f; |
| | 581 | } |
| | 582 | way|z-14[highway=tertiary], way|z-14[highway=tertiary_link] { |
| | 583 | width: 2; |
| | 584 | z-index: 0.05; |
| | 585 | color: tertiary#fff9b3; |
| | 586 | opacity: 1; |
| | 587 | casing-width: 1; |
| | 588 | casing-color: #70372f; |
| | 589 | } |
| | 590 | way|z16-[highway=unclassified] { |
| | 591 | width: 6; |
| | 592 | z-index: 0.03; |
| | 593 | color: street#ddccaa; |
| | 594 | opacity: 1; |
| | 595 | casing-width: 1; |
| | 596 | casing-color: #444444; |
| | 597 | } |
| | 598 | way|z15[highway=unclassified] { |
| | 599 | width: 3.46; |
| | 600 | z-index: 0.03; |
| | 601 | color: street#ddccaa; |
| | 602 | opacity: 1; |
| | 603 | casing-width: 1; |
| | 604 | casing-color: #444444; |
| | 605 | } |
| | 606 | way|z-14[highway=unclassified] { |
| | 607 | width: 2; |
| | 608 | z-index: 0.03; |
| | 609 | color: street#ddccaa; |
| | 610 | opacity: 1; |
| | 611 | casing-width: 1; |
| | 612 | casing-color: #444444; |
| | 613 | } |
| | 614 | way[highway=escape] { |
| | 615 | width: 3; |
| | 616 | color: street#c0c0c0; |
| | 617 | dashes: 3,3; |
| | 618 | } |
| | 619 | way[highway=road] { |
| | 620 | width: 2; |
| | 621 | casing-width: 0.5; |
| | 622 | casing-color: #ff9696; |
| | 623 | color: highway_road#770000; |
| | 624 | opacity: 1; |
| | 625 | } |
| | 626 | way[highway=track][area?], relation[type=multipolygon][highway=track] { |
| | 627 | fill-color: highway_track#6e541c; |
| | 628 | } |
| | 629 | way|z16-[highway=track] { |
| | 630 | width: 4; |
| | 631 | color: highway_track#c5b59f; |
| | 632 | casing-dashes: 4,4; |
| | 633 | casing-color: #cccccc; |
| | 634 | casing-width: 1; |
| | 635 | } |
| | 636 | way|z15[highway=track] { |
| | 637 | width: 2.58; |
| | 638 | color: highway_track#c5b59f; |
| | 639 | casing-dashes: 4,4; |
| | 640 | casing-color: #cccccc; |
| | 641 | casing-width: 0.7; |
| | 642 | } |
| | 643 | way|z-14[highway=track] { |
| | 644 | width: 1.67; |
| | 645 | color: highway_track#c5b59f; |
| | 646 | casing-dashes: 4,4; |
| | 647 | casing-color: #cccccc; |
| | 648 | casing-width: 0.3; |
| | 649 | } |
| | 650 | way|z16-[highway=residential] { |
| | 651 | width: 6; |
| | 652 | z-index: 0.02; |
| | 653 | color: street#ffffff; |
| | 654 | opacity: 1; |
| | 655 | casing-width: 1; |
| | 656 | casing-color: #444444; |
| | 657 | } |
| | 658 | way|z15[highway=residential] { |
| | 659 | width: 3.46; |
| | 660 | z-index: 0.02; |
| | 661 | color: street#ffffff; |
| | 662 | opacity: 1; |
| | 663 | casing-width: 1; |
| | 664 | casing-color: #444444; |
| | 665 | } |
| | 666 | way|z-14[highway=residential] { |
| | 667 | width: 2; |
| | 668 | z-index: 0.02; |
| | 669 | color: street#ffffff; |
| | 670 | opacity: 1; |
| | 671 | casing-width: 0.6; |
| | 672 | casing-color: #444444; |
| | 673 | } |
| | 674 | way|z16-[highway=living_street] { |
| | 675 | width: 6; |
| | 676 | z-index: 0.01; |
| | 677 | dashes: 9,9; |
| | 678 | dashes-background-color: livingdashed#00ff00; |
| | 679 | color: street#c0c0c0; |
| | 680 | opacity: 1; |
| | 681 | } |
| | 682 | way|z15[highway=living_street] { |
| | 683 | width: 3.46; |
| | 684 | z-index: 0.01; |
| | 685 | dashes: 6,6; |
| | 686 | dashes-background-color: livingdashed#00ff00; |
| | 687 | color: street#c0c0c0; |
| | 688 | opacity: 1; |
| | 689 | } |
| | 690 | way|z-14[highway=living_street] { |
| | 691 | width: 2; |
| | 692 | z-index: 0.01; |
| | 693 | dashes: 3,3; |
| | 694 | dashes-background-color: livingdashed#00ff00; |
| | 695 | color: street#c0c0c0; |
| | 696 | opacity: 1; |
| | 697 | } |
| | 698 | way[highway=service][area?], relation[type=multipolygon][highway=service] { |
| | 699 | fill-color: service#809bc0; |
| | 700 | } |
| | 701 | way|z16-[highway=service][!area?][!service] { |
| | 702 | width: 4; |
| | 703 | color: service#ffffff; |
| | 704 | casing-width: 0.7; |
| | 705 | casing-color: #444444; |
| | 706 | } |
| | 707 | way|z15[highway=service][!area?][!service] { |
| | 708 | width: 1.73; |
| | 709 | color: service#ffffff; |
| | 710 | casing-width: 0.5; |
| | 711 | casing-color: #444444; |
| | 712 | } |
| | 713 | way|z14[highway=service][!area?][!service] { |
| | 714 | width: 1; |
| | 715 | color: service#ffffff; |
| | 716 | casing-width: 0.2; |
| | 717 | casing-color: #444444; |
| | 718 | } |
| | 719 | way|z16-[highway=service][!area?][service] { |
| | 720 | width: 4; |
| | 721 | color: service#ddccaa; |
| | 722 | casing-width: 0.7; |
| | 723 | casing-color: #444444; |
| | 724 | } |
| | 725 | way|z15[highway=service][!area?][service] { |
| | 726 | width: 1.73; |
| | 727 | color: service#ddccaa; |
| | 728 | casing-width: 0.5; |
| | 729 | casing-color: #444444; |
| | 730 | } |
| | 731 | way|z14[highway=service][!area?][service] { |
| | 732 | width: 1; |
| | 733 | color: service#ddccaa; |
| | 734 | casing-width: 0.3; |
| | 735 | casing-color: #444444; |
| | 736 | z-index: 0.009; |
| | 737 | } |
| | 738 | way[highway=bridleway] { |
| | 739 | width: 3.3; |
| | 740 | color: horse#e06d5f; |
| | 741 | dashes: 6,6; |
| | 742 | casing-width: 1; |
| | 743 | casing-color: #ffffff; |
| | 744 | z-index: 0.009; |
| | 745 | } |
| | 746 | way[highway=cycleway] { |
| | 747 | width: 3.3; |
| | 748 | color: bicycle#58a9ed; |
| | 749 | dashes: 6,6; |
| | 750 | casing-width: 1; |
| | 751 | casing-color: #ffffff; |
| | 752 | z-index: 0.009; |
| | 753 | } |
| | 754 | way[highway=footway][area?], relation[type=multipolygon][highway=footway] { |
| | 755 | fill-color: foot#00ff00; |
| | 756 | } |
| | 757 | way[highway=footway][!area?] { |
| | 758 | width: 3.3; |
| | 759 | color: foot#998888; |
| | 760 | dashes: 6,6; |
| | 761 | casing-width: 1; |
| | 762 | casing-color: #ffffff; |
| | 763 | z-index: 0.009; |
| | 764 | } |
| | 765 | way[highway=footway][!area?][footway=crossing], |
| | 766 | way[highway=footway][!area?][footway=parking_aisle] { |
| | 767 | width: 3.3; |
| | 768 | color: foot#998888; |
| | 769 | dashes: 6,6; |
| | 770 | casing-width: 1; |
| | 771 | casing-color: #ddccaa; |
| | 772 | z-index: 0.009; |
| | 773 | } |
| | 774 | way[highway=path] { |
| | 775 | width: 3.3; |
| | 776 | color: foot#998888; |
| | 777 | dashes: 6,6; |
| | 778 | casing-width: 1; |
| | 779 | casing-color: #ddccaa; |
| | 780 | z-index: 0.009; |
| | 781 | } |
| | 782 | |
| | 783 | way[highway=pedestrian][area?], relation[type=multipolygon][highway=pedestrian] { |
| | 784 | width: 3; |
| | 785 | color: foot#00ff00; |
| | 786 | fill-color: foot#00ff00; |
| | 787 | } |
| | 788 | way[highway=pedestrian] { |
| | 789 | width: 3.3; |
| | 790 | color: foot#ffffff; |
| | 791 | dashes: 5,5; |
| | 792 | casing-width: 1; |
| | 793 | casing-color: #8cd05f; |
| | 794 | z-index: 0.009; |
| | 795 | } |
| | 796 | way[highway=steps] { |
| | 797 | width: 3; |
| | 798 | color: foot#81d25c; |
| | 799 | dashes: 3,3; |
| | 800 | casing-width: 1; |
| | 801 | casing-color: #ffffff; |
| | 802 | z-index: 0.009; |
| | 803 | } |
| | 804 | way[highway=bus_guideway] { |
| | 805 | width: 3; |
| | 806 | color: rail#404040; |
| | 807 | dashes: 9,9; |
| | 808 | } |
| | 809 | way[highway=raceway] { |
| | 810 | width: 3; |
| | 811 | color: raceway#ff80ff; |
| | 812 | } |
| | 813 | way[highway=raceway][area?], relation[type=multipolygon][highway=raceway] { |
| | 814 | fill-color: raceway#ff80ff; |
| | 815 | } |
| | 816 | area[junction=yes] { |
| | 817 | fill-color: junction#c0c0c0; |
| | 818 | } |
| | 819 | node[junction=yes] { |
| | 820 | icon-image: "presets/vehicle/junction.svg"; |
| | 821 | set icon_z17; |
| | 822 | } |
| | 823 | node[highway=traffic_mirror] { |
| | 824 | icon-image: "presets/vehicle/traffic_mirror.svg"; |
| | 825 | set icon_z17; |
| | 826 | } |
| | 827 | node[highway=milestone] { |
| | 828 | icon-image: "presets/vehicle/milestone.svg"; |
| | 829 | set icon_z17; |
| | 830 | } |
| | 831 | node[direction=clockwise] { |
| | 832 | icon-image: "presets/vehicle/restriction/roundabout_left.svg"; |
| | 833 | set icon_z17; |
| | 834 | } |
| | 835 | node[highway=mini_roundabout] { |
| | 836 | icon-image: "presets/vehicle/restriction/mini_roundabout_left.svg"; |
| | 837 | set icon_z17; |
| | 838 | } |
| | 839 | node:righthandtraffic[highway=mini_roundabout] { |
| | 840 | icon-image: "presets/vehicle/restriction/mini_roundabout_right.svg"; |
| | 841 | set icon_z17; |
| | 842 | } |
| | 843 | node[highway=stop] { |
| | 844 | icon-image: "presets/vehicle/restriction/stop.svg"; |
| | 845 | set icon_z17; |
| | 846 | } |
| | 847 | node[highway=give_way] { |
| | 848 | icon-image: "presets/vehicle/restriction/give_way.svg"; |
| | 849 | set icon_z17; |
| | 850 | } |
| | 851 | node[highway=traffic_signals] { |
| | 852 | icon-image: "presets/vehicle/traffic_signals.svg"; |
| | 853 | set icon_z17; |
| | 854 | } |
| | 855 | node[highway=traffic_signals][crossing][crossing!=no] { |
| | 856 | icon-image: "presets/vehicle/traffic_signals_crossing.svg"; |
| | 857 | set icon_z17; |
| | 858 | } |
| | 859 | node[highway=traffic_signals][crossing_ref=zebra] { |
| | 860 | icon-image: "presets/vehicle/traffic_signals_crossing_ref_zebra.svg"; |
| | 861 | set icon_z17; |
| | 862 | } |
| | 863 | node[highway=traffic_signals][crossing=island] { |
| | 864 | icon-image: "presets/vehicle/traffic_signals_crossing_island.svg"; |
| | 865 | set icon_z17; |
| | 866 | } |
| | 867 | node[highway=traffic_signals][crossing=traffic_signals] { |
| | 868 | icon-image: "presets/vehicle/traffic_signals_crossing_traffic_signals.svg"; |
| | 869 | set icon_z17; |
| | 870 | } |
| | 871 | node[highway=street_lamp] { |
| | 872 | icon-image: "presets/misc/streetlamp.svg"; |
| | 873 | set icon_z17; |
| | 874 | } |
| | 875 | node[highway=speed_camera] { |
| | 876 | icon-image: "presets/vehicle/restriction/speed_camera.svg"; |
| | 877 | set icon_z17; |
| | 878 | } |
| | 879 | relation[type=enforcement] >[role="device"] node { |
| | 880 | icon-image: "presets/vehicle/restriction/speed_camera.svg"; |
| | 881 | set icon_z17; |
| | 882 | } |
| | 883 | node[traffic_sign=city_limit] { |
| | 884 | icon-image: "presets/vehicle/restriction/city_limit.svg"; |
| | 885 | set icon_z17; |
| | 886 | } |
| | 887 | node[highway=crossing][crossing!=no] { |
| | 888 | icon-image: "presets/vehicle/crossing.svg"; |
| | 889 | set icon_z17; |
| | 890 | } |
| | 891 | node[highway=crossing][crossing=unmarked] { |
| | 892 | icon-image: "presets/vehicle/crossing_unmarked.svg"; |
| | 893 | set icon_z17; |
| | 894 | } |
| | 895 | node[highway=crossing][crossing=island] { |
| | 896 | icon-image: "presets/vehicle/crossing_island.svg"; |
| | 897 | set icon_z17; |
| | 898 | } |
| | 899 | node[highway=crossing][crossing_ref=zebra] { |
| | 900 | icon-image: "presets/vehicle/crossing_ref_zebra.svg"; |
| | 901 | set icon_z17; |
| | 902 | } |
| | 903 | node[highway=crossing][crossing=traffic_signals] { |
| | 904 | icon-image: "presets/vehicle/crossing_traffic_signals.svg"; |
| | 905 | set icon_z17; |
| | 906 | } |
| | 907 | node[highway=motorway_junction] { |
| | 908 | icon-image: "presets/vehicle/motorway_junction.svg"; |
| | 909 | set icon_z17; |
| | 910 | text: eval(cond(has_tag_key(ref), concat(tag(name), " (", tag(ref), ")"), tag(name))); |
| | 911 | } |
| | 912 | area[highway=services] { |
| | 913 | fill-color: services#c0c0c0; |
| | 914 | } |
| | 915 | node[highway=services] { |
| | 916 | icon-image: "presets/vehicle/services.svg"; |
| | 917 | set icon_z17; |
| | 918 | } |
| | 919 | area[highway=rest_area] { |
| | 920 | fill-color: services#c0c0c0; |
| | 921 | } |
| | 922 | node[highway=rest_area] { |
| | 923 | icon-image: "presets/vehicle/rest_area.svg"; |
| | 924 | set icon_z17; |
| | 925 | } |
| | 926 | node[ford=stepping_stones], |
| | 927 | node[ford?] { |
| | 928 | icon-image: "presets/vehicle/ford.svg"; |
| | 929 | set icon_z17; |
| | 930 | } |
| | 931 | way[ford=stepping_stones]::core_ford, |
| | 932 | way[ford?]::core_ford { |
| | 933 | z-index: 1; |
| | 934 | width: 2; |
| | 935 | color: water#0000ff; |
| | 936 | dashes: 9,9; |
| | 937 | dashes-offset: 9; |
| | 938 | } |
| | 939 | area[highway=platform]:closed { |
| | 940 | fill-color: highway_platform#c0c0c0; |
| | 941 | } |
| | 942 | way[highway=platform] { |
| | 943 | width: 2; |
| | 944 | color: highway_platform#c0c0c0; |
| | 945 | } |
| | 946 | node[highway=turning_circle] { |
| | 947 | icon-image: "presets/vehicle/turning_circle.svg"; |
| | 948 | set icon_z17; |
| | 949 | } |
| | 950 | node[highway=turning_loop] { |
| | 951 | icon-image: "presets/vehicle/turning_loop.svg"; |
| | 952 | set icon_z17; |
| | 953 | } |
| | 954 | node[highway=passing_place] { |
| | 955 | icon-image: "presets/vehicle/passing_place.svg"; |
| | 956 | set icon_z17; |
| | 957 | } |
| | 958 | area[highway=elevator] { |
| | 959 | fill-color: elevator#a6bace; |
| | 960 | } |
| | 961 | node[highway=elevator] { |
| | 962 | icon-image: "presets/service/elevator.svg"; |
| | 963 | set icon_z17; |
| | 964 | } |
| | 965 | way[highway=construction] { |
| | 966 | width: 2; |
| | 967 | color: construction#ffff00; |
| | 968 | dashes: 9,9; |
| | 969 | } |
| | 970 | node[highway=construction] { |
| | 971 | icon-image: "presets/misc/construction.svg"; |
| | 972 | set icon_z17; |
| | 973 | } |
| | 974 | area[highway=emergency_access_point] { |
| | 975 | fill-color: emergency_access_point#c0c0c0; |
| | 976 | } |
| | 977 | node[highway=emergency_access_point] { |
| | 978 | icon-image: "presets/service/emergency_access_point.svg"; |
| | 979 | set icon_z17; |
| | 980 | } |
| | 981 | node[highway=motorway], node[highway=motorway_link], |
| | 982 | node[highway=trunk], node[highway=trunk_link], |
| | 983 | node[highway=primary], node[highway=primary_link], |
| | 984 | node[highway=secondary], node[highway=secondary_link], |
| | 985 | node[highway=tertiary], node[highway=tertiary_link], |
| | 986 | node[highway=unclassified], |
| | 987 | node[highway=road], |
| | 988 | node[highway=unsurfaced], |
| | 989 | node[highway=track], |
| | 990 | node[highway=residential], |
| | 991 | node[highway=living_street], |
| | 992 | node[highway=service], |
| | 993 | node[highway=bridleway], |
| | 994 | node[highway=cycleway], |
| | 995 | node[highway=footway], |
| | 996 | node[highway=path], |
| | 997 | node[highway=pedestrian], |
| | 998 | node[highway=bus_guideway], |
| | 999 | node[highway=platform] { |
| | 1000 | icon-image: "presets/misc/deprecated.svg"; |
| | 1001 | set icon_z17; |
| | 1002 | } |
| | 1003 | |
| | 1004 | area["area:highway"] { |
| | 1005 | fill-color: #888888; |
| | 1006 | fill-opacity: 0.6; |
| | 1007 | } |
| | 1008 | |
| | 1009 | /************************/ |
| | 1010 | /* traffic_calming tags */ |
| | 1011 | /************************/ |
| | 1012 | |
| | 1013 | node[traffic_calming] { |
| | 1014 | icon-image: "presets/vehicle/traffic_calming.svg"; |
| | 1015 | set icon_z17; |
| | 1016 | } |
| | 1017 | node[traffic_calming=chicane] { |
| | 1018 | icon-image: "presets/vehicle/chicane.svg"; |
| | 1019 | set icon_z17; |
| | 1020 | } |
| | 1021 | node[traffic_calming=choker] { |
| | 1022 | icon-image: "presets/vehicle/choker.svg"; |
| | 1023 | set icon_z17; |
| | 1024 | } |
| | 1025 | node[traffic_calming=island] { |
| | 1026 | icon-image: "presets/vehicle/island.svg"; |
| | 1027 | set icon_z17; |
| | 1028 | } |
| | 1029 | node[traffic_calming=bump] { |
| | 1030 | icon-image: "presets/vehicle/bump.svg"; |
| | 1031 | set icon_z17; |
| | 1032 | } |
| | 1033 | node[traffic_calming=hump] { |
| | 1034 | icon-image: "presets/vehicle/hump.svg"; |
| | 1035 | set icon_z17; |
| | 1036 | } |
| | 1037 | node[traffic_calming=table] { |
| | 1038 | icon-image: "presets/vehicle/table.svg"; |
| | 1039 | set icon_z17; |
| | 1040 | } |
| | 1041 | node[traffic_calming=cushion] { |
| | 1042 | icon-image: "presets/vehicle/cushion.svg"; |
| | 1043 | set icon_z17; |
| | 1044 | } |
| | 1045 | node[traffic_calming=rumble_strip] { |
| | 1046 | icon-image: "presets/vehicle/rumble_strip.svg"; |
| | 1047 | set icon_z17; |
| | 1048 | } |
| | 1049 | /****************/ |
| | 1050 | /* junction tag */ |
| | 1051 | /****************/ |
| | 1052 | |
| | 1053 | node[junction=roundabout] { |
| | 1054 | icon-image: "presets/vehicle/restriction/roundabout_left.svg"; |
| | 1055 | set icon_z17; |
| | 1056 | } |
| | 1057 | node:righthandtraffic[junction=roundabout] { |
| | 1058 | icon-image: "presets/vehicle/restriction/roundabout_right.svg"; |
| | 1059 | set icon_z17; |
| | 1060 | } |
| | 1061 | |
| | 1062 | /******************/ |
| | 1063 | /* tracktype tags */ |
| | 1064 | /******************/ |
| | 1065 | |
| | 1066 | way[highway=track][tracktype=grade1] { |
| | 1067 | dashes: 8,1; |
| | 1068 | } |
| | 1069 | way[highway=track][tracktype=grade2] { |
| | 1070 | dashes: 6,2; |
| | 1071 | } |
| | 1072 | way[highway=track][tracktype=grade3] { |
| | 1073 | dashes: 4,3; |
| | 1074 | } |
| | 1075 | way[highway=track][tracktype=grade4] { |
| | 1076 | dashes: 4,5; |
| | 1077 | } |
| | 1078 | way[highway=track][tracktype=grade5] { |
| | 1079 | dashes: 4,7; |
| | 1080 | } |
| | 1081 | |
| | 1082 | /**************/ |
| | 1083 | /* piste tags */ |
| | 1084 | /**************/ |
| | 1085 | |
| | 1086 | way[route=ski]::core_piste { |
| | 1087 | z-index: -1; |
| | 1088 | modifier: false; |
| | 1089 | width: 6; |
| | 1090 | color: ski#809bc0; |
| | 1091 | } |
| | 1092 | area[piste:difficulty=easy][!highway][area=yes]::core_piste { |
| | 1093 | fill-color: piste_easy#0000ff; |
| | 1094 | } |
| | 1095 | way[piste:difficulty=easy]::core_piste { |
| | 1096 | z-index: -1; /* below line style from highway=* tag */ |
| | 1097 | modifier: false; /* suppress default line if there is no style on default layer */ |
| | 1098 | width: 6; |
| | 1099 | color: piste_easy#0000ff; |
| | 1100 | } |
| | 1101 | area[piste:difficulty=intermediate][!highway][area=yes]::core_piste { |
| | 1102 | fill-color: piste_intermediate#ff0000; |
| | 1103 | } |
| | 1104 | way[piste:difficulty=intermediate]::core_piste { |
| | 1105 | z-index: -1; |
| | 1106 | modifier: false; |
| | 1107 | width: 6; |
| | 1108 | color: piste_intermediate#ff0000; |
| | 1109 | } |
| | 1110 | area[piste:difficulty=advanced][!highway][area=yes]::core_piste { |
| | 1111 | fill-color: piste_advanced#606060; |
| | 1112 | } |
| | 1113 | way[piste:difficulty=advanced]::core_piste { |
| | 1114 | z-index: -1; |
| | 1115 | modifier: false; |
| | 1116 | width: 6; |
| | 1117 | color: piste_advanced#606060; |
| | 1118 | } |
| | 1119 | area[piste:difficulty=expert][!highway][area=yes]::core_piste { |
| | 1120 | fill-color: piste_expert#606060; |
| | 1121 | } |
| | 1122 | way[piste:difficulty=expert]::core_piste { |
| | 1123 | z-index: -1; |
| | 1124 | modifier: false; |
| | 1125 | width: 6; |
| | 1126 | color: piste_expert#606060; |
| | 1127 | } |
| | 1128 | area[piste:difficulty=freeride][!highway][area=yes]::core_piste { |
| | 1129 | fill-color: piste_freeride#ffff00; |
| | 1130 | } |
| | 1131 | way[piste:difficulty=freeride]::core_piste { |
| | 1132 | z-index: -1; |
| | 1133 | modifier: false; |
| | 1134 | width: 6; |
| | 1135 | color: piste_freeride#ffff00; |
| | 1136 | } |
| | 1137 | area[piste:difficulty=novice][!highway][area=yes]::core_piste { |
| | 1138 | fill-color: piste_novice#00ff00; |
| | 1139 | } |
| | 1140 | way[piste:difficulty=novice]::core_piste { |
| | 1141 | z-index: -1; |
| | 1142 | modifier: false; |
| | 1143 | width: 6; |
| | 1144 | color: piste_novice#00ff00; |
| | 1145 | } |
| | 1146 | node[piste:type=downhill], |
| | 1147 | node[piste:type=nordic], |
| | 1148 | node[piste:type=skitour], |
| | 1149 | node[piste:type=sled], |
| | 1150 | node[piste:type=sleigh], |
| | 1151 | node[piste:type=snow_park] { |
| | 1152 | icon-image: "presets/sport/skiing.svg"; |
| | 1153 | set icon_z17; |
| | 1154 | } |
| | 1155 | |
| | 1156 | /**************/ |
| | 1157 | /* power tags */ |
| | 1158 | /**************/ |
| | 1159 | |
| | 1160 | node[power=portal] { |
| | 1161 | icon-image: "presets/power/portal.svg"; |
| | 1162 | set icon_z17; |
| | 1163 | } |
| | 1164 | node[power=tower] { |
| | 1165 | icon-image: "presets/power/tower.svg"; |
| | 1166 | set icon_z17; |
| | 1167 | } |
| | 1168 | node[power=pole] { |
| | 1169 | icon-image: "presets/power/pole.svg"; |
| | 1170 | set icon_z17; |
| | 1171 | } |
| | 1172 | node[power=pole][switch] { |
| | 1173 | icon-image: "presets/power/pole_switch.svg"; |
| | 1174 | set icon_z17; |
| | 1175 | } |
| | 1176 | node[power=pole][transformer=distribution] { |
| | 1177 | icon-image: "presets/power/pole_transformer.svg"; |
| | 1178 | set icon_z17; |
| | 1179 | } |
| | 1180 | node[power=catenary_mast] { |
| | 1181 | icon-image: "presets/power/catenary_mast.svg"; |
| | 1182 | set icon_z17; |
| | 1183 | } |
| | 1184 | node[power=insulator] { |
| | 1185 | icon-image: "presets/power/insulator.svg"; |
| | 1186 | set icon_z17; |
| | 1187 | } |
| | 1188 | way[power=portal], |
| | 1189 | way[power=line], |
| | 1190 | way[power=minor_line] { |
| | 1191 | width: 1.5; |
| | 1192 | color: power#939393; |
| | 1193 | } |
| | 1194 | way[power=cable] { |
| | 1195 | width: 1; |
| | 1196 | color: power#eeeeee; |
| | 1197 | dashes: 9,9; |
| | 1198 | } |
| | 1199 | node[power=plant], |
| | 1200 | node[power=sub_station], |
| | 1201 | node[power=line], |
| | 1202 | node[power=cable], |
| | 1203 | node[power=minor_line] { |
| | 1204 | icon-image: "presets/misc/deprecated.svg"; |
| | 1205 | set icon_z17; |
| | 1206 | } |
| | 1207 | area[power=plant], |
| | 1208 | area[power=substation], |
| | 1209 | area[power=compensator], |
| | 1210 | area[power=converter], |
| | 1211 | area[power=switchgear], |
| | 1212 | area[power=generator] { |
| | 1213 | fill-color: power#eeeeee; |
| | 1214 | } |
| | 1215 | node[man_made=street_cabinet][street_cabinet=power] { |
| | 1216 | icon-image: "presets/power/cable_distribution_cabinet.svg"; |
| | 1217 | set icon_z17; |
| | 1218 | } |
| | 1219 | node[power=generator] { |
| | 1220 | icon-image: "presets/power/generator.svg"; |
| | 1221 | set icon_z17; |
| | 1222 | } |
| | 1223 | node[power=substation] { |
| | 1224 | icon-image: "presets/power/substation.svg"; |
| | 1225 | set icon_z17; |
| | 1226 | } |
| | 1227 | node[power=transformer] { |
| | 1228 | icon-image: "presets/power/transformer.svg"; |
| | 1229 | set icon_z17; |
| | 1230 | } |
| | 1231 | node[power=terminal] { |
| | 1232 | icon-image: "presets/power/terminal.svg"; |
| | 1233 | set icon_z17; |
| | 1234 | } |
| | 1235 | node[power=switch] { |
| | 1236 | icon-image: "presets/power/switch.svg"; |
| | 1237 | set icon_z17; |
| | 1238 | } |
| | 1239 | node[power=converter] { |
| | 1240 | icon-image: "presets/power/converter.svg"; |
| | 1241 | set icon_z17; |
| | 1242 | } |
| | 1243 | node[power=compensator] { |
| | 1244 | icon-image: "presets/power/compensator.svg"; |
| | 1245 | set icon_z17; |
| | 1246 | } |
| | 1247 | |
| | 1248 | |
| | 1249 | /*************************/ |
| | 1250 | /* generator:source tags */ |
| | 1251 | /*************************/ |
| | 1252 | |
| | 1253 | area[generator:source=nuclear], |
| | 1254 | area[generator:source=wind], |
| | 1255 | area[generator:source=hydro], |
| | 1256 | area[generator:source=tidal], |
| | 1257 | area[generator:source=wave], |
| | 1258 | area[generator:source=osmotic], |
| | 1259 | area[generator:source=geothermal], |
| | 1260 | area[generator:source=solar], |
| | 1261 | area[generator:source=coal], |
| | 1262 | area[generator:source=gas], |
| | 1263 | area[generator:source=biomass], |
| | 1264 | area[generator:source=biofuel], |
| | 1265 | area[generator:source=biogas], |
| | 1266 | area[generator:source=oil], |
| | 1267 | area[generator:source=diesel], |
| | 1268 | area[generator:source=gasoline], |
| | 1269 | area[generator:source=waste] { |
| | 1270 | fill-color: power#eeeeee; |
| | 1271 | } |
| | 1272 | node[generator:source=nuclear] { |
| | 1273 | icon-image: "presets/power/power_source-nuclear.svg"; |
| | 1274 | set icon_z17; |
| | 1275 | } |
| | 1276 | node[generator:source=wind] { |
| | 1277 | icon-image: "presets/power/power_source-wind.svg"; |
| | 1278 | set icon_z17; |
| | 1279 | } |
| | 1280 | node[generator:source=hydro], |
| | 1281 | node[generator:source=tidal], |
| | 1282 | node[generator:source=wave], |
| | 1283 | node[generator:source=osmotic] { |
| | 1284 | icon-image: "presets/power/power_source-water.svg"; |
| | 1285 | set icon_z17; |
| | 1286 | } |
| | 1287 | node[generator:source=geothermal] { |
| | 1288 | icon-image: "presets/power/power_source-geothermal.svg"; |
| | 1289 | set icon_z17; |
| | 1290 | } |
| | 1291 | node[generator:source=solar] { |
| | 1292 | icon-image: "presets/power/power_source-sun.svg"; |
| | 1293 | set icon_z17; |
| | 1294 | } |
| | 1295 | node[generator:source=coal] { |
| | 1296 | icon-image: "presets/power/power_source-coal.svg"; |
| | 1297 | set icon_z17; |
| | 1298 | } |
| | 1299 | node[generator:source=gas] { |
| | 1300 | icon-image: "presets/power/power_source-gas.svg"; |
| | 1301 | set icon_z17; |
| | 1302 | } |
| | 1303 | node[generator:source=biomass], |
| | 1304 | node[generator:source=biofuel], |
| | 1305 | node[generator:source=biogas] { |
| | 1306 | icon-image: "presets/power/power_source-biofuel.svg"; |
| | 1307 | set icon_z17; |
| | 1308 | } |
| | 1309 | node[generator:source=oil], |
| | 1310 | node[generator:source=diesel], |
| | 1311 | node[generator:source=gasoline] { |
| | 1312 | icon-image: "presets/power/power_source-oil.svg"; |
| | 1313 | set icon_z17; |
| | 1314 | } |
| | 1315 | node[generator:source=waste] { |
| | 1316 | icon-image: "presets/power/power_source-waste.svg"; |
| | 1317 | set icon_z17; |
| | 1318 | } |
| | 1319 | node[power_source] { |
| | 1320 | icon-image: "presets/misc/deprecated.svg"; |
| | 1321 | set icon_z17; |
| | 1322 | } |
| | 1323 | /*****************/ |
| | 1324 | /* man_made tags */ |
| | 1325 | /*****************/ |
| | 1326 | |
| | 1327 | area[man_made=beacon], |
| | 1328 | area[man_made=bridge], |
| | 1329 | area[bridge:support], |
| | 1330 | area[man_made=chimney], |
| | 1331 | area[man_made=kiln], |
| | 1332 | area[man_made=gasometer], |
| | 1333 | area[man_made=silo], |
| | 1334 | area[man_made=storage_tank], |
| | 1335 | area[man_made=bunker_silo], |
| | 1336 | area[man_made=lighthouse], |
| | 1337 | area[man_made=monitoring_station], |
| | 1338 | area[man_made=mineshaft] { |
| | 1339 | fill-color: manmade#d8d8d8; |
| | 1340 | } |
| | 1341 | node[man_made=beacon] { |
| | 1342 | icon-image: "presets/landmark/beacon.svg"; |
| | 1343 | set icon_z17; |
| | 1344 | } |
| | 1345 | node[man_made=bridge] { |
| | 1346 | icon-image: "presets/misc/deprecated.svg"; |
| | 1347 | set icon_z17; |
| | 1348 | } |
| | 1349 | node[bridge:support] { |
| | 1350 | icon-image: "presets/transport/bridge/bridge_support.svg"; |
| | 1351 | set icon_z17; |
| | 1352 | } |
| | 1353 | node[man_made=chimney] { |
| | 1354 | icon-image: "presets/landmark/chimney.svg"; |
| | 1355 | set icon_z17; |
| | 1356 | } |
| | 1357 | node[man_made=kiln] { |
| | 1358 | icon-image: "presets/misc/kiln.svg"; |
| | 1359 | set icon_z17; |
| | 1360 | } |
| | 1361 | node[man_made=flagpole] { |
| | 1362 | icon-image: "presets/misc/flag.svg"; |
| | 1363 | set icon_z17; |
| | 1364 | } |
| | 1365 | node[man_made=cross] { |
| | 1366 | icon-image: "presets/landmark/cross.svg"; |
| | 1367 | set icon_z17; |
| | 1368 | } |
| | 1369 | node[man_made=gasometer] { |
| | 1370 | icon-image: "presets/landmark/gasometer.svg"; |
| | 1371 | set icon_z17; |
| | 1372 | } |
| | 1373 | node[man_made=silo] { |
| | 1374 | icon-image: "presets/landmark/silo.svg"; |
| | 1375 | set icon_z17; |
| | 1376 | } |
| | 1377 | node[man_made=storage_tank] { |
| | 1378 | icon-image: "presets/landmark/storage_tank.svg"; |
| | 1379 | set icon_z17; |
| | 1380 | } |
| | 1381 | node[man_made=bunker_silo] { |
| | 1382 | icon-image: "presets/landmark/bunker_silo.svg"; |
| | 1383 | set icon_z17; |
| | 1384 | } |
| | 1385 | area[man_made=groyne]:closed { |
| | 1386 | fill-color: manmade#d8d8d8; |
| | 1387 | } |
| | 1388 | way[man_made=groyne] { |
| | 1389 | width: 2; |
| | 1390 | color: manmade#d8d8d8; |
| | 1391 | } |
| | 1392 | area[man_made=breakwater]:closed { |
| | 1393 | fill-color: manmade#d8d8d8; |
| | 1394 | } |
| | 1395 | way[man_made=breakwater] { |
| | 1396 | width: 2; |
| | 1397 | color: manmade#d8d8d8; |
| | 1398 | } |
| | 1399 | way[man_made=dyke] { |
| | 1400 | width: 2; |
| | 1401 | color: dyke#0aa846; |
| | 1402 | } |
| | 1403 | node[man_made=lighthouse] { |
| | 1404 | icon-image: "presets/landmark/lighthouse.svg"; |
| | 1405 | set icon_z17; |
| | 1406 | } |
| | 1407 | node[man_made=monitoring_station] { |
| | 1408 | icon-image: "presets/misc/monitoring_station.svg"; |
| | 1409 | set icon_z17; |
| | 1410 | } |
| | 1411 | node[man_made=mineshaft] { |
| | 1412 | icon-image: "presets/landmark/mine.svg"; |
| | 1413 | set icon_z17; |
| | 1414 | } |
| | 1415 | area[man_made=crane]:closed { |
| | 1416 | fill-color: manmade#d8d8d8; |
| | 1417 | } |
| | 1418 | way[man_made=crane] { |
| | 1419 | width: 2; |
| | 1420 | color: manmade#d8d8d8; |
| | 1421 | } |
| | 1422 | node[man_made=crane] { |
| | 1423 | icon-image: "presets/landmark/crane.svg"; |
| | 1424 | set icon_z17; |
| | 1425 | } |
| | 1426 | node[man_made=adit] { |
| | 1427 | icon-image: "presets/landmark/adit.svg"; |
| | 1428 | set icon_z17; |
| | 1429 | } |
| | 1430 | area[man_made=pier]:closed { |
| | 1431 | fill-color: pier#660000; |
| | 1432 | } |
| | 1433 | way[man_made=pier] { |
| | 1434 | width: 2; |
| | 1435 | color: pier#660000; |
| | 1436 | } |
| | 1437 | node[man_made=pier] { |
| | 1438 | icon-image: "presets/nautical/pier.svg"; |
| | 1439 | set icon_z17; |
| | 1440 | } |
| | 1441 | way[embankment?][!highway][!railway][!waterway], |
| | 1442 | way[man_made=embankment][!highway][!railway][!waterway] { |
| | 1443 | repeat-image: "presets/misc/embankment-pattern.png"; |
| | 1444 | repeat-image-align: top; |
| | 1445 | width: 1; |
| | 1446 | color: embankment#c14d00; |
| | 1447 | } |
| | 1448 | way[embankment?][highway], |
| | 1449 | way[embankment?][railway], |
| | 1450 | way[embankment?][waterway], |
| | 1451 | way[man_made=embankment][highway], |
| | 1452 | way[man_made=embankment][railway], |
| | 1453 | way[man_made=embankment][waterway] { |
| | 1454 | repeat-image: "presets/misc/embankment-pattern-centered.png"; |
| | 1455 | } |
| | 1456 | way[man_made=pipeline][!waterway] { |
| | 1457 | width: 2; |
| | 1458 | color: pipeline#660000; |
| | 1459 | } |
| | 1460 | node[pipeline=marker] { |
| | 1461 | icon-image: "presets/misc/pipeline_marker.svg"; |
| | 1462 | set icon_z17; |
| | 1463 | } |
| | 1464 | node[pipeline=valve] { |
| | 1465 | icon-image: "presets/misc/valve.svg"; |
| | 1466 | set icon_z17; |
| | 1467 | } |
| | 1468 | node[man_made=breakwater], |
| | 1469 | node[man_made=groyne], |
| | 1470 | node[man_made=embankment], |
| | 1471 | node[man_made=pipeline] { |
| | 1472 | icon-image: "presets/misc/deprecated.svg"; |
| | 1473 | set icon_z17; |
| | 1474 | } |
| | 1475 | node[man_made=petroleum_well][!is_prop_set(icon-image)] { |
| | 1476 | icon-image: "presets/misc/no_icon.svg"; |
| | 1477 | set icon_z17; |
| | 1478 | } |
| | 1479 | area[man_made=reservoir_covered], |
| | 1480 | area[man_made=tower], |
| | 1481 | area[man_made=wastewater_plant], |
| | 1482 | area[man_made=watermill], |
| | 1483 | area[man_made=water_tower], |
| | 1484 | area[man_made=water_well], |
| | 1485 | area[man_made=windmill], |
| | 1486 | area[man_made=works], |
| | 1487 | area[man_made=water_works] { |
| | 1488 | fill-color: manmade#d8d8d8; |
| | 1489 | } |
| | 1490 | node[man_made=reservoir_covered] { |
| | 1491 | icon-image: "presets/landmark/reservoir_covered.svg"; |
| | 1492 | set icon_z17; |
| | 1493 | } |
| | 1494 | node[man_made=surveillance] { |
| | 1495 | icon-image: "presets/service/surveillance.svg"; |
| | 1496 | set icon_z17; |
| | 1497 | } |
| | 1498 | node[man_made=survey_point] { |
| | 1499 | icon-image: "presets/landmark/survey_point.svg"; |
| | 1500 | set icon_z17; |
| | 1501 | } |
| | 1502 | node[man_made=tower] { |
| | 1503 | icon-image: "presets/landmark/tower.svg"; |
| | 1504 | set icon_z17; |
| | 1505 | } |
| | 1506 | node[man_made=wastewater_plant] { |
| | 1507 | icon-image: "presets/landmark/wastewater_plant.svg"; |
| | 1508 | set icon_z17; |
| | 1509 | } |
| | 1510 | node[man_made=watermill] { |
| | 1511 | icon-image: "presets/landmark/watermill.svg"; |
| | 1512 | set icon_z17; |
| | 1513 | } |
| | 1514 | node[man_made=water_tower] { |
| | 1515 | icon-image: "presets/landmark/water_tower.svg"; |
| | 1516 | set icon_z17; |
| | 1517 | } |
| | 1518 | node[man_made=water_well] { |
| | 1519 | icon-image: "presets/landmark/water_well.svg"; |
| | 1520 | set icon_z17; |
| | 1521 | } |
| | 1522 | node[man_made=windmill] { |
| | 1523 | icon-image: "presets/landmark/windmill.svg"; |
| | 1524 | set icon_z17; |
| | 1525 | } |
| | 1526 | node[man_made=works] { |
| | 1527 | icon-image: "presets/landmark/works.svg"; |
| | 1528 | set icon_z17; |
| | 1529 | } |
| | 1530 | node[man_made=water_works] { |
| | 1531 | icon-image: "presets/landmark/water_works.svg"; |
| | 1532 | set icon_z17; |
| | 1533 | } |
| | 1534 | way[man_made=cutline] { |
| | 1535 | width: 2; |
| | 1536 | color: cutline#99ff55; |
| | 1537 | } |
| | 1538 | node[man_made=cutline] { |
| | 1539 | icon-image: "presets/misc/deprecated.svg"; |
| | 1540 | set icon_z17; |
| | 1541 | } |
| | 1542 | |
| | 1543 | /***************/ |
| | 1544 | /* office tags */ |
| | 1545 | /***************/ |
| | 1546 | |
| | 1547 | area[office=accountant], |
| | 1548 | area[office=administrative], |
| | 1549 | area[office=advertising_agency], |
| | 1550 | area[office=architect], |
| | 1551 | area[office=association], |
| | 1552 | area[office=company], |
| | 1553 | area[office=educational_institution], |
| | 1554 | area[office=employment_agency], |
| | 1555 | area[office=estate_agent], |
| | 1556 | area[office=foundation], |
| | 1557 | area[office=government], |
| | 1558 | area[office=insurance], |
| | 1559 | area[office=it], |
| | 1560 | area[office=lawyer], |
| | 1561 | area[office=newspaper], |
| | 1562 | area[office=ngo], |
| | 1563 | area[office=notary], |
| | 1564 | area[office=political_party], |
| | 1565 | area[office=religion], |
| | 1566 | area[office=research], |
| | 1567 | area[office=tax_advisor], |
| | 1568 | area[office=telecommunication] { |
| | 1569 | fill-color: office#de5696; |
| | 1570 | } |
| | 1571 | node[office=accountant] { |
| | 1572 | icon-image: "presets/office/accountant.svg"; |
| | 1573 | set icon_z17; |
| | 1574 | } |
| | 1575 | node[office=administrative] { |
| | 1576 | icon-image: "presets/office/administrative.svg"; |
| | 1577 | set icon_z17; |
| | 1578 | } |
| | 1579 | node[office=advertising_agency] { |
| | 1580 | icon-image: "presets/office/advertising_agency.svg"; |
| | 1581 | set icon_z17; |
| | 1582 | } |
| | 1583 | node[office=architect] { |
| | 1584 | icon-image: "presets/office/architect.svg"; |
| | 1585 | set icon_z17; |
| | 1586 | } |
| | 1587 | node[office=association] { |
| | 1588 | icon-image: "presets/office/association.svg"; |
| | 1589 | set icon_z17; |
| | 1590 | } |
| | 1591 | node[office=company] { |
| | 1592 | icon-image: "presets/office/private_company.svg"; |
| | 1593 | set icon_z17; |
| | 1594 | } |
| | 1595 | node[office=educational_institution] { |
| | 1596 | icon-image: "presets/office/educational_institution.svg"; |
| | 1597 | set icon_z17; |
| | 1598 | } |
| | 1599 | node[office=employment_agency] { |
| | 1600 | icon-image: "presets/office/employment_agency.svg"; |
| | 1601 | set icon_z17; |
| | 1602 | } |
| | 1603 | node[office=estate_agent] { |
| | 1604 | icon-image: "presets/office/real_state.svg"; |
| | 1605 | set icon_z17; |
| | 1606 | } |
| | 1607 | node[office=foundation] { |
| | 1608 | icon-image: "presets/office/foundation.svg"; |
| | 1609 | set icon_z17; |
| | 1610 | } |
| | 1611 | node[office=insurance] { |
| | 1612 | icon-image: "presets/office/insurance.svg"; |
| | 1613 | set icon_z17; |
| | 1614 | } |
| | 1615 | node[office=it] { |
| | 1616 | icon-image: "presets/office/it.svg"; |
| | 1617 | set icon_z17; |
| | 1618 | } |
| | 1619 | node[office=lawyer] { |
| | 1620 | icon-image: "presets/office/lawyer.svg"; |
| | 1621 | set icon_z17; |
| | 1622 | } |
| | 1623 | node[office=newspaper] { |
| | 1624 | icon-image: "presets/office/newspaper.svg"; |
| | 1625 | set icon_z17; |
| | 1626 | } |
| | 1627 | node[office=ngo] { |
| | 1628 | icon-image: "presets/office/ong.svg"; |
| | 1629 | set icon_z17; |
| | 1630 | } |
| | 1631 | node[office=notary] { |
| | 1632 | icon-image: "presets/office/notary.svg"; |
| | 1633 | set icon_z17; |
| | 1634 | } |
| | 1635 | node[office=political_party] { |
| | 1636 | icon-image: "presets/office/political_party.svg"; |
| | 1637 | set icon_z17; |
| | 1638 | } |
| | 1639 | node[office=religion] { |
| | 1640 | icon-image: "presets/office/religion.svg"; |
| | 1641 | set icon_z17; |
| | 1642 | } |
| | 1643 | node[office=research] { |
| | 1644 | icon-image: "presets/office/research.svg"; |
| | 1645 | set icon_z17; |
| | 1646 | } |
| | 1647 | node[office=tax_advisor] { |
| | 1648 | icon-image: "presets/office/tax_advisor.svg"; |
| | 1649 | set icon_z17; |
| | 1650 | } |
| | 1651 | node[office=telecommunication] { |
| | 1652 | icon-image: "presets/office/telecommunication.svg"; |
| | 1653 | set icon_z17; |
| | 1654 | } |
| | 1655 | node[office=government] { |
| | 1656 | icon-image: "presets/office/government.svg"; |
| | 1657 | set icon_z17; |
| | 1658 | } |
| | 1659 | |
| | 1660 | /****************/ |
| | 1661 | /* leisure tags */ |
| | 1662 | /****************/ |
| | 1663 | |
| | 1664 | area[leisure=bandstand], |
| | 1665 | area[leisure=sports_centre], |
| | 1666 | area[leisure=fitness_centre], |
| | 1667 | area[leisure=stadium], |
| | 1668 | area[leisure=horse_riding], |
| | 1669 | area[leisure=resort], |
| | 1670 | area[leisure=beach_resort], |
| | 1671 | area[leisure=water_park] { |
| | 1672 | fill-color: leisure#c7f1a3; |
| | 1673 | } |
| | 1674 | node[leisure=bandstand] { |
| | 1675 | icon-image: "presets/leisure/bandstand.svg"; |
| | 1676 | set icon_z17; |
| | 1677 | } |
| | 1678 | node[leisure=sports_centre] { |
| | 1679 | icon-image: "presets/sport/sports_centre.svg"; |
| | 1680 | set icon_z17; |
| | 1681 | } |
| | 1682 | node[leisure=fitness_centre] { |
| | 1683 | icon-image: "presets/sport/fitness_centre.svg"; |
| | 1684 | set icon_z17; |
| | 1685 | } |
| | 1686 | node[leisure=stadium] { |
| | 1687 | icon-image: "presets/sport/stadium.svg"; |
| | 1688 | set icon_z17; |
| | 1689 | } |
| | 1690 | node[leisure=horse_riding] { |
| | 1691 | icon-image: "presets/leisure/horse_riding.svg"; |
| | 1692 | set icon_z17; |
| | 1693 | } |
| | 1694 | node[leisure=resort] { |
| | 1695 | icon-image: "presets/leisure/resort.svg"; |
| | 1696 | set icon_z17; |
| | 1697 | } |
| | 1698 | node[leisure=beach_resort] { |
| | 1699 | icon-image: "presets/leisure/beach_resort.svg"; |
| | 1700 | set icon_z17; |
| | 1701 | } |
| | 1702 | node[leisure=water_park] { |
| | 1703 | icon-image: "presets/leisure/water_park.svg"; |
| | 1704 | set icon_z17; |
| | 1705 | } |
| | 1706 | area[leisure=track][!area?!]:closed { |
| | 1707 | fill-color: leisuretrack#d4f4b9; |
| | 1708 | } |
| | 1709 | way[leisure=track] { |
| | 1710 | width: 2; |
| | 1711 | color: leisuretrack#d4f4b9; |
| | 1712 | } |
| | 1713 | node[leisure=track] { |
| | 1714 | icon-image: "presets/sport/track.svg"; |
| | 1715 | set icon_z17; |
| | 1716 | } |
| | 1717 | area[leisure=pitch] { |
| | 1718 | fill-color: pitch#baee8d; |
| | 1719 | } |
| | 1720 | node[leisure=pitch] { |
| | 1721 | icon-image: "presets/sport/pitch.svg"; |
| | 1722 | set icon_z17; |
| | 1723 | } |
| | 1724 | area[leisure=marina] { |
| | 1725 | fill-color: marina#0070cf; |
| | 1726 | } |
| | 1727 | node[leisure=marina] { |
| | 1728 | icon-image: "presets/nautical/marina.svg"; |
| | 1729 | set icon_z17; |
| | 1730 | } |
| | 1731 | way[leisure=slipway] { |
| | 1732 | width: 2; |
| | 1733 | color: leisure#c7f1a3; |
| | 1734 | } |
| | 1735 | node[leisure=slipway] { |
| | 1736 | icon-image: "presets/nautical/slipway.svg"; |
| | 1737 | set icon_z17; |
| | 1738 | } |
| | 1739 | area[leisure=fishing], |
| | 1740 | area[leisure=bird_hide], |
| | 1741 | area[leisure=nature_reserve], |
| | 1742 | area[leisure=park], |
| | 1743 | area[leisure=playground], |
| | 1744 | area[leisure=garden], |
| | 1745 | area[leisure=common], |
| | 1746 | area[leisure=firepit] { |
| | 1747 | fill-color: leisure#c7f1a3; |
| | 1748 | width: 1; |
| | 1749 | } |
| | 1750 | node[leisure=fishing] { |
| | 1751 | icon-image: "presets/sport/fishing.svg"; |
| | 1752 | set icon_z17; |
| | 1753 | } |
| | 1754 | node[leisure=bird_hide] { |
| | 1755 | icon-image: "presets/leisure/bird_hide.svg"; |
| | 1756 | set icon_z17; |
| | 1757 | } |
| | 1758 | node[leisure=nature_reserve] { |
| | 1759 | icon-image: "presets/leisure/nature_reserve.svg"; |
| | 1760 | set icon_z17; |
| | 1761 | } |
| | 1762 | node[leisure=park] { |
| | 1763 | icon-image: "presets/misc/deprecated.svg"; |
| | 1764 | set icon_z17; |
| | 1765 | } |
| | 1766 | node[leisure=playground] { |
| | 1767 | icon-image: "presets/leisure/playground.svg"; |
| | 1768 | set icon_z17; |
| | 1769 | } |
| | 1770 | node[leisure=garden] { |
| | 1771 | icon-image: "presets/leisure/garden.svg"; |
| | 1772 | set icon_z17; |
| | 1773 | } |
| | 1774 | node[leisure=common] { |
| | 1775 | icon-image: "presets/leisure/common.svg"; |
| | 1776 | set icon_z17; |
| | 1777 | } |
| | 1778 | node[leisure=firepit] { |
| | 1779 | icon-image: "presets/leisure/firepit.svg"; |
| | 1780 | set icon_z17; |
| | 1781 | } |
| | 1782 | node[leisure=picnic_table] { |
| | 1783 | icon-image: "presets/leisure/picnic.svg"; |
| | 1784 | set icon_z17; |
| | 1785 | } |
| | 1786 | area[leisure=swimming_pool] { |
| | 1787 | fill-color: swimming_pool#51c4ef; |
| | 1788 | } |
| | 1789 | node[leisure=swimming_pool] { |
| | 1790 | icon-image: "presets/sport/swimming.svg"; |
| | 1791 | set icon_z17; |
| | 1792 | } |
| | 1793 | area[leisure=fitness_station], |
| | 1794 | area[leisure=miniature_golf], |
| | 1795 | area[leisure=dog_park], |
| | 1796 | area[leisure=ice_rink], |
| | 1797 | area[leisure=sauna] { |
| | 1798 | fill-color: leisure#c7f1a3; |
| | 1799 | } |
| | 1800 | node[leisure=fitness_station] { |
| | 1801 | icon-image: "presets/leisure/fitness_station.svg"; |
| | 1802 | set icon_z17; |
| | 1803 | } |
| | 1804 | node[leisure=miniature_golf] { |
| | 1805 | icon-image: "presets/sport/miniature_golf.svg"; |
| | 1806 | set icon_z17; |
| | 1807 | } |
| | 1808 | node[leisure=dog_park] { |
| | 1809 | icon-image: "presets/leisure/dogpark.svg"; |
| | 1810 | set icon_z17; |
| | 1811 | } |
| | 1812 | node[leisure=ice_rink] { |
| | 1813 | icon-image: "presets/sport/ice_hockey.svg"; |
| | 1814 | set icon_z17; |
| | 1815 | } |
| | 1816 | node[leisure=sauna] { |
| | 1817 | icon-image: "presets/leisure/sauna.svg"; |
| | 1818 | set icon_z17; |
| | 1819 | } |
| | 1820 | area[leisure=golf_course] { |
| | 1821 | fill-color: leisure#c7f1a3; |
| | 1822 | } |
| | 1823 | node[leisure=golf_course] { |
| | 1824 | icon-image: "presets/sport/golf/golf.svg"; |
| | 1825 | set icon_z17; |
| | 1826 | } |
| | 1827 | |
| | 1828 | /*************/ |
| | 1829 | /* golf tags */ |
| | 1830 | /*************/ |
| | 1831 | area[golf=tee] { |
| | 1832 | fill-color: golf#c7f1a3; |
| | 1833 | } |
| | 1834 | node[golf=tee] { |
| | 1835 | icon-image: "presets/sport/golf/tee.svg"; |
| | 1836 | set icon_z17; |
| | 1837 | } |
| | 1838 | way[golf=hole] { |
| | 1839 | width: 1; |
| | 1840 | dashes: 10,10; |
| | 1841 | color: golf_hole#808080; |
| | 1842 | } |
| | 1843 | node[golf=pin] { |
| | 1844 | icon-image: "presets/sport/golf/pin.svg"; |
| | 1845 | set icon_z17; |
| | 1846 | } |
| | 1847 | area[golf=bunker] { |
| | 1848 | fill-color: golf_bunker#ffab00; |
| | 1849 | } |
| | 1850 | area[golf=water_hazard], |
| | 1851 | area[golf=lateral_water_hazard] { |
| | 1852 | fill-color: golf_water_hazard#0000ff; |
| | 1853 | } |
| | 1854 | area[golf=green] { |
| | 1855 | fill-color: golf_green#00e700; |
| | 1856 | } |
| | 1857 | area[golf=fairway] { |
| | 1858 | fill-color: golf_fairway#009a00; |
| | 1859 | } |
| | 1860 | area[golf=rough] { |
| | 1861 | fill-color: golf_rough#006700; |
| | 1862 | } |
| | 1863 | area[golf=driving_range] { |
| | 1864 | fill-color: golf_driving_range#c7f1a3; |
| | 1865 | } |
| | 1866 | node[golf=driving_range] { |
| | 1867 | icon-image: "presets/sport/golf/driving_range.svg"; |
| | 1868 | set icon_z17; |
| | 1869 | } |
| | 1870 | |
| | 1871 | /********************/ |
| | 1872 | /* advertising tags */ |
| | 1873 | /********************/ |
| | 1874 | |
| | 1875 | node[advertising=column] { |
| | 1876 | icon-image: "presets/leisure/advertising_column.svg"; |
| | 1877 | set icon_z17; |
| | 1878 | } |
| | 1879 | area[advertising=column] { |
| | 1880 | fill-color: advertising#880000; |
| | 1881 | } |
| | 1882 | node[advertising=billboard] { |
| | 1883 | icon-image: "presets/leisure/billboard.svg"; |
| | 1884 | set icon_z17; |
| | 1885 | } |
| | 1886 | way[advertising=billboard] { |
| | 1887 | width: 2; |
| | 1888 | color: advertising#880000; |
| | 1889 | } |
| | 1890 | |
| | 1891 | /*************/ |
| | 1892 | /* shop tags */ |
| | 1893 | /*************/ |
| | 1894 | |
| | 1895 | area[shop=supermarket], |
| | 1896 | area[shop=convenience], |
| | 1897 | area[shop=bakery], |
| | 1898 | area[shop=butcher], |
| | 1899 | area[shop=bicycle], |
| | 1900 | area[shop=doityourself], |
| | 1901 | area[shop=dry_cleaning], |
| | 1902 | area[shop=laundry], |
| | 1903 | area[shop=outdoor], |
| | 1904 | area[shop=kiosk], |
| | 1905 | area[shop=alcohol], |
| | 1906 | area[shop=beverages], |
| | 1907 | area[shop=books], |
| | 1908 | area[shop=boutique], |
| | 1909 | area[shop=car], |
| | 1910 | area[shop=car_repair], |
| | 1911 | area[shop=tyres], |
| | 1912 | area[shop=chemist], |
| | 1913 | area[shop=tobacco], |
| | 1914 | area[shop=clothes], |
| | 1915 | area[shop=computer], |
| | 1916 | area[shop=confectionery], |
| | 1917 | area[shop=pastry], |
| | 1918 | area[shop=copyshop], |
| | 1919 | area[shop=curtain], |
| | 1920 | area[shop=cycle_repair], |
| | 1921 | area[shop=department_store], |
| | 1922 | area[shop=deli], |
| | 1923 | area[shop=electronics], |
| | 1924 | area[shop=erotic], |
| | 1925 | area[shop=furniture], |
| | 1926 | area[shop=fabric], |
| | 1927 | area[shop=florist], |
| | 1928 | area[shop=frame], |
| | 1929 | area[shop=gas], |
| | 1930 | area[shop=gift], |
| | 1931 | area[shop=greengrocer], |
| | 1932 | area[shop=garden_centre], |
| | 1933 | area[shop=hairdresser], |
| | 1934 | area[shop=hardware], |
| | 1935 | area[shop=hearing_aids], |
| | 1936 | area[shop=hifi], |
| | 1937 | area[shop=houseware], |
| | 1938 | area[shop=jewelry], |
| | 1939 | area[shop=kitchen], |
| | 1940 | area[shop=mall], |
| | 1941 | area[shop=mobile_phone], |
| | 1942 | area[shop=motorcycle], |
| | 1943 | area[shop=musical_instrument], |
| | 1944 | area[shop=newsagent], |
| | 1945 | area[shop=optician], |
| | 1946 | area[shop=medical_supply], |
| | 1947 | area[shop=paint], |
| | 1948 | area[shop=pawnbroker], |
| | 1949 | area[shop=seafood], |
| | 1950 | area[shop=dairy], |
| | 1951 | area[shop=cheese], |
| | 1952 | area[shop=shoes], |
| | 1953 | area[shop=sports], |
| | 1954 | area[shop=stationery], |
| | 1955 | area[shop=tailor], |
| | 1956 | area[shop=travel_agency], |
| | 1957 | area[shop=toys], |
| | 1958 | area[shop=vacuum_cleaner], |
| | 1959 | area[shop=variety_store], |
| | 1960 | area[shop=charity], |
| | 1961 | area[shop=video], |
| | 1962 | area[shop=bookmaker], |
| | 1963 | area[shop=lottery], |
| | 1964 | area[shop=shopping_centre], |
| | 1965 | area[shop=pet], |
| | 1966 | area[shop=photo], |
| | 1967 | area[shop=ticket], |
| | 1968 | area[shop=interior_decoration], |
| | 1969 | area[shop=car_parts], |
| | 1970 | area[shop=video_games], |
| | 1971 | area[shop=bed], |
| | 1972 | area[shop=beauty], |
| | 1973 | area[shop=cosmetics], |
| | 1974 | area[shop=perfumery], |
| | 1975 | area[shop=tea], |
| | 1976 | area[shop=coffee], |
| | 1977 | area[shop=antiques], |
| | 1978 | area[shop=music], |
| | 1979 | area[shop=funeral_directors], |
| | 1980 | area[shop=wine], |
| | 1981 | area[shop=farm], |
| | 1982 | area[shop=tattoo], |
| | 1983 | area[shop=art], |
| | 1984 | area[shop=bag] { |
| | 1985 | fill-color: shop#00005f; |
| | 1986 | } |
| | 1987 | node[shop=supermarket] { |
| | 1988 | icon-image: "presets/shop/supermarket.svg"; |
| | 1989 | set icon_z17; |
| | 1990 | } |
| | 1991 | node[shop=convenience] { |
| | 1992 | icon-image: "presets/shop/convenience.svg"; |
| | 1993 | set icon_z17; |
| | 1994 | } |
| | 1995 | node[shop=bakery] { |
| | 1996 | icon-image: "presets/shop/groceries/bakery.svg"; |
| | 1997 | set icon_z17; |
| | 1998 | } |
| | 1999 | node[shop=butcher] { |
| | 2000 | icon-image: "presets/shop/groceries/butcher.svg"; |
| | 2001 | set icon_z17; |
| | 2002 | } |
| | 2003 | node[shop=bicycle] { |
| | 2004 | icon-image: "presets/shop/bicycle.svg"; |
| | 2005 | set icon_z17; |
| | 2006 | } |
| | 2007 | node[shop=doityourself] { |
| | 2008 | icon-image: "presets/shop/diy_store.svg"; |
| | 2009 | set icon_z17; |
| | 2010 | } |
| | 2011 | node[shop=dry_cleaning], |
| | 2012 | node[shop=laundry] { |
| | 2013 | icon-image: "presets/shop/laundry.svg"; |
| | 2014 | set icon_z17; |
| | 2015 | } |
| | 2016 | node[shop=outdoor] { |
| | 2017 | icon-image: "presets/shop/outdoor.svg"; |
| | 2018 | set icon_z17; |
| | 2019 | } |
| | 2020 | node[shop=kiosk] { |
| | 2021 | icon-image: "presets/shop/kiosk.svg"; |
| | 2022 | set icon_z17; |
| | 2023 | } |
| | 2024 | node[shop=beverages] { |
| | 2025 | icon-image: "presets/shop/beverages.svg"; |
| | 2026 | set icon_z17; |
| | 2027 | } |
| | 2028 | node[shop=alcohol] { |
| | 2029 | icon-image: "presets/shop/alcohol.svg"; |
| | 2030 | set icon_z17; |
| | 2031 | } |
| | 2032 | node[shop=books] { |
| | 2033 | icon-image: "presets/shop/book.svg"; |
| | 2034 | set icon_z17; |
| | 2035 | } |
| | 2036 | node[shop=boutique] { |
| | 2037 | icon-image: "presets/shop/boutique.svg"; |
| | 2038 | set icon_z17; |
| | 2039 | } |
| | 2040 | node[shop=car] { |
| | 2041 | icon-image: "presets/shop/vehicle.svg"; |
| | 2042 | set icon_z17; |
| | 2043 | } |
| | 2044 | node[shop=car_repair] { |
| | 2045 | icon-image: "presets/vehicle/repair_shop.svg"; |
| | 2046 | set icon_z17; |
| | 2047 | } |
| | 2048 | node[shop=tyres] { |
| | 2049 | icon-image: "presets/vehicle/tyres.svg"; |
| | 2050 | set icon_z17; |
| | 2051 | } |
| | 2052 | node[shop=chemist] { |
| | 2053 | icon-image: "presets/shop/chemist.svg"; |
| | 2054 | set icon_z17; |
| | 2055 | } |
| | 2056 | node[shop=tobacco] { |
| | 2057 | icon-image: "presets/shop/tobacco.svg"; |
| | 2058 | set icon_z17; |
| | 2059 | } |
| | 2060 | node[shop=clothes] { |
| | 2061 | icon-image: "presets/shop/clothes.svg"; |
| | 2062 | set icon_z17; |
| | 2063 | } |
| | 2064 | node[shop=computer] { |
| | 2065 | icon-image: "presets/shop/computer.svg"; |
| | 2066 | set icon_z17; |
| | 2067 | } |
| | 2068 | node[shop=confectionery] { |
| | 2069 | icon-image: "presets/shop/groceries/confectionery.svg"; |
| | 2070 | set icon_z17; |
| | 2071 | } |
| | 2072 | node[shop=pastry] { |
| | 2073 | icon-image: "presets/shop/groceries/pastry.svg"; |
| | 2074 | set icon_z17; |
| | 2075 | } |
| | 2076 | node[shop=copyshop] { |
| | 2077 | icon-image: "presets/shop/copyshop.svg"; |
| | 2078 | set icon_z17; |
| | 2079 | } |
| | 2080 | node[shop=curtain] { |
| | 2081 | icon-image: "presets/shop/curtain.svg"; |
| | 2082 | set icon_z17; |
| | 2083 | } |
| | 2084 | node[shop=cycle_repair] { |
| | 2085 | icon-image: "presets/shop/bicycle.svg"; |
| | 2086 | set icon_z17; |
| | 2087 | } |
| | 2088 | node[shop=department_store] { |
| | 2089 | icon-image: "presets/shop/mall.svg"; |
| | 2090 | set icon_z17; |
| | 2091 | } |
| | 2092 | node[shop=deli] { |
| | 2093 | icon-image: "presets/shop/groceries/deli.svg"; |
| | 2094 | set icon_z17; |
| | 2095 | } |
| | 2096 | node[shop=electronics] { |
| | 2097 | icon-image: "presets/shop/electronics.svg"; |
| | 2098 | set icon_z17; |
| | 2099 | } |
| | 2100 | node[shop=erotic] { |
| | 2101 | icon-image: "presets/shop/erotic.svg"; |
| | 2102 | set icon_z17; |
| | 2103 | } |
| | 2104 | node[shop=furniture] { |
| | 2105 | icon-image: "presets/shop/furniture.svg"; |
| | 2106 | set icon_z17; |
| | 2107 | } |
| | 2108 | node[shop=fabric] { |
| | 2109 | icon-image: "presets/shop/fabric.svg"; |
| | 2110 | set icon_z17; |
| | 2111 | } |
| | 2112 | node[shop=florist] { |
| | 2113 | icon-image: "presets/shop/florist.svg"; |
| | 2114 | set icon_z17; |
| | 2115 | } |
| | 2116 | node[shop=frame] { |
| | 2117 | icon-image: "presets/shop/frame.svg"; |
| | 2118 | set icon_z17; |
| | 2119 | } |
| | 2120 | node[shop=gas] { |
| | 2121 | icon-image: "presets/shop/gas.svg"; |
| | 2122 | set icon_z17; |
| | 2123 | } |
| | 2124 | node[shop=gift] { |
| | 2125 | icon-image: "presets/shop/present.svg"; |
| | 2126 | set icon_z17; |
| | 2127 | } |
| | 2128 | node[shop=greengrocer] { |
| | 2129 | icon-image: "presets/shop/groceries/greengrocer.svg"; |
| | 2130 | set icon_z17; |
| | 2131 | } |
| | 2132 | node[shop=garden_centre] { |
| | 2133 | icon-image: "presets/shop/garden_centre.svg"; |
| | 2134 | set icon_z17; |
| | 2135 | } |
| | 2136 | node[shop=hairdresser] { |
| | 2137 | icon-image: "presets/shop/hairdresser.svg"; |
| | 2138 | set icon_z17; |
| | 2139 | } |
| | 2140 | node[shop=hardware] { |
| | 2141 | icon-image: "presets/shop/hardware.svg"; |
| | 2142 | set icon_z17; |
| | 2143 | } |
| | 2144 | node[shop=hearing_aids] { |
| | 2145 | icon-image: "presets/shop/hearing_aids.svg"; |
| | 2146 | set icon_z17; |
| | 2147 | } |
| | 2148 | node[shop=hifi] { |
| | 2149 | icon-image: "presets/shop/hifi.svg"; |
| | 2150 | set icon_z17; |
| | 2151 | } |
| | 2152 | node[shop=houseware] { |
| | 2153 | icon-image: "presets/shop/houseware.svg"; |
| | 2154 | set icon_z17; |
| | 2155 | } |
| | 2156 | node[shop=jewelry] { |
| | 2157 | icon-image: "presets/shop/jewelry.svg"; |
| | 2158 | set icon_z17; |
| | 2159 | } |
| | 2160 | node[shop=kitchen] { |
| | 2161 | icon-image: "presets/shop/kitchen.svg"; |
| | 2162 | set icon_z17; |
| | 2163 | } |
| | 2164 | node[shop=mall] { |
| | 2165 | icon-image: "presets/shop/mall.svg"; |
| | 2166 | set icon_z17; |
| | 2167 | } |
| | 2168 | node[shop=mobile_phone] { |
| | 2169 | icon-image: "presets/shop/mobile_phone.svg"; |
| | 2170 | set icon_z17; |
| | 2171 | } |
| | 2172 | node[shop=motorcycle] { |
| | 2173 | icon-image: "presets/vehicle/motorbike.svg"; |
| | 2174 | set icon_z17; |
| | 2175 | } |
| | 2176 | node[shop=musical_instrument] { |
| | 2177 | icon-image: "presets/shop/musical_instrument.svg"; |
| | 2178 | set icon_z17; |
| | 2179 | } |
| | 2180 | node[shop=newsagent] { |
| | 2181 | icon-image: "presets/shop/news.svg"; |
| | 2182 | set icon_z17; |
| | 2183 | } |
| | 2184 | node[shop=optician] { |
| | 2185 | icon-image: "presets/shop/optician.svg"; |
| | 2186 | set icon_z17; |
| | 2187 | } |
| | 2188 | node[shop=medical_supply] { |
| | 2189 | icon-image: "presets/shop/medical_supply.svg"; |
| | 2190 | set icon_z17; |
| | 2191 | } |
| | 2192 | node[shop=paint] { |
| | 2193 | icon-image: "presets/shop/paint.svg"; |
| | 2194 | set icon_z17; |
| | 2195 | } |
| | 2196 | node[shop=pawnbroker] { |
| | 2197 | icon-image: "presets/shop/pawnbroker.svg"; |
| | 2198 | set icon_z17; |
| | 2199 | } |
| | 2200 | node[shop=seafood] { |
| | 2201 | icon-image: "presets/shop/groceries/seafood.svg"; |
| | 2202 | set icon_z17; |
| | 2203 | } |
| | 2204 | node[shop=dairy] { |
| | 2205 | icon-image: "presets/shop/groceries/dairy.svg"; |
| | 2206 | set icon_z17; |
| | 2207 | } |
| | 2208 | node[shop=cheese] { |
| | 2209 | icon-image: "presets/shop/groceries/cheese.svg"; |
| | 2210 | set icon_z17; |
| | 2211 | } |
| | 2212 | node[shop=shoes] { |
| | 2213 | icon-image: "presets/shop/shoes.svg"; |
| | 2214 | set icon_z17; |
| | 2215 | } |
| | 2216 | node[shop=sports] { |
| | 2217 | icon-image: "presets/sport/multi.svg"; |
| | 2218 | set icon_z17; |
| | 2219 | } |
| | 2220 | node[shop=stationery] { |
| | 2221 | icon-image: "presets/shop/stationery.svg"; |
| | 2222 | set icon_z17; |
| | 2223 | } |
| | 2224 | node[shop=tailor] { |
| | 2225 | icon-image: "presets/shop/tailor.svg"; |
| | 2226 | set icon_z17; |
| | 2227 | } |
| | 2228 | node[shop=travel_agency] { |
| | 2229 | icon-image: "presets/shop/travel_agency.svg"; |
| | 2230 | set icon_z17; |
| | 2231 | } |
| | 2232 | node[shop=toys] { |
| | 2233 | icon-image: "presets/shop/toys.svg"; |
| | 2234 | set icon_z17; |
| | 2235 | } |
| | 2236 | node[shop=vacuum_cleaner] { |
| | 2237 | icon-image: "presets/shop/vacuum_cleaner.svg"; |
| | 2238 | set icon_z17; |
| | 2239 | } |
| | 2240 | node[shop=variety_store] { |
| | 2241 | icon-image: "presets/shop/variety_store.svg"; |
| | 2242 | set icon_z17; |
| | 2243 | } |
| | 2244 | node[shop=charity] { |
| | 2245 | icon-image: "presets/shop/charity.svg"; |
| | 2246 | set icon_z17; |
| | 2247 | } |
| | 2248 | node[shop=video] { |
| | 2249 | icon-image: "presets/shop/video.svg"; |
| | 2250 | set icon_z17; |
| | 2251 | } |
| | 2252 | node[shop=bookmaker] { |
| | 2253 | icon-image: "presets/shop/lottery.svg"; |
| | 2254 | set icon_z17; |
| | 2255 | } |
| | 2256 | node[shop=lottery] { |
| | 2257 | icon-image: "presets/shop/lottery.svg"; |
| | 2258 | set icon_z17; |
| | 2259 | } |
| | 2260 | /* duplicate of shopping_centre? */ |
| | 2261 | node[shop=shopping_centre] { |
| | 2262 | icon-image: "presets/shop/mall.svg"; |
| | 2263 | set icon_z17; |
| | 2264 | } |
| | 2265 | node[shop=pet] { |
| | 2266 | icon-image: "presets/shop/pet.svg"; |
| | 2267 | set icon_z17; |
| | 2268 | } |
| | 2269 | node[shop=photo] { |
| | 2270 | icon-image: "presets/shop/photo.svg"; |
| | 2271 | set icon_z17; |
| | 2272 | } |
| | 2273 | node[shop=ticket] { |
| | 2274 | icon-image: "presets/shop/ticket.svg"; |
| | 2275 | set icon_z17; |
| | 2276 | } |
| | 2277 | node[shop=interior_decoration] { |
| | 2278 | icon-image: "presets/shop/interior_decoration.svg"; |
| | 2279 | set icon_z17; |
| | 2280 | } |
| | 2281 | node[shop=car_parts] { |
| | 2282 | icon-image: "presets/vehicle/car_parts.svg"; |
| | 2283 | set icon_z17; |
| | 2284 | } |
| | 2285 | node[shop=video_games] { |
| | 2286 | icon-image: "presets/shop/video_games.svg"; |
| | 2287 | set icon_z17; |
| | 2288 | } |
| | 2289 | node[shop=bed] { |
| | 2290 | icon-image: "presets/shop/bed.svg"; |
| | 2291 | set icon_z17; |
| | 2292 | } |
| | 2293 | node[shop=beauty] { |
| | 2294 | icon-image: "presets/shop/beauty.svg"; |
| | 2295 | set icon_z17; |
| | 2296 | } |
| | 2297 | node[shop=cosmetics] { |
| | 2298 | icon-image: "presets/shop/cosmetics.svg"; |
| | 2299 | set icon_z17; |
| | 2300 | } |
| | 2301 | node[shop=perfumery] { |
| | 2302 | icon-image: "presets/shop/perfumery.svg"; |
| | 2303 | set icon_z17; |
| | 2304 | } |
| | 2305 | node[shop=tea] { |
| | 2306 | icon-image: "presets/shop/groceries/tea.svg"; |
| | 2307 | set icon_z17; |
| | 2308 | } |
| | 2309 | node[shop=coffee] { |
| | 2310 | icon-image: "presets/shop/groceries/coffee.svg"; |
| | 2311 | set icon_z17; |
| | 2312 | } |
| | 2313 | node[shop=antiques] { |
| | 2314 | icon-image: "presets/shop/antique.svg"; |
| | 2315 | set icon_z17; |
| | 2316 | } |
| | 2317 | node[shop=music] { |
| | 2318 | icon-image: "presets/shop/music.svg"; |
| | 2319 | set icon_z17; |
| | 2320 | } |
| | 2321 | node[shop=funeral_directors] { |
| | 2322 | icon-image: "presets/shop/funeral_directors.svg"; |
| | 2323 | set icon_z17; |
| | 2324 | } |
| | 2325 | node[shop=wine] { |
| | 2326 | icon-image: "presets/shop/wine.svg"; |
| | 2327 | set icon_z17; |
| | 2328 | } |
| | 2329 | node[shop=farm] { |
| | 2330 | icon-image: "presets/shop/groceries/farm.svg"; |
| | 2331 | set icon_z17; |
| | 2332 | } |
| | 2333 | node[shop=tattoo] { |
| | 2334 | icon-image: "presets/shop/tattoo.svg"; |
| | 2335 | set icon_z17; |
| | 2336 | } |
| | 2337 | node[shop=art] { |
| | 2338 | icon-image: "presets/shop/art.svg"; |
| | 2339 | set icon_z17; |
| | 2340 | } |
| | 2341 | node[shop=bag] { |
| | 2342 | icon-image: "presets/shop/bag.svg"; |
| | 2343 | set icon_z17; |
| | 2344 | } |
| | 2345 | |
| | 2346 | /******************/ |
| | 2347 | /* emergency tags */ |
| | 2348 | /******************/ |
| | 2349 | area[emergency=ambulance_station], |
| | 2350 | area[emergency=water_tank] { |
| | 2351 | fill-color: emergency#eeeeee; |
| | 2352 | } |
| | 2353 | node[emergency=ambulance_station] { |
| | 2354 | icon-image: "presets/emergency/ambulance_station.svg"; |
| | 2355 | set icon_z17; |
| | 2356 | } |
| | 2357 | node[emergency=water_tank] { |
| | 2358 | icon-image: "presets/emergency/water_tank.svg"; |
| | 2359 | set icon_z17; |
| | 2360 | } |
| | 2361 | node[emergency=phone] { |
| | 2362 | icon-image: "presets/vehicle/emergency_phone.svg"; |
| | 2363 | set icon_z17; |
| | 2364 | } |
| | 2365 | node[emergency=defibrillator] { |
| | 2366 | icon-image: "presets/emergency/aed.svg"; |
| | 2367 | set icon_z17; |
| | 2368 | } |
| | 2369 | node[emergency=fire_hydrant] { |
| | 2370 | icon-image: "presets/service/fire_hydrant.svg"; |
| | 2371 | set icon_z17; |
| | 2372 | } |
| | 2373 | node[emergency=fire_extinguisher] { |
| | 2374 | icon-image: "presets/emergency/fire_extinguisher.svg"; |
| | 2375 | set icon_z17; |
| | 2376 | } |
| | 2377 | node[emergency=fire_hose] { |
| | 2378 | icon-image: "presets/emergency/fire_hose.svg"; |
| | 2379 | set icon_z17; |
| | 2380 | } |
| | 2381 | node[emergency=assembly_point] { |
| | 2382 | icon-image: "presets/emergency/assembly_point.svg"; |
| | 2383 | set icon_z17; |
| | 2384 | } |
| | 2385 | node[emergency=siren] { |
| | 2386 | icon-image: "presets/emergency/siren.svg"; |
| | 2387 | set icon_z17; |
| | 2388 | } |
| | 2389 | |
| | 2390 | /****************/ |
| | 2391 | /* amenity tags */ |
| | 2392 | /****************/ |
| | 2393 | |
| | 2394 | area[amenity=pub], |
| | 2395 | area[amenity=biergarten], |
| | 2396 | area[amenity=nightclub], |
| | 2397 | area[amenity=stripclub], |
| | 2398 | area[amenity=casino], |
| | 2399 | area[amenity=brothel], |
| | 2400 | area[amenity=cafe], |
| | 2401 | area[amenity=restaurant], |
| | 2402 | area[amenity=food_court], |
| | 2403 | area[amenity=fast_food], |
| | 2404 | area[amenity=bar], |
| | 2405 | area[amenity=ice_cream] { |
| | 2406 | fill-color: amenity#ecba52; |
| | 2407 | } |
| | 2408 | node[amenity=pub] { |
| | 2409 | icon-image: "presets/food/pub.svg"; |
| | 2410 | set icon_z17; |
| | 2411 | } |
| | 2412 | node[amenity=biergarten] { |
| | 2413 | icon-image: "presets/food/biergarten.svg"; |
| | 2414 | set icon_z17; |
| | 2415 | } |
| | 2416 | node[amenity=nightclub] { |
| | 2417 | icon-image: "presets/leisure/nightclub.svg"; |
| | 2418 | set icon_z17; |
| | 2419 | } |
| | 2420 | node[amenity=stripclub] { |
| | 2421 | icon-image: "presets/leisure/stripclub.svg"; |
| | 2422 | set icon_z17; |
| | 2423 | } |
| | 2424 | node[amenity=casino] { |
| | 2425 | icon-image: "presets/leisure/casino.svg"; |
| | 2426 | set icon_z17; |
| | 2427 | } |
| | 2428 | node[amenity=brothel] { |
| | 2429 | icon-image: "presets/leisure/brothel.svg"; |
| | 2430 | set icon_z17; |
| | 2431 | } |
| | 2432 | node[amenity=cafe] { |
| | 2433 | icon-image: "presets/food/cafe.svg"; |
| | 2434 | set icon_z17; |
| | 2435 | } |
| | 2436 | node[amenity=restaurant] { |
| | 2437 | icon-image: "presets/food/restaurant.svg"; |
| | 2438 | set icon_z17; |
| | 2439 | } |
| | 2440 | node[amenity=food_court] { |
| | 2441 | icon-image: "presets/food/food_court.svg"; |
| | 2442 | set icon_z17; |
| | 2443 | } |
| | 2444 | node[amenity=fast_food] { |
| | 2445 | icon-image: "presets/food/fast_food.svg"; |
| | 2446 | set icon_z17; |
| | 2447 | } |
| | 2448 | node[amenity=bar] { |
| | 2449 | icon-image: "presets/food/bar.svg"; |
| | 2450 | set icon_z17; |
| | 2451 | } |
| | 2452 | node[amenity=ice_cream] { |
| | 2453 | icon-image: "presets/food/ice_cream.svg"; |
| | 2454 | set icon_z17; |
| | 2455 | } |
| | 2456 | area[amenity=bicycle_parking]:closed { |
| | 2457 | fill-color: amenity_traffic#f7efb7; |
| | 2458 | } |
| | 2459 | way[amenity=bicycle_parking] { |
| | 2460 | width: 2; |
| | 2461 | color: amenity_traffic#f7efb7; |
| | 2462 | } |
| | 2463 | area[amenity=parking_space] { |
| | 2464 | fill-color: parking_space#f7efb8; |
| | 2465 | } |
| | 2466 | area[amenity=parking], |
| | 2467 | area[amenity=motorcycle_parking], |
| | 2468 | area[amenity=bicycle_rental], |
| | 2469 | area[amenity=bicycle_repair_station], |
| | 2470 | area[amenity=car_rental], |
| | 2471 | area[amenity=car_sharing], |
| | 2472 | area[amenity=car_wash], |
| | 2473 | area[amenity=taxi], |
| | 2474 | area[amenity=fuel] { |
| | 2475 | fill-color: amenity_traffic#adadad; |
| | 2476 | } |
| | 2477 | node[amenity=parking_space] { |
| | 2478 | icon-image: "presets/vehicle/parking/parking_space.svg"; |
| | 2479 | set icon_z17; |
| | 2480 | } |
| | 2481 | node[amenity=parking] { |
| | 2482 | icon-image: "presets/vehicle/parking/parking.svg"; |
| | 2483 | set icon_z17; |
| | 2484 | } |
| | 2485 | node[amenity=parking_entrance] { |
| | 2486 | icon-image: "presets/vehicle/parking/parking.svg"; |
| | 2487 | set icon_z17; |
| | 2488 | } |
| | 2489 | node[amenity=parking_entrance][parking=multi-storey], |
| | 2490 | node[amenity=parking][parking=multi-storey] { |
| | 2491 | icon-image: "presets/vehicle/parking/multi-storey.svg"; |
| | 2492 | set icon_z17; |
| | 2493 | } |
| | 2494 | node[amenity=parking_entrance][parking=underground], |
| | 2495 | node[amenity=parking][parking=underground] { |
| | 2496 | icon-image: "presets/vehicle/parking/underground.svg"; |
| | 2497 | set icon_z17; |
| | 2498 | } |
| | 2499 | node[amenity=motorcycle_parking] { |
| | 2500 | icon-image: "presets/vehicle/parking/motorbike.svg"; |
| | 2501 | set icon_z17; |
| | 2502 | } |
| | 2503 | node[amenity=bicycle_parking] { |
| | 2504 | icon-image: "presets/vehicle/parking/bicycle.svg"; |
| | 2505 | set icon_z17; |
| | 2506 | } |
| | 2507 | node[park_ride][park_ride!=no] { |
| | 2508 | icon-image: "presets/vehicle/parking/park_ride.svg"; |
| | 2509 | set icon_z17; |
| | 2510 | } |
| | 2511 | node[amenity=parking_space][wheelchair?] { |
| | 2512 | icon-image: "presets/vehicle/parking/handicapped.svg"; |
| | 2513 | set icon_z17; |
| | 2514 | } |
| | 2515 | node[amenity=bicycle_rental] { |
| | 2516 | icon-image: "presets/vehicle/bicycle_rental.svg"; |
| | 2517 | set icon_z17; |
| | 2518 | } |
| | 2519 | node[amenity=bicycle_repair_station] { |
| | 2520 | icon-image: "presets/vehicle/bicycle_repair_station.svg"; |
| | 2521 | set icon_z17; |
| | 2522 | } |
| | 2523 | node[amenity=car_rental] { |
| | 2524 | icon-image: "presets/vehicle/car_rental.svg"; |
| | 2525 | set icon_z17; |
| | 2526 | } |
| | 2527 | node[amenity=car_sharing] { |
| | 2528 | icon-image: "presets/vehicle/car_sharing.svg"; |
| | 2529 | set icon_z17; |
| | 2530 | } |
| | 2531 | node[amenity=car_wash] { |
| | 2532 | icon-image: "presets/vehicle/car_wash.svg"; |
| | 2533 | set icon_z17; |
| | 2534 | } |
| | 2535 | node[amenity=taxi] { |
| | 2536 | icon-image: "presets/transport/taxi.svg"; |
| | 2537 | set icon_z17; |
| | 2538 | } |
| | 2539 | node[amenity=fuel] { |
| | 2540 | icon-image: "presets/vehicle/fuel.svg"; |
| | 2541 | set icon_z17; |
| | 2542 | } |
| | 2543 | node[amenity=charging_station] { |
| | 2544 | icon-image: "presets/vehicle/charging_station.svg"; |
| | 2545 | set icon_z17; |
| | 2546 | } |
| | 2547 | node[amenity=grit_bin] { |
| | 2548 | icon-image: "presets/misc/grit_bin.svg"; |
| | 2549 | set icon_z17; |
| | 2550 | } |
| | 2551 | node[amenity=telephone] { |
| | 2552 | icon-image: "presets/service/telephone.svg"; |
| | 2553 | set icon_z17; |
| | 2554 | } |
| | 2555 | node[amenity=clock] { |
| | 2556 | icon-image: "presets/service/clock.svg"; |
| | 2557 | set icon_z17; |
| | 2558 | } |
| | 2559 | node[amenity=photo_booth] { |
| | 2560 | icon-image: "presets/service/photo_booth.svg"; |
| | 2561 | set icon_z17; |
| | 2562 | } |
| | 2563 | area[amenity=toilets], |
| | 2564 | area[amenity=shower], |
| | 2565 | area[amenity=internet_cafe], |
| | 2566 | area[amenity=recycling], |
| | 2567 | area[amenity=sanitary_dump_station] { |
| | 2568 | fill-color: amenity_light#f7efb7; |
| | 2569 | } |
| | 2570 | node[amenity=toilets] { |
| | 2571 | icon-image: "presets/service/toilets.svg"; |
| | 2572 | set icon_z17; |
| | 2573 | } |
| | 2574 | node[amenity=shower] { |
| | 2575 | icon-image: "presets/service/shower.svg"; |
| | 2576 | set icon_z17; |
| | 2577 | } |
| | 2578 | node[amenity=internet_cafe] { |
| | 2579 | icon-image: "presets/service/internet_cafe.svg"; |
| | 2580 | set icon_z17; |
| | 2581 | } |
| | 2582 | node[amenity=recycling] { |
| | 2583 | icon-image: "presets/service/recycling/recycling.svg"; |
| | 2584 | set icon_z17; |
| | 2585 | } |
| | 2586 | node[amenity=recycling][recycling_type=container] { |
| | 2587 | icon-image: "presets/service/recycling/recycling_container.svg"; |
| | 2588 | } |
| | 2589 | node[amenity=recycling][recycling_type=centre] { |
| | 2590 | icon-image: "presets/service/recycling/recycling_centre.svg"; |
| | 2591 | } |
| | 2592 | node[amenity=waste_basket] { |
| | 2593 | icon-image: "presets/service/recycling/waste_basket.svg"; |
| | 2594 | set icon_z17; |
| | 2595 | } |
| | 2596 | node[amenity=waste_disposal] { |
| | 2597 | icon-image: "presets/service/recycling/waste_disposal.svg"; |
| | 2598 | set icon_z17; |
| | 2599 | } |
| | 2600 | node[amenity=sanitary_dump_station] { |
| | 2601 | icon-image: "presets/service/recycling/sanitary_dump_station.svg"; |
| | 2602 | set icon_z17; |
| | 2603 | } |
| | 2604 | area[amenity=townhall], |
| | 2605 | area[amenity=embassy], |
| | 2606 | area[amenity=community_centre] { |
| | 2607 | fill-color: amenity_light#f7efb7; |
| | 2608 | } |
| | 2609 | node[amenity=townhall] { |
| | 2610 | icon-image: "presets/service/townhall.svg"; |
| | 2611 | set icon_z17; |
| | 2612 | } |
| | 2613 | node[amenity=embassy] { |
| | 2614 | icon-image: "presets/service/embassy.svg"; |
| | 2615 | set icon_z17; |
| | 2616 | } |
| | 2617 | node[amenity=community_centre] { |
| | 2618 | icon-image: "presets/service/community_centre.svg"; |
| | 2619 | set icon_z17; |
| | 2620 | } |
| | 2621 | area[amenity=water_point], |
| | 2622 | area[amenity=fountain] { |
| | 2623 | fill-color: light_water#00005f; |
| | 2624 | } |
| | 2625 | node[amenity=drinking_water] { |
| | 2626 | icon-image: "presets/food/drinking_water.svg"; |
| | 2627 | set icon_z17; |
| | 2628 | } |
| | 2629 | node[amenity=water_point] { |
| | 2630 | icon-image: "presets/accommodation/water.svg"; |
| | 2631 | set icon_z17; |
| | 2632 | } |
| | 2633 | node[amenity=fountain] { |
| | 2634 | icon-image: "presets/misc/fountain.svg"; |
| | 2635 | set icon_z17; |
| | 2636 | } |
| | 2637 | area[amenity=place_of_worship], |
| | 2638 | area[amenity=grave_yard], |
| | 2639 | area[amenity=crematorium], |
| | 2640 | area[amenity=post_office], |
| | 2641 | area[amenity=studio], |
| | 2642 | area[amenity=school], |
| | 2643 | area[amenity=university], |
| | 2644 | area[amenity=college], |
| | 2645 | area[amenity=kindergarten], |
| | 2646 | area[amenity=driving_school] { |
| | 2647 | fill-color: amenity_light#f7efb7; |
| | 2648 | } |
| | 2649 | node[amenity=place_of_worship] { |
| | 2650 | icon-image: "presets/religion/religion.svg"; |
| | 2651 | set icon_z17; |
| | 2652 | } |
| | 2653 | node[amenity=place_of_worship][religion=bahai] { |
| | 2654 | icon-image: "presets/religion/bahai.svg"; |
| | 2655 | set icon_z17; |
| | 2656 | } |
| | 2657 | node[amenity=place_of_worship][religion=buddhist] { |
| | 2658 | icon-image: "presets/religion/buddhism.svg"; |
| | 2659 | set icon_z17; |
| | 2660 | } |
| | 2661 | node[amenity=place_of_worship][religion=christian] { |
| | 2662 | icon-image: "presets/religion/church.svg"; |
| | 2663 | set icon_z17; |
| | 2664 | } |
| | 2665 | node[amenity=place_of_worship][religion=hindu] { |
| | 2666 | icon-image: "presets/religion/hinduism.svg"; |
| | 2667 | set icon_z17; |
| | 2668 | } |
| | 2669 | node[amenity=place_of_worship][religion=jain] { |
| | 2670 | icon-image: "presets/religion/jainism.svg"; |
| | 2671 | set icon_z17; |
| | 2672 | } |
| | 2673 | node[amenity=place_of_worship][religion=jewish] { |
| | 2674 | icon-image: "presets/religion/jewish.svg"; |
| | 2675 | set icon_z17; |
| | 2676 | } |
| | 2677 | node[amenity=place_of_worship][religion=muslim] { |
| | 2678 | icon-image: "presets/religion/muslim.svg"; |
| | 2679 | set icon_z17; |
| | 2680 | } |
| | 2681 | node[amenity=place_of_worship][religion=sikh] { |
| | 2682 | icon-image: "presets/religion/sikhism.svg"; |
| | 2683 | set icon_z17; |
| | 2684 | } |
| | 2685 | node[amenity=place_of_worship][religion=shinto] { |
| | 2686 | icon-image: "presets/religion/shinto.svg"; |
| | 2687 | set icon_z17; |
| | 2688 | } |
| | 2689 | node[amenity=place_of_worship][religion=spiritualist][!is_prop_set(icon-image)] { |
| | 2690 | icon-image: "presets/misc/no_icon.svg"; |
| | 2691 | set icon_z17; |
| | 2692 | } |
| | 2693 | node[amenity=place_of_worship][religion=taoist] { |
| | 2694 | icon-image: "presets/religion/taoism.svg"; |
| | 2695 | set icon_z17; |
| | 2696 | } |
| | 2697 | node[amenity=place_of_worship][religion=unitarian][!is_prop_set(icon-image)] { |
| | 2698 | icon-image: "presets/misc/no_icon.svg"; |
| | 2699 | set icon_z17; |
| | 2700 | } |
| | 2701 | node[amenity=place_of_worship][religion=zoroastrian][!is_prop_set(icon-image)] { |
| | 2702 | icon-image: "presets/misc/no_icon.svg"; |
| | 2703 | set icon_z17; |
| | 2704 | } |
| | 2705 | node[amenity=grave_yard] { |
| | 2706 | icon-image: "presets/landuse/graveyard.svg"; |
| | 2707 | set icon_z17; |
| | 2708 | } |
| | 2709 | node[amenity=crematorium][!is_prop_set(icon-image)] { |
| | 2710 | icon-image: "presets/misc/no_icon.svg"; |
| | 2711 | set icon_z17; |
| | 2712 | } |
| | 2713 | node[amenity=post_office] { |
| | 2714 | icon-image: "presets/service/post_office.svg"; |
| | 2715 | set icon_z17; |
| | 2716 | } |
| | 2717 | node[amenity=post_box] { |
| | 2718 | icon-image: "presets/service/post_box.svg"; |
| | 2719 | set icon_z17; |
| | 2720 | } |
| | 2721 | node[amenity=studio] { |
| | 2722 | icon-image: "presets/service/studio.svg"; |
| | 2723 | set icon_z17; |
| | 2724 | } |
| | 2725 | node[amenity=school] { |
| | 2726 | icon-image: "presets/education/school.svg"; |
| | 2727 | set icon_z17; |
| | 2728 | } |
| | 2729 | node[amenity=university] { |
| | 2730 | icon-image: "presets/education/university.svg"; |
| | 2731 | set icon_z17; |
| | 2732 | } |
| | 2733 | node[amenity=college] { |
| | 2734 | icon-image: "presets/education/college.svg"; |
| | 2735 | set icon_z17; |
| | 2736 | } |
| | 2737 | node[amenity=kindergarten] { |
| | 2738 | icon-image: "presets/education/kindergarten.svg"; |
| | 2739 | set icon_z17; |
| | 2740 | } |
| | 2741 | node[amenity=driving_school] { |
| | 2742 | icon-image: "presets/education/driving_school.svg"; |
| | 2743 | set icon_z17; |
| | 2744 | } |
| | 2745 | area[amenity=pharmacy], |
| | 2746 | area[amenity=hospital], |
| | 2747 | area[amenity=clinic], |
| | 2748 | area[amenity=nursing_home], |
| | 2749 | area[amenity=social_facility], |
| | 2750 | area[amenity=baby_hatch], |
| | 2751 | area[amenity=doctors], |
| | 2752 | area[amenity=dentist], |
| | 2753 | area[amenity=veterinary] { |
| | 2754 | fill-color: health#eeeeee; |
| | 2755 | } |
| | 2756 | node[amenity=pharmacy] { |
| | 2757 | icon-image: "presets/health/pharmacy.svg"; |
| | 2758 | set icon_z17; |
| | 2759 | } |
| | 2760 | node[amenity=hospital] { |
| | 2761 | icon-image: "presets/health/hospital.svg"; |
| | 2762 | set icon_z17; |
| | 2763 | } |
| | 2764 | node[amenity=clinic] { |
| | 2765 | icon-image: "presets/health/clinic.svg"; |
| | 2766 | set icon_z17; |
| | 2767 | } |
| | 2768 | node[amenity=social_facility][social_facility=nursing_home], |
| | 2769 | node[amenity=nursing_home] { |
| | 2770 | icon-image: "presets/social_facility/nursing_home.svg"; |
| | 2771 | set icon_z17; |
| | 2772 | } |
| | 2773 | node[amenity=social_facility][social_facility=group_home] { |
| | 2774 | icon-image: "presets/social_facility/group_home.svg"; |
| | 2775 | set icon_z17; |
| | 2776 | } |
| | 2777 | node[amenity=social_facility][social_facility=assisted_living] { |
| | 2778 | icon-image: "presets/social_facility/assisted_living.svg"; |
| | 2779 | set icon_z17; |
| | 2780 | } |
| | 2781 | node[amenity=social_facility][social_facility=outreach] { |
| | 2782 | icon-image: "presets/social_facility/outreach.svg"; |
| | 2783 | set icon_z17; |
| | 2784 | } |
| | 2785 | node[amenity=social_facility][social_facility=shelter] { |
| | 2786 | icon-image: "presets/social_facility/shelter.svg"; |
| | 2787 | set icon_z17; |
| | 2788 | } |
| | 2789 | node[amenity=social_facility][social_facility=food_bank] { |
| | 2790 | icon-image: "presets/social_facility/food_bank.svg"; |
| | 2791 | set icon_z17; |
| | 2792 | } |
| | 2793 | node[amenity=baby_hatch] { |
| | 2794 | icon-image: "presets/health/baby_hatch.svg"; |
| | 2795 | set icon_z17; |
| | 2796 | } |
| | 2797 | node[amenity=doctors] { |
| | 2798 | icon-image: "presets/health/doctors.svg"; |
| | 2799 | set icon_z17; |
| | 2800 | } |
| | 2801 | node[amenity=dentist] { |
| | 2802 | icon-image: "presets/health/dentist.svg"; |
| | 2803 | set icon_z17; |
| | 2804 | } |
| | 2805 | node[amenity=veterinary] { |
| | 2806 | icon-image: "presets/health/veterinary.svg"; |
| | 2807 | set icon_z17; |
| | 2808 | } |
| | 2809 | area[amenity=library], |
| | 2810 | area[amenity=police], |
| | 2811 | area[amenity=ranger_station], |
| | 2812 | area[amenity=fire_station], |
| | 2813 | area[amenity=bus_station], |
| | 2814 | area[amenity=ferry_terminal], |
| | 2815 | area[amenity=theatre], |
| | 2816 | area[amenity=cinema], |
| | 2817 | area[amenity=arts_centre], |
| | 2818 | area[amenity=courthouse], |
| | 2819 | area[amenity=prison], |
| | 2820 | area[amenity=bank], |
| | 2821 | area[amenity=bureau_de_change], |
| | 2822 | area[amenity=bbq], |
| | 2823 | area[amenity=watering_place] { |
| | 2824 | fill-color: amenity_light#f7efb7; |
| | 2825 | } |
| | 2826 | node[amenity=library] { |
| | 2827 | icon-image: "presets/education/library.svg"; |
| | 2828 | set icon_z17; |
| | 2829 | } |
| | 2830 | node[amenity=police] { |
| | 2831 | icon-image: "presets/service/police.svg"; |
| | 2832 | set icon_z17; |
| | 2833 | } |
| | 2834 | node[amenity=ranger_station] { |
| | 2835 | icon-image: "presets/service/ranger_station.svg"; |
| | 2836 | set icon_z17; |
| | 2837 | } |
| | 2838 | node[amenity=fire_station] { |
| | 2839 | icon-image: "presets/service/firebrigade.svg"; |
| | 2840 | set icon_z17; |
| | 2841 | } |
| | 2842 | node[amenity=bus_station] { |
| | 2843 | icon-image: "presets/transport/bus_old.svg"; |
| | 2844 | set icon_z17; |
| | 2845 | } |
| | 2846 | node[amenity=ferry_terminal] { |
| | 2847 | icon-image: "presets/nautical/ferry.svg"; |
| | 2848 | set icon_z17; |
| | 2849 | } |
| | 2850 | node[amenity=theatre] { |
| | 2851 | icon-image: "presets/leisure/theater.svg"; |
| | 2852 | set icon_z17; |
| | 2853 | } |
| | 2854 | node[amenity=cinema] { |
| | 2855 | icon-image: "presets/leisure/cinema.svg"; |
| | 2856 | set icon_z17; |
| | 2857 | } |
| | 2858 | node[amenity=arts_centre] { |
| | 2859 | icon-image: "presets/sightseeing/arts_centre.svg"; |
| | 2860 | set icon_z17; |
| | 2861 | } |
| | 2862 | node[amenity=courthouse] { |
| | 2863 | icon-image: "presets/service/courthouse.svg"; |
| | 2864 | set icon_z17; |
| | 2865 | } |
| | 2866 | node[amenity=prison] { |
| | 2867 | icon-image: "presets/service/prison.svg"; |
| | 2868 | set icon_z17; |
| | 2869 | } |
| | 2870 | node[amenity=bank] { |
| | 2871 | icon-image: "presets/money/bank.svg"; |
| | 2872 | set icon_z17; |
| | 2873 | } |
| | 2874 | node[amenity=bureau_de_change] { |
| | 2875 | icon-image: "presets/money/exchange.svg"; |
| | 2876 | set icon_z17; |
| | 2877 | } |
| | 2878 | node[amenity=atm] { |
| | 2879 | icon-image: "presets/money/atm.svg"; |
| | 2880 | set icon_z17; |
| | 2881 | } |
| | 2882 | way[amenity=bench] { |
| | 2883 | width: 2; |
| | 2884 | color: amenity_light#f7efb7; |
| | 2885 | } |
| | 2886 | node[amenity=bench] { |
| | 2887 | icon-image: "presets/leisure/bench.svg"; |
| | 2888 | set icon_z17; |
| | 2889 | } |
| | 2890 | node[amenity=bbq] { |
| | 2891 | icon-image: "presets/leisure/bbq.svg"; |
| | 2892 | set icon_z17; |
| | 2893 | } |
| | 2894 | node[amenity=compressed_air] { |
| | 2895 | icon-image: "presets/vehicle/compressed_air.svg"; |
| | 2896 | set icon_z17; |
| | 2897 | } |
| | 2898 | node[amenity=watering_place] { |
| | 2899 | icon-image: "presets/misc/watering_place.svg"; |
| | 2900 | set icon_z17; |
| | 2901 | } |
| | 2902 | area[amenity=shelter], |
| | 2903 | area[amenity=marketplace], |
| | 2904 | area[amenity=wlan] { |
| | 2905 | fill-color: amenity_light#f7efb7; |
| | 2906 | } |
| | 2907 | node[amenity=shelter] { |
| | 2908 | icon-image: "presets/accommodation/shelter.svg"; |
| | 2909 | set icon_z17; |
| | 2910 | } |
| | 2911 | node[amenity=shelter][shelter_type=public_transport] { |
| | 2912 | icon-image: "presets/accommodation/shelter_public_transport.svg"; |
| | 2913 | set icon_z17; |
| | 2914 | } |
| | 2915 | node[amenity=shelter][shelter_type=picnic_shelter] { |
| | 2916 | icon-image: "presets/accommodation/shelter_picnic.svg"; |
| | 2917 | set icon_z17; |
| | 2918 | } |
| | 2919 | node[amenity=shelter][shelter_type=basic_hut] { |
| | 2920 | icon-image: "presets/accommodation/basic_hut.svg"; |
| | 2921 | set icon_z17; |
| | 2922 | } |
| | 2923 | node[amenity=shelter][shelter_type=lean_to] { |
| | 2924 | icon-image: "presets/accommodation/shelter_lean_to.svg"; |
| | 2925 | set icon_z17; |
| | 2926 | } |
| | 2927 | node[amenity=hunting_stand] { |
| | 2928 | icon-image: "presets/landmark/hunting_stand.svg"; |
| | 2929 | set icon_z17; |
| | 2930 | } |
| | 2931 | node[amenity=marketplace] { |
| | 2932 | icon-image: "presets/shop/marketplace.svg"; |
| | 2933 | set icon_z17; |
| | 2934 | } |
| | 2935 | node[amenity=vending_machine] { |
| | 2936 | icon-image: "presets/transport/ticket-machine.svg"; |
| | 2937 | set icon_z17; |
| | 2938 | } |
| | 2939 | node[vending=excrement_bags] { |
| | 2940 | icon-image: "presets/service/excrement_bags.svg"; |
| | 2941 | set icon_z17; |
| | 2942 | } |
| | 2943 | |
| | 2944 | /**************/ |
| | 2945 | /* craft tags */ |
| | 2946 | /**************/ |
| | 2947 | |
| | 2948 | area[craft=carpenter], |
| | 2949 | area[craft=shoemaker], |
| | 2950 | area[craft=photographer], |
| | 2951 | area[craft=metal_construction], |
| | 2952 | area[craft=electrician], |
| | 2953 | area[craft=brewery], |
| | 2954 | area[craft=plumber], |
| | 2955 | area[craft=sawmill], |
| | 2956 | area[craft=gardener], |
| | 2957 | area[craft=winery], |
| | 2958 | area[craft=hvac], |
| | 2959 | area[craft=painter], |
| | 2960 | area[craft=stonemason], |
| | 2961 | area[craft=handicraft], |
| | 2962 | area[craft=pottery], |
| | 2963 | area[craft=key_cutter], |
| | 2964 | area[craft=caterer], |
| | 2965 | area[craft=roofer], |
| | 2966 | area[craft=beekeeper], |
| | 2967 | area[craft=blacksmith], |
| | 2968 | area[craft=locksmith], |
| | 2969 | area[craft=window_construction], |
| | 2970 | area[craft=upholsterer], |
| | 2971 | area[craft=tiler] { |
| | 2972 | fill-color: craft#999900; |
| | 2973 | } |
| | 2974 | node[craft=carpenter][!is_prop_set(icon-image)] { |
| | 2975 | icon-image: "presets/misc/no_icon.svg"; |
| | 2976 | set icon_z17; |
| | 2977 | } |
| | 2978 | node[craft=shoemaker][!is_prop_set(icon-image)] { |
| | 2979 | icon-image: "presets/misc/no_icon.svg"; |
| | 2980 | set icon_z17; |
| | 2981 | } |
| | 2982 | node[craft=photographer][!is_prop_set(icon-image)] { |
| | 2983 | icon-image: "presets/misc/no_icon.svg"; |
| | 2984 | set icon_z17; |
| | 2985 | } |
| | 2986 | node[craft=metal_construction][!is_prop_set(icon-image)] { |
| | 2987 | icon-image: "presets/misc/no_icon.svg"; |
| | 2988 | set icon_z17; |
| | 2989 | }node[craft=electrician] { |
| | 2990 | icon-image: "presets/craft/electrician.svg"; |
| | 2991 | set icon_z17; |
| | 2992 | } |
| | 2993 | node[craft=brewery][!is_prop_set(icon-image)] { |
| | 2994 | icon-image: "presets/misc/no_icon.svg"; |
| | 2995 | set icon_z17; |
| | 2996 | } |
| | 2997 | node[craft=plumber] { |
| | 2998 | icon-image: "presets/craft/plumber.svg"; |
| | 2999 | set icon_z17; |
| | 3000 | } |
| | 3001 | node[craft=sawmill][!is_prop_set(icon-image)] { |
| | 3002 | icon-image: "presets/misc/no_icon.svg"; |
| | 3003 | set icon_z17; |
| | 3004 | } |
| | 3005 | node[craft=gardener][!is_prop_set(icon-image)] { |
| | 3006 | icon-image: "presets/misc/no_icon.svg"; |
| | 3007 | set icon_z17; |
| | 3008 | } |
| | 3009 | node[craft=winery][!is_prop_set(icon-image)] { |
| | 3010 | icon-image: "presets/misc/no_icon.svg"; |
| | 3011 | set icon_z17; |
| | 3012 | } |
| | 3013 | node[craft=hvac][!is_prop_set(icon-image)] { |
| | 3014 | icon-image: "presets/misc/no_icon.svg"; |
| | 3015 | set icon_z17; |
| | 3016 | } |
| | 3017 | node[craft=painter] { |
| | 3018 | icon-image: "presets/craft/painter.svg"; |
| | 3019 | set icon_z17; |
| | 3020 | } |
| | 3021 | node[craft=stonemason][!is_prop_set(icon-image)] { |
| | 3022 | icon-image: "presets/misc/no_icon.svg"; |
| | 3023 | set icon_z17; |
| | 3024 | } |
| | 3025 | node[craft=handicraft][!is_prop_set(icon-image)] { |
| | 3026 | icon-image: "presets/misc/no_icon.svg"; |
| | 3027 | set icon_z17; |
| | 3028 | } |
| | 3029 | node[craft=pottery] { |
| | 3030 | icon-image: "presets/craft/pottery.svg"; |
| | 3031 | set icon_z17; |
| | 3032 | } |
| | 3033 | node[craft=key_cutter] { |
| | 3034 | icon-image: "presets/craft/key_cutter.svg"; |
| | 3035 | set icon_z17; |
| | 3036 | } |
| | 3037 | node[craft=caterer][!is_prop_set(icon-image)] { |
| | 3038 | icon-image: "presets/misc/no_icon.svg"; |
| | 3039 | set icon_z17; |
| | 3040 | } |
| | 3041 | node[craft=roofer] { |
| | 3042 | icon-image: "presets/craft/roofer.svg"; |
| | 3043 | set icon_z17; |
| | 3044 | } |
| | 3045 | node[craft=beekeeper] { |
| | 3046 | icon-image: "presets/craft/beekeeper.svg"; |
| | 3047 | set icon_z17; |
| | 3048 | } |
| | 3049 | node[craft=blacksmith][!is_prop_set(icon-image)] { |
| | 3050 | icon-image: "presets/misc/no_icon.svg"; |
| | 3051 | set icon_z17; |
| | 3052 | } |
| | 3053 | node[craft=locksmith] { |
| | 3054 | icon-image: "presets/craft/locksmith.svg"; |
| | 3055 | set icon_z17; |
| | 3056 | } |
| | 3057 | node[craft=window_construction] { |
| | 3058 | icon-image: "presets/craft/window_construction.svg"; |
| | 3059 | set icon_z17; |
| | 3060 | } |
| | 3061 | node[craft=upholsterer][!is_prop_set(icon-image)] { |
| | 3062 | icon-image: "presets/misc/no_icon.svg"; |
| | 3063 | set icon_z17; |
| | 3064 | } |
| | 3065 | node[craft=tiler] { |
| | 3066 | icon-image: "presets/craft/tiler.svg"; |
| | 3067 | set icon_z17; |
| | 3068 | } |
| | 3069 | |
| | 3070 | /****************/ |
| | 3071 | /* tourism tags */ |
| | 3072 | /****************/ |
| | 3073 | |
| | 3074 | area[tourism=hotel], |
| | 3075 | area[tourism=motel], |
| | 3076 | area[tourism=guest_house], |
| | 3077 | area[tourism=apartment], |
| | 3078 | area[tourism=hostel], |
| | 3079 | area[tourism=chalet], |
| | 3080 | area[tourism=alpine_hut], |
| | 3081 | area[tourism=wilderness_hut], |
| | 3082 | area[tourism=camp_site], |
| | 3083 | area[tourism=caravan_site] { |
| | 3084 | fill-color: hotel#feced0; |
| | 3085 | } |
| | 3086 | node[tourism=hotel] { |
| | 3087 | icon-image: "presets/accommodation/hotel.svg"; |
| | 3088 | set icon_z17; |
| | 3089 | } |
| | 3090 | node[tourism=motel] { |
| | 3091 | icon-image: "presets/accommodation/motel.svg"; |
| | 3092 | set icon_z17; |
| | 3093 | } |
| | 3094 | node[tourism=guest_house] { |
| | 3095 | icon-image: "presets/accommodation/guest_house.svg"; |
| | 3096 | set icon_z17; |
| | 3097 | } |
| | 3098 | node[tourism=apartment] { |
| | 3099 | icon-image: "presets/accommodation/apartment.svg"; |
| | 3100 | set icon_z17; |
| | 3101 | } |
| | 3102 | node[tourism=hostel] { |
| | 3103 | icon-image: "presets/accommodation/hostel.svg"; |
| | 3104 | set icon_z17; |
| | 3105 | } |
| | 3106 | node[tourism=chalet] { |
| | 3107 | icon-image: "presets/accommodation/chalet.svg"; |
| | 3108 | set icon_z17; |
| | 3109 | } |
| | 3110 | node[tourism=alpine_hut] { |
| | 3111 | icon-image: "presets/accommodation/alpine_hut.svg"; |
| | 3112 | set icon_z17; |
| | 3113 | } |
| | 3114 | node[tourism=wilderness_hut] { |
| | 3115 | icon-image: "presets/accommodation/wilderness_hut.svg"; |
| | 3116 | set icon_z17; |
| | 3117 | } |
| | 3118 | node[tourism=camp_site] { |
| | 3119 | icon-image: "presets/accommodation/camping.svg"; |
| | 3120 | set icon_z17; |
| | 3121 | } |
| | 3122 | node[tourism=caravan_site] { |
| | 3123 | icon-image: "presets/accommodation/caravan.svg"; |
| | 3124 | set icon_z17; |
| | 3125 | } |
| | 3126 | area[tourism=attraction]:closed { |
| | 3127 | fill-color: tourism#e180a2; |
| | 3128 | } |
| | 3129 | way[tourism=attraction] { |
| | 3130 | width: 2; |
| | 3131 | color: tourism#e180a2; |
| | 3132 | } |
| | 3133 | node[tourism=attraction] { |
| | 3134 | icon-image: "presets/sightseeing/attraction.svg"; |
| | 3135 | set icon_z17; |
| | 3136 | } |
| | 3137 | area[tourism=picnic_site], |
| | 3138 | area[tourism=viewpoint], |
| | 3139 | area[tourism=theme_park], |
| | 3140 | area[tourism=zoo], |
| | 3141 | area[tourism=museum] { |
| | 3142 | fill-color: tourism#e180a2; |
| | 3143 | } |
| | 3144 | node[tourism=picnic_site] { |
| | 3145 | icon-image: "presets/leisure/picnic.svg"; |
| | 3146 | set icon_z17; |
| | 3147 | } |
| | 3148 | node[tourism=viewpoint] { |
| | 3149 | icon-image: "presets/sightseeing/viewpoint.svg"; |
| | 3150 | set icon_z17; |
| | 3151 | } |
| | 3152 | node[tourism=theme_park] { |
| | 3153 | icon-image: "presets/leisure/theme_park.svg"; |
| | 3154 | set icon_z17; |
| | 3155 | } |
| | 3156 | node[tourism=zoo] { |
| | 3157 | icon-image: "presets/leisure/zoo.svg"; |
| | 3158 | set icon_z17; |
| | 3159 | } |
| | 3160 | area[tourism=artwork]:closed { |
| | 3161 | fill-color: tourism#e180a2; |
| | 3162 | } |
| | 3163 | way[tourism=artwork][!highway] { |
| | 3164 | width: 2; |
| | 3165 | color: tourism#e180a2; |
| | 3166 | } |
| | 3167 | node[tourism=artwork] { |
| | 3168 | icon-image: "presets/sightseeing/arts_centre.svg"; |
| | 3169 | set icon_z17; |
| | 3170 | } |
| | 3171 | node[tourism=museum] { |
| | 3172 | icon-image: "presets/sightseeing/museum.svg"; |
| | 3173 | set icon_z17; |
| | 3174 | } |
| | 3175 | |
| | 3176 | /********************/ |
| | 3177 | /* attraction tags */ |
| | 3178 | /********************/ |
| | 3179 | |
| | 3180 | area[attraction=animal] { |
| | 3181 | fill-color: attraction#ffbfd3; |
| | 3182 | color: attraction#ffbfd3; /* color explizitly needed here to overwrite the color already set by (a lot of wrongly tagged) tourism=attraction */ |
| | 3183 | } |
| | 3184 | node[attraction=animal] { |
| | 3185 | icon-image: "presets/attraction/animal.svg"; |
| | 3186 | set icon_z17; |
| | 3187 | } |
| | 3188 | |
| | 3189 | /********************/ |
| | 3190 | /* information tags */ |
| | 3191 | /********************/ |
| | 3192 | |
| | 3193 | area[tourism=information] { |
| | 3194 | fill-color: tourism#e180a2; |
| | 3195 | } |
| | 3196 | node[tourism=information] { |
| | 3197 | icon-image: "presets/misc/information/information.svg"; |
| | 3198 | set icon_z17; |
| | 3199 | } |
| | 3200 | node[tourism=information][information=guidepost] { |
| | 3201 | icon-image: "presets/misc/information/guidepost.svg"; |
| | 3202 | set icon_z17; |
| | 3203 | } |
| | 3204 | area[tourism=information][information=office] { |
| | 3205 | fill-color: tourism#e180a2; |
| | 3206 | } |
| | 3207 | node[tourism=information][information=office] { |
| | 3208 | icon-image: "presets/misc/information/informationoffice.svg"; |
| | 3209 | set icon_z17; |
| | 3210 | } |
| | 3211 | node[tourism=information][information=map] { |
| | 3212 | icon-image: "presets/misc/information/map.svg"; |
| | 3213 | set icon_z17; |
| | 3214 | } |
| | 3215 | node[tourism=information][information=board] { |
| | 3216 | icon-image: "presets/misc/information/board.svg"; |
| | 3217 | set icon_z17; |
| | 3218 | } |
| | 3219 | |
| | 3220 | /*****************/ |
| | 3221 | /* historic tags */ |
| | 3222 | /*****************/ |
| | 3223 | |
| | 3224 | area[historic=castle], |
| | 3225 | area[historic=monument], |
| | 3226 | area[historic=memorial], |
| | 3227 | area[historic=tomb], |
| | 3228 | area[historic=archaeological_site], |
| | 3229 | area[historic=ruins], |
| | 3230 | area[historic=battlefield], |
| | 3231 | area[geological=palaeontological_site], |
| | 3232 | area[historic=wayside_cross], |
| | 3233 | area[historic=wayside_shrine], |
| | 3234 | area[historic=boundary_stone] { |
| | 3235 | fill-color: historic#663300; |
| | 3236 | } |
| | 3237 | node[historic=castle] { |
| | 3238 | icon-image: "presets/sightseeing/castle.svg"; |
| | 3239 | set icon_z17; |
| | 3240 | } |
| | 3241 | node[historic=monument] { |
| | 3242 | icon-image: "presets/sightseeing/monument.svg"; |
| | 3243 | set icon_z17; |
| | 3244 | } |
| | 3245 | node[historic=memorial] { |
| | 3246 | icon-image: "presets/sightseeing/memorial.svg"; |
| | 3247 | set icon_z17; |
| | 3248 | } |
| | 3249 | node[historic=archaeological_site] { |
| | 3250 | icon-image: "presets/sightseeing/archaeological.svg"; |
| | 3251 | set icon_z17; |
| | 3252 | } |
| | 3253 | node[historic=ruins] { |
| | 3254 | icon-image: "presets/sightseeing/ruins.svg"; |
| | 3255 | set icon_z17; |
| | 3256 | } |
| | 3257 | node[historic=battlefield] { |
| | 3258 | icon-image: "presets/sightseeing/battlefield.svg"; |
| | 3259 | set icon_z17; |
| | 3260 | } |
| | 3261 | node[geological=palaeontological_site] { |
| | 3262 | icon-image: "presets/sightseeing/palaeontological_site.svg"; |
| | 3263 | set icon_z17; |
| | 3264 | } |
| | 3265 | node[historic=wayside_cross] { |
| | 3266 | icon-image: "presets/religion/wayside_cross.svg"; |
| | 3267 | set icon_z17; |
| | 3268 | } |
| | 3269 | node[historic=wayside_shrine] { |
| | 3270 | icon-image: "presets/religion/wayside_shrine.svg"; |
| | 3271 | set icon_z17; |
| | 3272 | } |
| | 3273 | node[historic=boundary_stone] { |
| | 3274 | icon-image: "presets/landmark/boundary_stone.svg"; |
| | 3275 | set icon_z17; |
| | 3276 | } |
| | 3277 | area[cemetery=grave] { |
| | 3278 | fill-color: grave#663300; |
| | 3279 | } |
| | 3280 | node[cemetery=grave] { |
| | 3281 | icon-image: "presets/misc/grave.svg"; |
| | 3282 | set icon_z17; |
| | 3283 | } |
| | 3284 | node[historic=tomb] { |
| | 3285 | icon-image: "presets/misc/tomb.svg"; |
| | 3286 | set icon_z17; |
| | 3287 | } |
| | 3288 | |
| | 3289 | /****************/ |
| | 3290 | /* landuse tags */ |
| | 3291 | /****************/ |
| | 3292 | |
| | 3293 | area[landuse], |
| | 3294 | area[leisure], |
| | 3295 | area[amenity], |
| | 3296 | area[place], |
| | 3297 | area[natural], |
| | 3298 | area[man_made] { |
| | 3299 | z-index: -2; /* put areas that can have other areas inside (e.g. building) a little lower, see #9606 */ |
| | 3300 | } |
| | 3301 | area[landuse=farmland] { |
| | 3302 | fill-color: farmland#b8e0b1; |
| | 3303 | width: 1; |
| | 3304 | } |
| | 3305 | area[landuse=meadow] { |
| | 3306 | fill-color: meadow#b1e0b6; |
| | 3307 | width: 1; |
| | 3308 | } |
| | 3309 | area[landuse=vineyard], |
| | 3310 | area[landuse=orchard] { |
| | 3311 | fill-color: green#b1e0c2; |
| | 3312 | width: 1; |
| | 3313 | } |
| | 3314 | area[landuse=quarry] { |
| | 3315 | fill-color: quarry#888888; |
| | 3316 | width: 1; |
| | 3317 | } |
| | 3318 | area[landuse=landfill] { |
| | 3319 | fill-color: landfill#663300; |
| | 3320 | width: 1; |
| | 3321 | } |
| | 3322 | area[landuse=basin], |
| | 3323 | area[landuse=reservoir] { |
| | 3324 | fill-color: basin#0000bf; |
| | 3325 | } |
| | 3326 | area[landuse=forest] { |
| | 3327 | fill-color: forest#1c7a13; |
| | 3328 | } |
| | 3329 | area[landuse=allotments] { |
| | 3330 | fill-color: allotments#5dbf80; |
| | 3331 | width: 1; |
| | 3332 | } |
| | 3333 | area[landuse=greenhouse_horticulture], |
| | 3334 | area[landuse=plant_nursery] { |
| | 3335 | fill-color: green#b1e0c2; |
| | 3336 | width: 1; |
| | 3337 | } |
| | 3338 | area[landuse=salt_pond] { |
| | 3339 | fill-color: salt_pond#eeeeee; |
| | 3340 | } |
| | 3341 | area[landuse=aquaculture] { |
| | 3342 | fill-color: aquaculture#189dff; |
| | 3343 | width: 1; |
| | 3344 | } |
| | 3345 | area[landuse=grass]{ |
| | 3346 | fill-color: grass#97ca96; |
| | 3347 | } |
| | 3348 | area[landuse=residential] { |
| | 3349 | fill-color: residential#c4bd19; |
| | 3350 | width: 1; |
| | 3351 | } |
| | 3352 | area[landuse=garages] { |
| | 3353 | fill-color: garages#d6c8aa; |
| | 3354 | width: 1; |
| | 3355 | } |
| | 3356 | area[landuse=farmyard] { |
| | 3357 | fill-color: farmyard#f0f0f0; |
| | 3358 | width: 1; |
| | 3359 | } |
| | 3360 | area[landuse=retail], |
| | 3361 | area[landuse=commercial] { |
| | 3362 | fill-color: retail#ffc4ee; |
| | 3363 | width: 1; |
| | 3364 | } |
| | 3365 | area[landuse=industrial] { |
| | 3366 | fill-color: industrial#ecd8ff; |
| | 3367 | width: 1; |
| | 3368 | } |
| | 3369 | area[landuse=brownfield] { |
| | 3370 | fill-color: brownfield#ecba32; |
| | 3371 | width: 1; |
| | 3372 | } |
| | 3373 | area[landuse=greenfield] { |
| | 3374 | fill-color: greenfield#b1ec5c; |
| | 3375 | width: 1; |
| | 3376 | } |
| | 3377 | area[landuse=railway] { |
| | 3378 | fill-color: railland#888888; |
| | 3379 | width: 1; |
| | 3380 | } |
| | 3381 | area[landuse=construction] { |
| | 3382 | fill-color: construction#ffff00; |
| | 3383 | width: 1; |
| | 3384 | } |
| | 3385 | way[landuse=construction] { |
| | 3386 | width: 1; |
| | 3387 | color: construction#ffff00; |
| | 3388 | dashes: 9,9; |
| | 3389 | } |
| | 3390 | area[landuse=military] { |
| | 3391 | fill-color: military#b62c2c; |
| | 3392 | } |
| | 3393 | area[landuse=religious] { |
| | 3394 | fill-color: religious#ffd454; |
| | 3395 | width: 1; |
| | 3396 | } |
| | 3397 | area[landuse=cemetery] { |
| | 3398 | fill-color: cemetery#b1efc8; |
| | 3399 | width: 1; |
| | 3400 | } |
| | 3401 | area[landuse=village_green] { |
| | 3402 | fill-color: green#b1e0c2; |
| | 3403 | width: 1; |
| | 3404 | } |
| | 3405 | area[landuse=recreation_ground] { |
| | 3406 | fill-color: green#b1e0c2; |
| | 3407 | width: 1; |
| | 3408 | } |
| | 3409 | node[landuse] { |
| | 3410 | icon-image: "presets/misc/deprecated.svg"; |
| | 3411 | set icon_z17; |
| | 3412 | } |
| | 3413 | |
| | 3414 | /*****************/ |
| | 3415 | /* military tags */ |
| | 3416 | /*****************/ |
| | 3417 | |
| | 3418 | area[military=airfield], |
| | 3419 | area[military=bunker], |
| | 3420 | area[military=barracks], |
| | 3421 | area[military=danger_area], |
| | 3422 | area[military=range] { |
| | 3423 | fill-color: military#b62c2c; |
| | 3424 | } |
| | 3425 | node[military=airfield] { |
| | 3426 | icon-image: "presets/transport/airport/airfield.svg"; |
| | 3427 | set icon_z17; |
| | 3428 | } |
| | 3429 | node[military=bunker] { |
| | 3430 | icon-image: "presets/landmark/bunker.svg"; |
| | 3431 | set icon_z17; |
| | 3432 | } |
| | 3433 | node[military=barracks][!is_prop_set(icon-image)] { |
| | 3434 | icon-image: "presets/misc/no_icon.svg"; |
| | 3435 | set icon_z17; |
| | 3436 | } |
| | 3437 | node[military=danger_area] { |
| | 3438 | icon-image: "presets/misc/danger.svg"; |
| | 3439 | set icon_z17; |
| | 3440 | } |
| | 3441 | node[military=range] { |
| | 3442 | icon-image: "presets/sport/range.svg"; |
| | 3443 | set icon_z17; |
| | 3444 | } |
| | 3445 | |
| | 3446 | /****************/ |
| | 3447 | /* railway tags */ |
| | 3448 | /****************/ |
| | 3449 | |
| | 3450 | area[railway=station] { |
| | 3451 | fill-color: railwaypoint#f7efb7; |
| | 3452 | } |
| | 3453 | node[railway=station] { |
| | 3454 | icon-image: "presets/transport/railway_station.svg"; |
| | 3455 | set icon_z17; |
| | 3456 | } |
| | 3457 | node[railway=halt] { |
| | 3458 | icon-image: "presets/transport/railway_halt.svg"; |
| | 3459 | set icon_z17; |
| | 3460 | } |
| | 3461 | node[railway=tram_stop] { |
| | 3462 | icon-image: "presets/transport/tram.svg"; |
| | 3463 | set icon_z17; |
| | 3464 | } |
| | 3465 | node[railway=subway_entrance] { |
| | 3466 | icon-image: "presets/transport/underground.svg"; |
| | 3467 | set icon_z17; |
| | 3468 | } |
| | 3469 | node[railway=crossing] { |
| | 3470 | icon-image: "presets/transport/railway/crossing.svg"; |
| | 3471 | set icon_z17; |
| | 3472 | } |
| | 3473 | node[railway=level_crossing] { |
| | 3474 | icon-image: "presets/transport/railway/level_crossing.svg"; |
| | 3475 | set icon_z17; |
| | 3476 | } |
| | 3477 | way[railway=rail] { |
| | 3478 | width: 2; |
| | 3479 | color: rail#ffffff; |
| | 3480 | dashes: 12,12; |
| | 3481 | casing-color: raildashed#555555; |
| | 3482 | casing-width: 2; |
| | 3483 | } |
| | 3484 | |
| | 3485 | /* draw tram on top of other way (highway=*) or |
| | 3486 | as a standalone style */ |
| | 3487 | way[highway][railway=tram]::core_railway, |
| | 3488 | way[!highway][railway=tram] { |
| | 3489 | object-z-index: 1; |
| | 3490 | modifier: false; /* don't draw default way if there is no line on default layer */ |
| | 3491 | width: 2; |
| | 3492 | color: rail#ffffff; |
| | 3493 | dashes: 12,12; |
| | 3494 | casing-color: raildashed#555555; |
| | 3495 | casing-width: 2; |
| | 3496 | } |
| | 3497 | way[railway=light_rail] { |
| | 3498 | width: 2; |
| | 3499 | color: rail#ffffff; |
| | 3500 | dashes: 12,12; |
| | 3501 | casing-color: raildashed#555555; |
| | 3502 | casing-width: 2; |
| | 3503 | } |
| | 3504 | way[railway=subway] { |
| | 3505 | width: 2; |
| | 3506 | color: rail#ffffff; |
| | 3507 | dashes: 12,12; |
| | 3508 | casing-color: raildashed#000000; |
| | 3509 | casing-width: 2; |
| | 3510 | } |
| | 3511 | way[railway=preserved] { |
| | 3512 | width: 1; |
| | 3513 | color: oldrail#404040; |
| | 3514 | dashes: 9,9; |
| | 3515 | } |
| | 3516 | way[railway=light_rail][service=crossover], |
| | 3517 | way[railway=light_rail][service=siding], |
| | 3518 | way[railway=light_rail][service=yard], |
| | 3519 | way[railway=light_rail][service=spur], |
| | 3520 | way[railway=subway][service=crossover], |
| | 3521 | way[railway=subway][service=siding], |
| | 3522 | way[railway=subway][service=yard], |
| | 3523 | way[railway=subway][service=spur], |
| | 3524 | way[railway=preserved][service=crossover], |
| | 3525 | way[railway=preserved][service=siding], |
| | 3526 | way[railway=preserved][service=yard], |
| | 3527 | way[railway=preserved][service=spur] { |
| | 3528 | dashes: 6,6; |
| | 3529 | } |
| | 3530 | /* disused often appears together with highway=xy */ |
| | 3531 | /* -> draw on separate layer with higher z-index, but use */ |
| | 3532 | /* modifier: false; to suppress default line when used alone. */ |
| | 3533 | /* use default layer when used without highway=* to display bridge correctly */ |
| | 3534 | way[railway=disused][highway]::core_railway, |
| | 3535 | way[railway=disused][!highway], |
| | 3536 | way[railway=abandoned][highway]::core_railway, |
| | 3537 | way[railway=abandoned][!highway] { |
| | 3538 | width: 1; |
| | 3539 | modifier: false; |
| | 3540 | z-index: 1; |
| | 3541 | color: oldrail#404040; |
| | 3542 | dashes: 9,9; |
| | 3543 | } |
| | 3544 | way[railway=narrow_gauge], |
| | 3545 | way[railway=monorail] { |
| | 3546 | width: 1; |
| | 3547 | color: rail#404040; |
| | 3548 | dashes: 9,9; |
| | 3549 | } |
| | 3550 | way[railway=narrow_gauge][service=crossover], |
| | 3551 | way[railway=narrow_gauge][service=siding], |
| | 3552 | way[railway=narrow_gauge][service=yard], |
| | 3553 | way[railway=narrow_gauge][service=spur], |
| | 3554 | way[railway=monorail][service=crossover], |
| | 3555 | way[railway=monorail][service=siding], |
| | 3556 | way[railway=monorail][service=yard], |
| | 3557 | way[railway=monorail][service=spur] { |
| | 3558 | dashes: 6,6; |
| | 3559 | } |
| | 3560 | area[railway=turntable] { |
| | 3561 | fill-color: rail#404040; |
| | 3562 | } |
| | 3563 | node[railway=turntable] { |
| | 3564 | icon-image: "presets/transport/railway/turntable.svg"; |
| | 3565 | set icon_z17; |
| | 3566 | } |
| | 3567 | node[railway=buffer_stop] { |
| | 3568 | icon-image: "presets/transport/railway/buffer_stop.svg"; |
| | 3569 | set icon_z17; |
| | 3570 | } |
| | 3571 | area[railway=platform]:closed { |
| | 3572 | fill-color: rail#404040; |
| | 3573 | } |
| | 3574 | way[railway=platform] { |
| | 3575 | width: 2; |
| | 3576 | color: rail#404040; |
| | 3577 | } |
| | 3578 | way[railway=funicular] { |
| | 3579 | width: 1; |
| | 3580 | color: rail#404040; |
| | 3581 | dashes: 9,9; |
| | 3582 | } |
| | 3583 | node[railway=switch] { |
| | 3584 | icon-image: "presets/transport/railway/switch.svg"; |
| | 3585 | set icon_z17; |
| | 3586 | } |
| | 3587 | node[railway=signal] { |
| | 3588 | icon-image: "presets/transport/railway/signal.svg"; |
| | 3589 | set icon_z17; |
| | 3590 | } |
| | 3591 | node[railway=milestone] { |
| | 3592 | icon-image: "presets/transport/railway/milestone.svg"; |
| | 3593 | set icon_z17; |
| | 3594 | } |
| | 3595 | node[railway=rail], node[railway=tram], node[railway=light_rail], |
| | 3596 | node[railway=subway], node[railway=preserved], |
| | 3597 | node[railway=disused], node[railway=abandoned], |
| | 3598 | node[railway=narrow_gauge], node[railway=monorail], |
| | 3599 | node[railway=platform], node[railway=funicular], |
| | 3600 | node[service=yard], node[service=siding], node[service=spur] { |
| | 3601 | icon-image: "presets/misc/deprecated.svg"; |
| | 3602 | set icon_z17; |
| | 3603 | } |
| | 3604 | way[railway=construction][!highway] { |
| | 3605 | width: 1; |
| | 3606 | color: construction#ffff00; |
| | 3607 | dashes: 9,9; |
| | 3608 | } |
| | 3609 | way[railway=construction][construction=rail] { |
| | 3610 | width: 2; |
| | 3611 | color: rail#404040; |
| | 3612 | dashes: 9,9; |
| | 3613 | dashes-background-color: construction#ffff00; |
| | 3614 | } |
| | 3615 | way[railway=construction][construction=light_rail] { |
| | 3616 | width: 2; |
| | 3617 | } |
| | 3618 | way[railway=construction][construction=tram][highway]::core_railway, |
| | 3619 | way[railway=construction][construction=tram][!highway] { |
| | 3620 | z-index: 1; |
| | 3621 | width: 1; |
| | 3622 | color: railover#202020; |
| | 3623 | dashes: 9,9; |
| | 3624 | casing-width: 1; |
| | 3625 | casing-color: construction#ffff00; |
| | 3626 | casing-linecap: round; |
| | 3627 | casing-dashes: 9,9; |
| | 3628 | } |
| | 3629 | |
| | 3630 | /****************/ |
| | 3631 | /* aeroway tags */ |
| | 3632 | /****************/ |
| | 3633 | |
| | 3634 | area[aeroway=aerodrome] { |
| | 3635 | fill-color: aeroway#660000; |
| | 3636 | width: 2; |
| | 3637 | dashes: 9,9; |
| | 3638 | } |
| | 3639 | node[aeroway=aerodrome][military!=airfield] { |
| | 3640 | icon-image: "presets/transport/airport.svg"; |
| | 3641 | set icon_z17; |
| | 3642 | } |
| | 3643 | area[aeroway=terminal] { |
| | 3644 | fill-color: terminal#bb0000; |
| | 3645 | } |
| | 3646 | node[aeroway=terminal] { |
| | 3647 | icon-image: "presets/transport/airport/terminal.svg"; |
| | 3648 | set icon_z17; |
| | 3649 | } |
| | 3650 | area[aeroway=helipad] { |
| | 3651 | fill-color: aeroway_dark#330000; |
| | 3652 | } |
| | 3653 | node[aeroway=helipad] { |
| | 3654 | icon-image: "presets/transport/airport/helipad.svg"; |
| | 3655 | set icon_z17; |
| | 3656 | } |
| | 3657 | area[aeroway=runway]:closed { |
| | 3658 | fill-color: aeroway_dark#330000; |
| | 3659 | } |
| | 3660 | way[aeroway=runway] { |
| | 3661 | width: 3; |
| | 3662 | color: aeroway_dark#330000; |
| | 3663 | } |
| | 3664 | area[aeroway=taxiway]:closed { |
| | 3665 | fill-color: aeroway#660000; |
| | 3666 | } |
| | 3667 | way[aeroway=taxiway] { |
| | 3668 | width: 2; |
| | 3669 | color: aeroway#660000; |
| | 3670 | } |
| | 3671 | way[aeroway=parking_position] { |
| | 3672 | width: 1; |
| | 3673 | color: aeroway#660000; |
| | 3674 | } |
| | 3675 | node[aeroway=parking_position] { |
| | 3676 | icon-image: "presets/transport/airport/parking_position.svg"; |
| | 3677 | set icon_z17; |
| | 3678 | } |
| | 3679 | area[aeroway=apron], |
| | 3680 | area[aeroway=hangar] { |
| | 3681 | fill-color: aeroway_light#990000; |
| | 3682 | } |
| | 3683 | node[aeroway=apron], |
| | 3684 | node[aeroway=runway], |
| | 3685 | node[aeroway=taxiway] { |
| | 3686 | icon-image: "presets/misc/deprecated.svg"; |
| | 3687 | set icon_z17; |
| | 3688 | } |
| | 3689 | node[aeroway=holding_position] { |
| | 3690 | icon-image: "presets/transport/airport/holding_position.svg"; |
| | 3691 | set icon_z17; |
| | 3692 | } |
| | 3693 | node[aeroway=hangar] { |
| | 3694 | icon-image: "presets/transport/airport/hangar.svg"; |
| | 3695 | set icon_z17; |
| | 3696 | } |
| | 3697 | node[aeroway=gate] { |
| | 3698 | icon-image: "presets/transport/airport/gate.svg"; |
| | 3699 | set icon_z17; |
| | 3700 | } |
| | 3701 | node[airmark=beacon] { |
| | 3702 | icon-image: "presets/transport/airport/airmark_beacon.svg"; |
| | 3703 | set icon_z17; |
| | 3704 | } |
| | 3705 | node[aeroway=navigationaid] { |
| | 3706 | icon-image: "presets/transport/airport/navigationaid.svg"; |
| | 3707 | set icon_z17; |
| | 3708 | } |
| | 3709 | node[aeroway=windsock] { |
| | 3710 | icon-image: "presets/transport/airport/windsock.svg"; |
| | 3711 | set icon_z17; |
| | 3712 | } |
| | 3713 | |
| | 3714 | /******************/ |
| | 3715 | /* aerialway tags */ |
| | 3716 | /******************/ |
| | 3717 | |
| | 3718 | way[aerialway=cable_car], |
| | 3719 | way[aerialway=gondola] { |
| | 3720 | width: 1; |
| | 3721 | color: aerialway#663300; |
| | 3722 | dashes: 9,9; |
| | 3723 | } |
| | 3724 | way[aerialway=chair_lift] { |
| | 3725 | width: 1; |
| | 3726 | color: aerialway#663300; |
| | 3727 | dashes: 6,6; |
| | 3728 | } |
| | 3729 | way[aerialway=mixed_lift] { |
| | 3730 | width: 1; |
| | 3731 | color: aerialway#663300; |
| | 3732 | dashes: 6,6,9,6; |
| | 3733 | } |
| | 3734 | way[aerialway=j-bar], |
| | 3735 | way[aerialway=t-bar], |
| | 3736 | way[aerialway=platter], |
| | 3737 | way[aerialway=rope_tow], |
| | 3738 | way[aerialway=drag_lift] { |
| | 3739 | width: 1; |
| | 3740 | color: aerialway#663300; |
| | 3741 | dashes: 3,3; |
| | 3742 | } |
| | 3743 | way[aerialway=magic_carpet] { |
| | 3744 | width: 1; |
| | 3745 | color: aerialway#663300; |
| | 3746 | dashes: 3,3; |
| | 3747 | } |
| | 3748 | way[aerialway=goods] { |
| | 3749 | width: 1; |
| | 3750 | color: aerialway#663300; |
| | 3751 | dashes: 2,2; |
| | 3752 | } |
| | 3753 | area[aerialway=station] { |
| | 3754 | fill-color: aerialway#663300; |
| | 3755 | } |
| | 3756 | node[aerialway=station] { |
| | 3757 | icon-image: "presets/transport/aerialway/station.svg"; |
| | 3758 | set icon_z17; |
| | 3759 | } |
| | 3760 | node[aerialway=pylon] { |
| | 3761 | icon-image: "presets/transport/aerialway/pylon.svg"; |
| | 3762 | set icon_z17; |
| | 3763 | } |
| | 3764 | node[aerialway=cable_car], |
| | 3765 | node[aerialway=gondola], |
| | 3766 | node[aerialway=chair_lift], |
| | 3767 | node[aerialway=mixed_lift], |
| | 3768 | node[aerialway=drag_lift], |
| | 3769 | node[aerialway=t-bar], |
| | 3770 | node[aerialway=j-bar], |
| | 3771 | node[aerialway=platter], |
| | 3772 | node[aerialway=magic_carpet], |
| | 3773 | node[aerialway=rope_tow], |
| | 3774 | node[aerialway=goods] { |
| | 3775 | icon-image: "presets/misc/deprecated.svg"; |
| | 3776 | set icon_z17; |
| | 3777 | } |
| | 3778 | |
| | 3779 | /*************************/ |
| | 3780 | /* public_transport tags */ |
| | 3781 | /*************************/ |
| | 3782 | |
| | 3783 | node[highway=bus_stop] { |
| | 3784 | icon-image: "presets/transport/bus_small.svg"; |
| | 3785 | set icon_z17; |
| | 3786 | } |
| | 3787 | node[public_transport=stop_position] { |
| | 3788 | icon-image: "presets/transport/stop_position.svg"; |
| | 3789 | set icon_z17; |
| | 3790 | } |
| | 3791 | node[public_transport=stop_position][share_taxi=yes] { |
| | 3792 | icon-image: "presets/transport/share_taxi.svg"; |
| | 3793 | set icon_z17; |
| | 3794 | } |
| | 3795 | node[public_transport=stop_position][bus=yes] { |
| | 3796 | icon-image: "presets/transport/bus.svg"; |
| | 3797 | set icon_z17; |
| | 3798 | } |
| | 3799 | node[public_transport=stop_position][train=yes] { |
| | 3800 | icon-image: "presets/transport/train.svg"; |
| | 3801 | set icon_z17; |
| | 3802 | } |
| | 3803 | node[public_transport=stop_position][light_rail=yes] { |
| | 3804 | icon-image: "presets/transport/railway/light_rail.svg"; |
| | 3805 | set icon_z17; |
| | 3806 | } |
| | 3807 | node[public_transport=stop_position][tram=yes] { |
| | 3808 | icon-image: "presets/transport/railway/tram.svg"; |
| | 3809 | set icon_z17; |
| | 3810 | } |
| | 3811 | node[public_transport=stop_position][subway=yes] { |
| | 3812 | icon-image: "presets/transport/railway/subway.svg"; |
| | 3813 | set icon_z17; |
| | 3814 | } |
| | 3815 | node[public_transport=stop_position][monorail=yes] { |
| | 3816 | icon-image: "presets/transport/railway/monorail.svg"; |
| | 3817 | set icon_z17; |
| | 3818 | } |
| | 3819 | node[public_transport=stop_position][trolleybus=yes] { |
| | 3820 | icon-image: "presets/transport/trolleybus.svg"; |
| | 3821 | set icon_z17; |
| | 3822 | } |
| | 3823 | node[public_transport=stop_position][funicular=yes] { |
| | 3824 | icon-image: "presets/transport/railway/funicular.svg"; |
| | 3825 | set icon_z17; |
| | 3826 | } |
| | 3827 | node[public_transport=stop_position][aerialway=yes] { |
| | 3828 | icon-image: "presets/transport/aerialway/station.svg"; |
| | 3829 | set icon_z17; |
| | 3830 | } |
| | 3831 | node[public_transport=stop_position][ferry=yes] { |
| | 3832 | icon-image: "presets/nautical/ferry.svg"; |
| | 3833 | set icon_z17; |
| | 3834 | } |
| | 3835 | area[public_transport=platform]:closed { |
| | 3836 | fill-color: service#809bc0; |
| | 3837 | } |
| | 3838 | way[public_transport=platform]!:closed { |
| | 3839 | width: 3; |
| | 3840 | color: service#809bc0; |
| | 3841 | dashes: 12,3; |
| | 3842 | } |
| | 3843 | node[public_transport=platform] { |
| | 3844 | icon-image: "presets/transport/platform.svg"; |
| | 3845 | set icon_z17; |
| | 3846 | } |
| | 3847 | area[public_transport=station] { |
| | 3848 | fill-color: railwaypoint#f7efb7; |
| | 3849 | } |
| | 3850 | node[public_transport=station] { |
| | 3851 | icon-image: "presets/transport/station.svg"; |
| | 3852 | set icon_z17; |
| | 3853 | } |
| | 3854 | |
| | 3855 | /**************/ |
| | 3856 | /* sport tags */ |
| | 3857 | /**************/ |
| | 3858 | |
| | 3859 | area[sport="9pin"], |
| | 3860 | area[sport="10pin"], |
| | 3861 | area[sport=soccer], |
| | 3862 | area[sport=australian_football], |
| | 3863 | area[sport=american_football], |
| | 3864 | area[sport=canadian_football], |
| | 3865 | area[sport=gaelic_games], |
| | 3866 | area[sport=rugby_league], |
| | 3867 | area[sport=rugby_union] { |
| | 3868 | fill-color: sport#bde3cb; |
| | 3869 | } |
| | 3870 | node[sport="9pin"] { |
| | 3871 | icon-image: "presets/sport/9pin.svg"; |
| | 3872 | set icon_z17; |
| | 3873 | } |
| | 3874 | node[sport="10pin"] { |
| | 3875 | icon-image: "presets/sport/10pin.svg"; |
| | 3876 | set icon_z17; |
| | 3877 | } |
| | 3878 | node[sport=soccer], |
| | 3879 | node[sport=gaelic_games] { |
| | 3880 | icon-image: "presets/sport/soccer.svg"; |
| | 3881 | set icon_z17; |
| | 3882 | } |
| | 3883 | node[sport=australian_football], |
| | 3884 | node[sport=american_football], |
| | 3885 | node[sport=canadian_football], |
| | 3886 | node[sport=rugby_league], |
| | 3887 | node[sport=rugby_union] { |
| | 3888 | icon-image: "presets/sport/football.svg"; |
| | 3889 | set icon_z17; |
| | 3890 | } |
| | 3891 | area[sport=baseball], |
| | 3892 | area[sport=basketball], |
| | 3893 | area[sport=boules], |
| | 3894 | area[sport=bowls], |
| | 3895 | area[sport=canoe], |
| | 3896 | area[sport=chess], |
| | 3897 | area[sport=climbing]:closed, |
| | 3898 | area[sport=cricket], |
| | 3899 | area[sport=croquet] { |
| | 3900 | fill-color: sport#bde3cb; |
| | 3901 | } |
| | 3902 | node[sport=baseball] { |
| | 3903 | icon-image: "presets/sport/baseball.svg"; |
| | 3904 | set icon_z17; |
| | 3905 | } |
| | 3906 | node[sport=basketball] { |
| | 3907 | icon-image: "presets/sport/basketball.svg"; |
| | 3908 | set icon_z17; |
| | 3909 | } |
| | 3910 | node[sport=boules] { |
| | 3911 | icon-image: "presets/sport/boule.svg"; |
| | 3912 | set icon_z17; |
| | 3913 | } |
| | 3914 | node[sport=bowls] { |
| | 3915 | icon-image: "presets/sport/boule.svg"; |
| | 3916 | set icon_z17; |
| | 3917 | } |
| | 3918 | node[sport=canoe] { |
| | 3919 | icon-image: "presets/sport/canoe.svg"; |
| | 3920 | set icon_z17; |
| | 3921 | } |
| | 3922 | node[sport=chess] { |
| | 3923 | icon-image: "presets/sport/chess.svg"; |
| | 3924 | set icon_z17; |
| | 3925 | } |
| | 3926 | node[sport=climbing] { |
| | 3927 | icon-image: "presets/sport/climbing.svg"; |
| | 3928 | set icon_z17; |
| | 3929 | } |
| | 3930 | node[sport=cricket] { |
| | 3931 | icon-image: "presets/sport/cricket.svg"; |
| | 3932 | set icon_z17; |
| | 3933 | } |
| | 3934 | node[sport=croquet] { |
| | 3935 | icon-image: "presets/sport/croquet.svg"; |
| | 3936 | set icon_z17; |
| | 3937 | } |
| | 3938 | area[sport=cycling], |
| | 3939 | area[sport=dog_racing], |
| | 3940 | area[sport=equestrian], |
| | 3941 | area[sport=golf], |
| | 3942 | area[sport=gymnastics], |
| | 3943 | area[sport=field_hockey], |
| | 3944 | area[sport=ice_hockey], |
| | 3945 | area[sport=horse_racing], |
| | 3946 | area[sport=karting][highway!=raceway], |
| | 3947 | area[sport=karting][highway=raceway][area=yes], |
| | 3948 | area[sport=motocross][highway!=raceway], |
| | 3949 | area[sport=motocross][highway=raceway][area=yes], |
| | 3950 | area[sport=motor][highway!=raceway], |
| | 3951 | area[sport=motor][highway=raceway][area=yes] { |
| | 3952 | fill-color: sport#bde3cb; |
| | 3953 | } |
| | 3954 | node[sport=cycling] { |
| | 3955 | icon-image: "presets/sport/cycling.svg"; |
| | 3956 | set icon_z17; |
| | 3957 | } |
| | 3958 | node[sport=dog_racing] { |
| | 3959 | icon-image: "presets/sport/dog_racing.svg"; |
| | 3960 | set icon_z17; |
| | 3961 | } |
| | 3962 | node[sport=equestrian] { |
| | 3963 | icon-image: "presets/sport/equestrian.svg"; |
| | 3964 | set icon_z17; |
| | 3965 | } |
| | 3966 | node[sport=golf] { |
| | 3967 | icon-image: "presets/sport/golf.svg"; |
| | 3968 | set icon_z17; |
| | 3969 | } |
| | 3970 | node[sport=gymnastics] { |
| | 3971 | icon-image: "presets/sport/gymnastics.svg"; |
| | 3972 | set icon_z17; |
| | 3973 | } |
| | 3974 | node[sport=field_hockey] { |
| | 3975 | icon-image: "presets/sport/field_hockey.svg"; |
| | 3976 | set icon_z17; |
| | 3977 | } |
| | 3978 | node[sport=ice_hockey] { |
| | 3979 | icon-image: "presets/sport/ice_hockey.svg"; |
| | 3980 | set icon_z17; |
| | 3981 | } |
| | 3982 | node[sport=horse_racing] { |
| | 3983 | icon-image: "presets/sport/riding.svg"; |
| | 3984 | set icon_z17; |
| | 3985 | } |
| | 3986 | node[sport=karting] { |
| | 3987 | icon-image: "presets/sport/karting.svg"; |
| | 3988 | set icon_z17; |
| | 3989 | } |
| | 3990 | node[sport=motocross] { |
| | 3991 | icon-image: "presets/sport/motocross.svg"; |
| | 3992 | set icon_z17; |
| | 3993 | } |
| | 3994 | node[sport=motor] { |
| | 3995 | icon-image: "presets/sport/motor.svg"; |
| | 3996 | set icon_z17; |
| | 3997 | } |
| | 3998 | area[sport=athletics] { |
| | 3999 | fill-color: sport_athletics#cfebd7; |
| | 4000 | } |
| | 4001 | node[sport=athletics] { |
| | 4002 | icon-image: "presets/sport/athletics.svg"; |
| | 4003 | set icon_z17; |
| | 4004 | } |
| | 4005 | area[sport=running] { |
| | 4006 | fill-color: sport_running#cfebd8; |
| | 4007 | } |
| | 4008 | node[sport=running] { |
| | 4009 | icon-image: "presets/sport/running.svg"; |
| | 4010 | set icon_z17; |
| | 4011 | } |
| | 4012 | area[sport=multi] { |
| | 4013 | fill-color: sport_multi#cfebd9; |
| | 4014 | } |
| | 4015 | node[sport=multi] { |
| | 4016 | icon-image: "presets/sport/multi.svg"; |
| | 4017 | set icon_z17; |
| | 4018 | } |
| | 4019 | area[sport=pelota], |
| | 4020 | area[sport=racquet], |
| | 4021 | area[sport=ice_skating], |
| | 4022 | area[sport=roller_skating], |
| | 4023 | area[sport=skateboard] { |
| | 4024 | fill-color: sport#bde3cb; |
| | 4025 | } |
| | 4026 | node[sport=pelota] { |
| | 4027 | icon-image: "presets/sport/pelota.svg"; |
| | 4028 | set icon_z17; |
| | 4029 | } |
| | 4030 | node[sport=racquet] { |
| | 4031 | icon-image: "presets/sport/racquetball.svg"; |
| | 4032 | set icon_z17; |
| | 4033 | } |
| | 4034 | node[sport=ice_skating] { |
| | 4035 | icon-image: "presets/sport/ice_skating.svg"; |
| | 4036 | set icon_z17; |
| | 4037 | } |
| | 4038 | node[sport=roller_skating] { |
| | 4039 | icon-image: "presets/sport/roller_skating.svg"; |
| | 4040 | set icon_z17; |
| | 4041 | } |
| | 4042 | node[sport=skating] { |
| | 4043 | icon-image: "presets/misc/deprecated.svg"; |
| | 4044 | set icon_z17; |
| | 4045 | } |
| | 4046 | node[sport=skateboard] { |
| | 4047 | icon-image: "presets/sport/skateboard.svg"; |
| | 4048 | set icon_z17; |
| | 4049 | } |
| | 4050 | area[sport=swimming] { |
| | 4051 | fill-color: swimming_pool#51c4ef; |
| | 4052 | } |
| | 4053 | node[sport=swimming] { |
| | 4054 | icon-image: "presets/sport/swimming.svg"; |
| | 4055 | set icon_z17; |
| | 4056 | } |
| | 4057 | area[sport=table_tennis], |
| | 4058 | area[sport=tennis], |
| | 4059 | area[sport=paintball] { |
| | 4060 | fill-color: sport#bde3cb; |
| | 4061 | } |
| | 4062 | node[sport=table_tennis] { |
| | 4063 | icon-image: "presets/sport/table_tennis.svg"; |
| | 4064 | set icon_z17; |
| | 4065 | } |
| | 4066 | node[sport=tennis] { |
| | 4067 | icon-image: "presets/sport/tennis.svg"; |
| | 4068 | set icon_z17; |
| | 4069 | } |
| | 4070 | node[sport=paintball][!is_prop_set(icon-image)] { |
| | 4071 | icon-image: "presets/misc/no_icon.svg"; |
| | 4072 | set icon_z17; |
| | 4073 | } |
| | 4074 | area[sport=squash], |
| | 4075 | area[sport=shooting], |
| | 4076 | area[sport=volleyball], |
| | 4077 | area[sport=beachvolleyball], |
| | 4078 | area[sport=billiards], |
| | 4079 | area[sport=bowling], |
| | 4080 | area[sport=handball], |
| | 4081 | area[sport=rowing], |
| | 4082 | area[sport=sailing], |
| | 4083 | area[sport=scuba_diving], |
| | 4084 | area[sport=badminton] { |
| | 4085 | fill-color: sport#bde3cb; |
| | 4086 | } |
| | 4087 | node[sport=squash][!is_prop_set(icon-image)] { |
| | 4088 | icon-image: "presets/misc/no_icon.svg"; |
| | 4089 | set icon_z17; |
| | 4090 | } |
| | 4091 | node[sport=shooting] { |
| | 4092 | icon-image: "presets/sport/range.svg"; |
| | 4093 | set icon_z17; |
| | 4094 | } |
| | 4095 | node[sport=volleyball] { |
| | 4096 | icon-image: "presets/sport/volleyball.svg"; |
| | 4097 | set icon_z17; |
| | 4098 | } |
| | 4099 | node[sport=beachvolleyball] { |
| | 4100 | icon-image: "presets/sport/beachvolleyball.svg"; |
| | 4101 | set icon_z17; |
| | 4102 | } |
| | 4103 | node[sport=billiards] { |
| | 4104 | icon-image: "presets/sport/billiards.svg"; |
| | 4105 | set icon_z17; |
| | 4106 | } |
| | 4107 | node[sport=bowling] { |
| | 4108 | icon-image: "presets/sport/9pin.svg"; |
| | 4109 | set icon_z17; |
| | 4110 | } |
| | 4111 | node[sport=handball] { |
| | 4112 | icon-image: "presets/sport/handball.svg"; |
| | 4113 | set icon_z17; |
| | 4114 | } |
| | 4115 | node[sport=rowing] { |
| | 4116 | icon-image: "presets/sport/rowing.svg"; |
| | 4117 | set icon_z17; |
| | 4118 | } |
| | 4119 | node[sport=sailing][!is_prop_set(icon-image)] { |
| | 4120 | icon-image: "presets/misc/no_icon.svg"; |
| | 4121 | set icon_z17; |
| | 4122 | } |
| | 4123 | node[sport=scuba_diving] { |
| | 4124 | icon-image: "presets/sport/scuba_diving.svg"; |
| | 4125 | set icon_z17; |
| | 4126 | } |
| | 4127 | node[sport=badminton][!is_prop_set(icon-image)] { |
| | 4128 | icon-image: "presets/misc/no_icon.svg"; |
| | 4129 | set icon_z17; |
| | 4130 | } |
| | 4131 | area[sport=archery], |
| | 4132 | area[sport=fishing], |
| | 4133 | area[sport=model_aerodrome], |
| | 4134 | area[sport=rc_car] { |
| | 4135 | fill-color: sport#bde3cb; |
| | 4136 | } |
| | 4137 | node[sport=archery] { |
| | 4138 | icon-image: "presets/sport/archery.svg"; |
| | 4139 | set icon_z17; |
| | 4140 | } |
| | 4141 | node[sport=fishing] { |
| | 4142 | icon-image: "presets/sport/fishing.svg"; |
| | 4143 | set icon_z17; |
| | 4144 | } |
| | 4145 | node[sport=model_aerodrome] { |
| | 4146 | icon-image: "presets/transport/airport.svg"; |
| | 4147 | set icon_z17; |
| | 4148 | } |
| | 4149 | node[sport=rc_car] { |
| | 4150 | icon-image: "presets/sport/rc_car.svg"; |
| | 4151 | set icon_z17; |
| | 4152 | } |
| | 4153 | |
| | 4154 | /****************/ |
| | 4155 | /* natural tags */ |
| | 4156 | /****************/ |
| | 4157 | |
| | 4158 | area[natural=spring] { |
| | 4159 | fill-color: light_water#00005f; |
| | 4160 | } |
| | 4161 | node[natural=spring] { |
| | 4162 | icon-image: "presets/landmark/spring.svg"; |
| | 4163 | set icon_z17; |
| | 4164 | } |
| | 4165 | node[natural=saddle] { |
| | 4166 | icon-image: "presets/landmark/saddle.svg"; |
| | 4167 | set icon_z0; |
| | 4168 | set text_z0; |
| | 4169 | } |
| | 4170 | node[natural=peak] { |
| | 4171 | icon-image: "presets/landmark/peak.svg"; |
| | 4172 | set icon_z0; |
| | 4173 | set text_z0; |
| | 4174 | } |
| | 4175 | node[natural=peak][tourism=viewpoint] { |
| | 4176 | icon-image: "presets/sightseeing/peak_viewpoint.svg"; |
| | 4177 | set icon_z0; |
| | 4178 | set text_z0; |
| | 4179 | } |
| | 4180 | area[natural=glacier] { |
| | 4181 | fill-color: glacier#ffffff; |
| | 4182 | } |
| | 4183 | node[natural=volcano] { |
| | 4184 | icon-image: "presets/landmark/volcano.svg"; |
| | 4185 | set icon_z0; |
| | 4186 | set text_z0; |
| | 4187 | } |
| | 4188 | area[natural=cliff]:closed { |
| | 4189 | fill-color: natural#002f00; |
| | 4190 | } |
| | 4191 | way[natural=cliff] { |
| | 4192 | repeat-image: "presets/misc/cliff_pattern.svg"; |
| | 4193 | repeat-image-align: top; |
| | 4194 | width: 1; |
| | 4195 | color: #b2b2b2; |
| | 4196 | } |
| | 4197 | node[natural=cliff] { |
| | 4198 | icon-image: "presets/misc/cliff.svg"; |
| | 4199 | set icon_z17; |
| | 4200 | } |
| | 4201 | way[natural=ridge] { |
| | 4202 | width: 1; |
| | 4203 | color: natural#002f00; |
| | 4204 | } |
| | 4205 | way[natural=valley] { |
| | 4206 | width: 1; |
| | 4207 | color: natural#002f00; |
| | 4208 | } |
| | 4209 | area[natural=scree] { |
| | 4210 | fill-color: scree#c3c3c3; |
| | 4211 | } |
| | 4212 | area[natural=shingle] { |
| | 4213 | fill-color: shingle#c3c3c3; |
| | 4214 | } |
| | 4215 | area[natural=scrub] { |
| | 4216 | fill-color: scrub#007000; |
| | 4217 | } |
| | 4218 | area[natural=fell] { |
| | 4219 | fill-color: natural#002f00; |
| | 4220 | } |
| | 4221 | area[natural=heath] { |
| | 4222 | fill-color: heath#ffffc0; |
| | 4223 | } |
| | 4224 | way[natural=tree_row] { |
| | 4225 | width: 2; |
| | 4226 | color: woodarea#008000; |
| | 4227 | } |
| | 4228 | area[natural=wood] { |
| | 4229 | fill-color: woodarea#1c7a13; |
| | 4230 | } |
| | 4231 | area[natural=grassland] { |
| | 4232 | fill-color: green#b1e0c2; |
| | 4233 | } |
| | 4234 | area[natural=wetland] { |
| | 4235 | fill-color: marsh#4f4ff3; |
| | 4236 | } |
| | 4237 | area[natural=water] { |
| | 4238 | fill-color: water#0000ff; |
| | 4239 | } |
| | 4240 | area[natural=water][intermittent=yes] { |
| | 4241 | width: 2; |
| | 4242 | dashes: 15, 5; |
| | 4243 | } |
| | 4244 | way[natural=coastline] { |
| | 4245 | width: 2; |
| | 4246 | color: water#0000ff; |
| | 4247 | right-casing-color: water#0000ff; |
| | 4248 | right-casing-width: 8; |
| | 4249 | right-casing-opacity: 0.35; |
| | 4250 | } |
| | 4251 | area[natural=mud] { |
| | 4252 | fill-color: mud#cba762; |
| | 4253 | } |
| | 4254 | area[natural=beach] { |
| | 4255 | fill-color: beach#f8dba2; |
| | 4256 | } |
| | 4257 | area[natural=sand] { |
| | 4258 | fill-color: sand#f8dba2; |
| | 4259 | } |
| | 4260 | area[natural=bare_rock] { |
| | 4261 | fill-color: bare_rock#f8f8c7; |
| | 4262 | } |
| | 4263 | area[natural=rock] { |
| | 4264 | fill-color: stone#f8f8c7; |
| | 4265 | } |
| | 4266 | node[natural=rock] { |
| | 4267 | icon-image: "presets/misc/rock.svg"; |
| | 4268 | set icon_z17; |
| | 4269 | } |
| | 4270 | area[natural=stone] { |
| | 4271 | fill-color: stone#f8f8c7; |
| | 4272 | } |
| | 4273 | node[natural=stone] { |
| | 4274 | icon-image: "presets/misc/stone.svg"; |
| | 4275 | set icon_z17; |
| | 4276 | } |
| | 4277 | area[natural=bay], |
| | 4278 | area[natural=cape], |
| | 4279 | area[natural=cave_entrance] { |
| | 4280 | fill-color: natural#002f00; |
| | 4281 | } |
| | 4282 | node[natural=bay] { |
| | 4283 | icon-image: "presets/nautical/bay.svg"; |
| | 4284 | set icon_z17; |
| | 4285 | } |
| | 4286 | node[natural=cape] { |
| | 4287 | icon-image: "presets/nautical/cape.svg"; |
| | 4288 | set icon_z17; |
| | 4289 | } |
| | 4290 | area[natural=reef] { |
| | 4291 | fill-color: reef#80c9ff; |
| | 4292 | } |
| | 4293 | node[natural=reef] { |
| | 4294 | icon-image: "presets/landmark/reef.svg"; |
| | 4295 | set icon_z17; |
| | 4296 | } |
| | 4297 | node[natural=cave_entrance] { |
| | 4298 | icon-image: "presets/landmark/cave_entrance.svg"; |
| | 4299 | set icon_z17; |
| | 4300 | } |
| | 4301 | node[natural=tree] { |
| | 4302 | icon-image: "presets/landmark/trees.svg"; |
| | 4303 | set icon_z17; |
| | 4304 | } |
| | 4305 | node[natural=tree][type=conifer], |
| | 4306 | node[natural=tree][leaf_type=needleleaved] { |
| | 4307 | icon-image: "presets/landmark/trees_conifer.svg"; |
| | 4308 | set icon_z17; |
| | 4309 | } |
| | 4310 | node[natural=tree][type=broad_leaved], |
| | 4311 | node[natural=tree][leaf_type=broadleaved] { |
| | 4312 | icon-image: "presets/landmark/trees_broad_leaved.svg"; |
| | 4313 | set icon_z17; |
| | 4314 | } |
| | 4315 | node[natural=glacier], |
| | 4316 | node[natural=scree], |
| | 4317 | node[natural=shingle], |
| | 4318 | node[natural=scrub], |
| | 4319 | node[natural=fell], |
| | 4320 | node[natural=heath], |
| | 4321 | node[natural=tree_row], |
| | 4322 | node[natural=wood], |
| | 4323 | node[natural=grassland], |
| | 4324 | node[natural=wetland], |
| | 4325 | node[natural=water], |
| | 4326 | node[natural=coastline], |
| | 4327 | node[natural=mud], |
| | 4328 | node[natural=beach], |
| | 4329 | node[natural=sand], |
| | 4330 | node[natural=land], |
| | 4331 | node[natural=bare_rock], |
| | 4332 | node[natural=ridge], |
| | 4333 | node[natural=valley] { |
| | 4334 | icon-image: "presets/misc/deprecated.svg"; |
| | 4335 | set icon_z17; |
| | 4336 | } |
| | 4337 | /*****************/ |
| | 4338 | /* waterway tags */ |
| | 4339 | /*****************/ |
| | 4340 | |
| | 4341 | way|z15-[waterway=river][!tunnel] { |
| | 4342 | width: 7; |
| | 4343 | color: river#77d3de; |
| | 4344 | casing-width: 1; |
| | 4345 | casing-color: 3d6c71; |
| | 4346 | } |
| | 4347 | way|z-14[waterway=river][!tunnel] { |
| | 4348 | width: 4; |
| | 4349 | color: river#77d3de; |
| | 4350 | casing-width: 1; |
| | 4351 | casing-color: 3d6c71; |
| | 4352 | } |
| | 4353 | way|z15-[waterway=river][tunnel] { |
| | 4354 | width: 7; |
| | 4355 | color: river#618787; |
| | 4356 | casing-width: 1; |
| | 4357 | casing-color: 3d6c71; |
| | 4358 | } |
| | 4359 | way|z-14[waterway=river][tunnel] { |
| | 4360 | width: 4; |
| | 4361 | color: river#618787; |
| | 4362 | casing-width: 1; |
| | 4363 | casing-color: 3d6c71; |
| | 4364 | } |
| | 4365 | area[waterway=riverbank] { |
| | 4366 | fill-color: riverbanak#0000cf; |
| | 4367 | width: 1; |
| | 4368 | color: riverbank#0000cf; |
| | 4369 | } |
| | 4370 | way|z15-[waterway=pressurised], |
| | 4371 | way|z15-[waterway=canal] { |
| | 4372 | width: 7; |
| | 4373 | color: #77d3de; |
| | 4374 | casing-width: 1; |
| | 4375 | casing-color: 3d6c71; |
| | 4376 | } |
| | 4377 | way|z-14[waterway=pressurised], |
| | 4378 | way|z-14[waterway=canal] { |
| | 4379 | width: 4; |
| | 4380 | color: #77d3de; |
| | 4381 | casing-width: 1; |
| | 4382 | casing-color: 3d6c71; |
| | 4383 | } |
| | 4384 | way|z16-[waterway=pressurised] { |
| | 4385 | width: 4; |
| | 4386 | color: #77d3de; |
| | 4387 | casing-width: 1; |
| | 4388 | casing-color: 3d6c71; |
| | 4389 | } |
| | 4390 | way|z-14[waterway=pressurised] { |
| | 4391 | width: -2; |
| | 4392 | color: #77d3de; |
| | 4393 | casing-width: 1; |
| | 4394 | casing-color: 3d6c71; |
| | 4395 | } |
| | 4396 | way|z15-[waterway=stream][!tunnel] { |
| | 4397 | width: 4; |
| | 4398 | color: stream#77d3de; |
| | 4399 | casing-width: 1; |
| | 4400 | casing-color: 3d6c71; |
| | 4401 | } |
| | 4402 | way|z-14[waterway=stream][!tunnel] { |
| | 4403 | width: 2; |
| | 4404 | color: stream#77d3de; |
| | 4405 | casing-width: 1; |
| | 4406 | casing-color: 3d6c71; |
| | 4407 | } |
| | 4408 | way|z15-[waterway=stream][tunnel] { |
| | 4409 | width: 4; |
| | 4410 | color: stream#618787; |
| | 4411 | casing-width: 1; |
| | 4412 | casing-color: 3d6c71; |
| | 4413 | } |
| | 4414 | way|z-14[waterway=stream][tunnel] { |
| | 4415 | width: 2; |
| | 4416 | color: stream#618787; |
| | 4417 | casing-width: 1; |
| | 4418 | casing-color: 3d6c71; |
| | 4419 | } |
| | 4420 | way|z15-[waterway=ditch][!tunnel], |
| | 4421 | way|z15-[waterway=drain][!tunnel] { |
| | 4422 | width: 4; |
| | 4423 | color: water#8dabf3; |
| | 4424 | casing-width: 1; |
| | 4425 | casing-color: 3d6c71; |
| | 4426 | } |
| | 4427 | way|z-14[waterway=ditch][!tunnel], |
| | 4428 | way|z-14[waterway=drain][!tunnel] { |
| | 4429 | width: 2; |
| | 4430 | color: water#8dabf3; |
| | 4431 | casing-width: 1; |
| | 4432 | casing-color: 3d6c71; |
| | 4433 | } |
| | 4434 | way|z15-[waterway=ditch][tunnel], |
| | 4435 | way|z15-[waterway=drain][tunnel] { |
| | 4436 | width: 4; |
| | 4437 | color: water#618787; |
| | 4438 | casing-width: 1; |
| | 4439 | casing-color: 3d6c71; |
| | 4440 | } |
| | 4441 | way|z-14[waterway=ditch][tunnel], |
| | 4442 | way|z-14[waterway=drain][tunnel] { |
| | 4443 | width: 2; |
| | 4444 | color: water#618787; |
| | 4445 | casing-width: 1; |
| | 4446 | casing-color: 3d6c71; |
| | 4447 | } |
| | 4448 | way[waterway=river][intermittent=yes], |
| | 4449 | area[waterway=riverbank][intermittent=yes], |
| | 4450 | way[waterway=canal][intermittent=yes], |
| | 4451 | way[waterway=stream][intermittent=yes], |
| | 4452 | way[waterway=ditch][intermittent=yes], |
| | 4453 | way[waterway=drain][intermittent=yes] { |
| | 4454 | dashes: 7,3; |
| | 4455 | casing-dashes: 7,3; |
| | 4456 | } |
| | 4457 | area[waterway=dock] { |
| | 4458 | fill-color: dock#0000cf; |
| | 4459 | } |
| | 4460 | node[waterway=dock] { |
| | 4461 | icon-image: "presets/nautical/boatyard.svg"; |
| | 4462 | set icon_z17; |
| | 4463 | } |
| | 4464 | way[waterway=lock_gate] { |
| | 4465 | width: 3; |
| | 4466 | color: lock_gate#303030; |
| | 4467 | } |
| | 4468 | node[waterway=lock_gate] { |
| | 4469 | icon-image: "presets/nautical/lock_gate.svg"; |
| | 4470 | set icon_z17; |
| | 4471 | } |
| | 4472 | node[waterway=turning_point] { |
| | 4473 | icon-image: "presets/nautical/turning.svg"; |
| | 4474 | set icon_z17; |
| | 4475 | } |
| | 4476 | area[waterway=boatyard] { |
| | 4477 | fill-color: manmade#d8d8d8; |
| | 4478 | } |
| | 4479 | node[waterway=boatyard] { |
| | 4480 | icon-image: "presets/nautical/boatyard.svg"; |
| | 4481 | set icon_z17; |
| | 4482 | } |
| | 4483 | node[waterway=water_point], |
| | 4484 | node[waterway=waste_disposal], |
| | 4485 | node[waterway=mooring] { |
| | 4486 | icon-image: "presets/misc/deprecated.svg"; |
| | 4487 | set icon_z17; |
| | 4488 | } |
| | 4489 | node[mooring] { |
| | 4490 | icon-image: "presets/nautical/marina.svg"; |
| | 4491 | set icon_z17; |
| | 4492 | } |
| | 4493 | area[waterway=fuel] { |
| | 4494 | fill-color: amenity_traffic#f7efb7; |
| | 4495 | } |
| | 4496 | node[waterway=fuel] { |
| | 4497 | icon-image: "presets/nautical/marine_fuel.svg"; |
| | 4498 | set icon_z17; |
| | 4499 | } |
| | 4500 | way[waterway=weir] { |
| | 4501 | width: 2; |
| | 4502 | color: manmade#d8d8d8; |
| | 4503 | } |
| | 4504 | node[waterway=weir] { |
| | 4505 | icon-image: "presets/nautical/weir.svg"; |
| | 4506 | set icon_z17; |
| | 4507 | } |
| | 4508 | area[waterway=dam]:closed { |
| | 4509 | fill-color: manmade#d8d8d8; |
| | 4510 | } |
| | 4511 | way[waterway=dam] { |
| | 4512 | width: 2; |
| | 4513 | color: manmade#d8d8d8; |
| | 4514 | } |
| | 4515 | node[waterway=dam] { |
| | 4516 | icon-image: "presets/nautical/dam.svg"; |
| | 4517 | set icon_z17; |
| | 4518 | } |
| | 4519 | /* it's not possible to have both line and area, line seems more likely */ |
| | 4520 | way[waterway=waterfall] { |
| | 4521 | width: 2; |
| | 4522 | color: manmade#d8d8d8; |
| | 4523 | } |
| | 4524 | node[waterway=waterfall] { |
| | 4525 | icon-image: "presets/nautical/waterfall.svg"; |
| | 4526 | set icon_z17; |
| | 4527 | } |
| | 4528 | node[waterway=river], node[waterway=riverbank], |
| | 4529 | node[waterway=canal], node[waterway=wadi], |
| | 4530 | node[waterway=stream], |
| | 4531 | node[waterway=ditch], node[waterway=drain] { |
| | 4532 | icon-image: "presets/misc/deprecated.svg"; |
| | 4533 | set icon_z17; |
| | 4534 | } |
| | 4535 | |
| | 4536 | /**************/ |
| | 4537 | /* route tags */ |
| | 4538 | /**************/ |
| | 4539 | |
| | 4540 | way[route=ferry] { |
| | 4541 | width: 1; |
| | 4542 | color: ferry#809bc0; |
| | 4543 | dashes: 9,9; |
| | 4544 | } |
| | 4545 | node[route=bus], |
| | 4546 | node[route=ferry], |
| | 4547 | node[route=flight], |
| | 4548 | node[route=ncn], |
| | 4549 | node[route=subsea], |
| | 4550 | node[route=ski], |
| | 4551 | node[route=tour], |
| | 4552 | node[route=pub_crawl] { |
| | 4553 | icon-image: "presets/misc/deprecated.svg"; |
| | 4554 | set icon_z17; |
| | 4555 | } |
| | 4556 | |
| | 4557 | /*******************/ |
| | 4558 | /* properties tags */ |
| | 4559 | /*******************/ |
| | 4560 | |
| | 4561 | node[mountain_pass?] { |
| | 4562 | icon-image: "presets/landmark/mountain_pass.svg"; |
| | 4563 | set icon_z0; |
| | 4564 | set text_z0; |
| | 4565 | } |
| | 4566 | |
| | 4567 | /*****************/ |
| | 4568 | /* boundary tags */ |
| | 4569 | /*****************/ |
| | 4570 | |
| | 4571 | way[boundary=administrative]::core_boundary, |
| | 4572 | relation[boundary=administrative] > way::core_boundary, |
| | 4573 | way[boundary=postal_code]::core_boundary, |
| | 4574 | way[boundary=political]::core_boundary, |
| | 4575 | way[boundary=maritime]::core_boundary { |
| | 4576 | z-index: 2; |
| | 4577 | modifier: false; |
| | 4578 | width: 2; |
| | 4579 | color: boundary#FFFFFF; |
| | 4580 | casing-color: #82B5FE; |
| | 4581 | casing-width: 2; |
| | 4582 | dashes: 16,4,4,4; |
| | 4583 | } |
| | 4584 | way[boundary=protected_area]::core_boundary, |
| | 4585 | relation[boundary=protected_area] > way::core_boundary, |
| | 4586 | way[boundary=national_park]::core_boundary, |
| | 4587 | relation[boundary=national_park] > way::core_boundary { |
| | 4588 | z-index: 2; |
| | 4589 | modifier: false; |
| | 4590 | width: 2; |
| | 4591 | color: boundary#FFFFFF; |
| | 4592 | casing-color: #b0e298; |
| | 4593 | casing-width: 2; |
| | 4594 | dashes: 16,4,4,4; |
| | 4595 | } |
| | 4596 | |
| | 4597 | |
| | 4598 | node[boundary=national], |
| | 4599 | node[boundary=administrative], |
| | 4600 | node[boundary=postal_code], |
| | 4601 | node[boundary=political], |
| | 4602 | node[boundary=national_park] { |
| | 4603 | icon-image: "presets/misc/deprecated.svg"; |
| | 4604 | set icon_z17; |
| | 4605 | } |
| | 4606 | |
| | 4607 | /******************/ |
| | 4608 | /* maxspeed nodes */ |
| | 4609 | /******************/ |
| | 4610 | node[traffic_sign][maxspeed=none][!is_prop_set(icon-image)] { |
| | 4611 | icon-image: "presets/vehicle/restriction/maxspeed_none.svg"; |
| | 4612 | set icon_z17; |
| | 4613 | } |
| | 4614 | node[traffic_sign][maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] { |
| | 4615 | maxspeedprop: tag(maxspeed); |
| | 4616 | set maxspeedclass; |
| | 4617 | } |
| | 4618 | node[traffic_sign][maxspeed=signals][!is_prop_set(icon-image)] { |
| | 4619 | maxspeedprop: " ?"; |
| | 4620 | set maxspeedclass; |
| | 4621 | } |
| | 4622 | node[traffic_sign][maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] { |
| | 4623 | maxspeedprop: get(split(" mph",tag(maxspeed)),0); |
| | 4624 | set maxspeedclass; |
| | 4625 | } |
| | 4626 | node[traffic_sign][maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] { |
| | 4627 | maxspeedprop: get(split(" km/h",tag(maxspeed)),0); |
| | 4628 | set maxspeedclass; |
| | 4629 | } |
| | 4630 | node[traffic_sign][maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] { |
| | 4631 | maxspeedprop: get(split(" knots",tag(maxspeed)),0); |
| | 4632 | set maxspeedclass; |
| | 4633 | } |
| | 4634 | node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg { |
| | 4635 | /* background (white) */ |
| | 4636 | symbol-shape: circle; |
| | 4637 | symbol-size: 17; |
| | 4638 | symbol-fill-color: white; |
| | 4639 | major-z-index: 4.2; |
| | 4640 | } |
| | 4641 | node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg, |
| | 4642 | node[traffic_sign][maxspeed=signals]::core_maxnodebg { |
| | 4643 | /* background (black) */ |
| | 4644 | symbol-fill-color: black; |
| | 4645 | } |
| | 4646 | node[prop(maxspeedclass, default)]::core_maxnodefg { |
| | 4647 | /* foreground (black text and red circle) */ |
| | 4648 | symbol-shape: circle; |
| | 4649 | symbol-size: 15; |
| | 4650 | symbol-stroke-color: crimson; |
| | 4651 | symbol-stroke-width: 2; |
| | 4652 | text: prop(maxspeedprop, default); |
| | 4653 | font-size: 8; |
| | 4654 | font-weight: bold; |
| | 4655 | text-color: black; |
| | 4656 | text-anchor-horizontal: center; |
| | 4657 | text-anchor-vertical: center; |
| | 4658 | text-offset-x: 0; |
| | 4659 | text-offset-y: -1; |
| | 4660 | major-z-index: 4.2; |
| | 4661 | } |
| | 4662 | node[traffic_sign][maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg, |
| | 4663 | node[traffic_sign][maxspeed=signals]::core_maxnodefg { |
| | 4664 | /* foreground (white text) */ |
| | 4665 | text-color: white; |
| | 4666 | } |
| | 4667 | node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodebg { |
| | 4668 | symbol-shape: none; |
| | 4669 | } |
| | 4670 | node|z-16[prop(maxspeedclass, default)][setting("hide_icons")]::core_maxnodefg { |
| | 4671 | text: none; |
| | 4672 | symbol-shape: none; |
| | 4673 | } |
| | 4674 | |
| | 4675 | /**************/ |
| | 4676 | /* place tags */ |
| | 4677 | /**************/ |
| | 4678 | |
| | 4679 | area[setting("place_fill_colour")][place=continent], |
| | 4680 | area[setting("place_fill_colour")][place=country], |
| | 4681 | area[setting("place_fill_colour")][place=state], |
| | 4682 | area[setting("place_fill_colour")][place=region], |
| | 4683 | area[setting("place_fill_colour")][place=county], |
| | 4684 | area[setting("place_fill_colour")][place=city], |
| | 4685 | area[setting("place_fill_colour")][place=town], |
| | 4686 | area[setting("place_fill_colour")][place=village], |
| | 4687 | area[setting("place_fill_colour")][place=hamlet], |
| | 4688 | area[setting("place_fill_colour")][place=farm], |
| | 4689 | area[setting("place_fill_colour")][place=isolated_dwelling], |
| | 4690 | area[setting("place_fill_colour")][place=neighbourhood], |
| | 4691 | area[setting("place_fill_colour")][place=suburb], |
| | 4692 | area[setting("place_fill_colour")][place=locality], |
| | 4693 | area[place=island], |
| | 4694 | area[place=islet] { |
| | 4695 | fill-color: place#8de3cb; |
| | 4696 | set place; |
| | 4697 | } |
| | 4698 | node[place=continent], |
| | 4699 | node[place=country], |
| | 4700 | node[place=state], |
| | 4701 | node[place=region], |
| | 4702 | node[place=county], |
| | 4703 | node[place=city], |
| | 4704 | node[place=town], |
| | 4705 | node[place=suburb], |
| | 4706 | node[place=village], |
| | 4707 | node[place=quarter], |
| | 4708 | node[place=neighbourhood], |
| | 4709 | node[place=hamlet], |
| | 4710 | node[place=isolated_dwelling], |
| | 4711 | node[place=farm], |
| | 4712 | node[place=island], |
| | 4713 | node[place=islet] { |
| | 4714 | set icon_z0; |
| | 4715 | set text_z0; |
| | 4716 | font-weight: bold; |
| | 4717 | text-color:black; |
| | 4718 | text-halo-color: white; |
| | 4719 | text-halo-radius: 1; |
| | 4720 | set place; |
| | 4721 | } |
| | 4722 | |
| | 4723 | node[place=continent], |
| | 4724 | node[place=country], |
| | 4725 | node[place=state], |
| | 4726 | node[place=region], |
| | 4727 | node[place=county] { |
| | 4728 | icon-image: "presets/place/capital.svg"; |
| | 4729 | z-index: 2.9; |
| | 4730 | } |
| | 4731 | node[place=city] { |
| | 4732 | icon-image: "presets/place/city.svg"; |
| | 4733 | z-index: 2.8; |
| | 4734 | } |
| | 4735 | node[place=town] { |
| | 4736 | icon-image: "presets/place/town.svg"; |
| | 4737 | z-index: 2.7; |
| | 4738 | } |
| | 4739 | node[place=suburb] { |
| | 4740 | icon-image: "presets/place/suburb.svg"; |
| | 4741 | z-index: 2.6; |
| | 4742 | } |
| | 4743 | node[place=village] { |
| | 4744 | icon-image: "presets/place/village.svg"; |
| | 4745 | z-index: 2.5; |
| | 4746 | } |
| | 4747 | node[place=quarter] { |
| | 4748 | icon-image: "presets/place/quarter.svg"; |
| | 4749 | z-index: 2.5; |
| | 4750 | } |
| | 4751 | node[place=neighbourhood] { |
| | 4752 | icon-image: "presets/place/neighbourhood.svg"; |
| | 4753 | z-index: 2.4; |
| | 4754 | } |
| | 4755 | node[place=hamlet] { |
| | 4756 | icon-image: "presets/place/hamlet.svg"; |
| | 4757 | z-index: 2.3; |
| | 4758 | } |
| | 4759 | node[place=isolated_dwelling] { |
| | 4760 | icon-image: "presets/place/isolated_dwelling.svg"; |
| | 4761 | z-index: 2.2; |
| | 4762 | } |
| | 4763 | node[place=farm] { |
| | 4764 | icon-image: "presets/place/farm.svg"; |
| | 4765 | z-index: 2.1; |
| | 4766 | } |
| | 4767 | node|z15-[place=locality], |
| | 4768 | node|z-14[place=locality][!setting("hide_icons")] { |
| | 4769 | icon-image: "presets/place/locality.svg"; |
| | 4770 | font-weight: bold; |
| | 4771 | text-color: black; |
| | 4772 | text-halo-color: white; |
| | 4773 | text-halo-radius: 1; |
| | 4774 | } |
| | 4775 | node[place=island] { |
| | 4776 | icon-image: "presets/place/island.svg"; |
| | 4777 | } |
| | 4778 | node[place=islet] { |
| | 4779 | icon-image: "presets/place/islet.svg"; |
| | 4780 | } |
| | 4781 | |
| | 4782 | area[place=square] { |
| | 4783 | fill-color: place#8de3cb; |
| | 4784 | } |
| | 4785 | node[place=square] { |
| | 4786 | icon-image: "presets/place/square.svg"; |
| | 4787 | set icon_z17; |
| | 4788 | } |
| | 4789 | |
| | 4790 | /***************************/ |
| | 4791 | /* "work in progress" tags */ |
| | 4792 | /***************************/ |
| | 4793 | |
| | 4794 | node|z16-[fixme]::core_note_fixme, |
| | 4795 | node|z-15[fixme][!setting("hide_icons")]::core_note_fixme, |
| | 4796 | node|z16-[FIXME]::core_note_fixme, |
| | 4797 | node|z-15[FIXME][!setting("hide_icons")]::core_note_fixme { |
| | 4798 | object-z-index: 10; |
| | 4799 | icon-image: "presets/misc/fixme_annotation.svg"; |
| | 4800 | } |
| | 4801 | node|z16-[note]::core_note_fixme, |
| | 4802 | node|z-15[note][!setting("hide_icons")]::core_note_fixme { |
| | 4803 | object-z-index: 10; |
| | 4804 | icon-image: "presets/misc/note_annotation.svg"; |
| | 4805 | } |
| | 4806 | node|z16-[note][fixme]::core_note_fixme, |
| | 4807 | node|z-15[note][fixme][!setting("hide_icons")]::core_note_fixme, |
| | 4808 | node|z16-[note][FIXME]::core_note_fixme, |
| | 4809 | node|z-15[note][FIXME][!setting("hide_icons")]::core_note_fixme { |
| | 4810 | icon-image: "presets/misc/note_fixme_annotation.svg"; |
| | 4811 | } |
| | 4812 | |
| | 4813 | /****************************************/ |
| | 4814 | /* zoom levels and general node display */ |
| | 4815 | /****************************************/ |
| | 4816 | |
| | 4817 | /* |
| | 4818 | Summary of different zoom levels: |
| | 4819 | (any zoom) place=* (except locality and square) and a few natural icons with their text is shown |
| | 4820 | |z-14 tagged way nodes are hidden completely |
| | 4821 | |z-15 untagged way nodes are hidden completely |
| | 4822 | |z15 place=locality icon |
| | 4823 | |z16- fixme=* and note=* symbols; place=locality text |
| | 4824 | |z17- normal POI icons (without text), |
| | 4825 | street name along highway=* ways |
| | 4826 | |z18- text for normal POI icons is shown |
| | 4827 | |
| | 4828 | * text size and node size is adapted according to zoom level (see style source below), place labels (except locality and square) don't get smaller |
| | 4829 | * all these zoom features are modifiable via style settings |
| | 4830 | * maxspeed icons should not be distinguishable from POIs with "icon-image" property |
| | 4831 | |
| | 4832 | */ |
| | 4833 | |
| | 4834 | node|z-16[setting("hide_icons")], |
| | 4835 | node|z17-[!is_prop_set("icon-image")][setting("hide_icons")]!.maxspeedclass, |
| | 4836 | node[!is_prop_set("icon-image")][!setting("hide_icons")]!.maxspeedclass { |
| | 4837 | symbol-size: 2; |
| | 4838 | symbol-shape: square; |
| | 4839 | symbol-stroke-color: node_standard#ffff00; |
| | 4840 | major-z-index: 4.95; /* put node squares above line text */ |
| | 4841 | } |
| | 4842 | way > node|z-15[setting("shrink_nodes")]!:tagged { |
| | 4843 | symbol-shape: none; |
| | 4844 | } |
| | 4845 | node:connection { |
| | 4846 | symbol-stroke-color: node_connection#ffff00; |
| | 4847 | } |
| | 4848 | node:tagged { |
| | 4849 | symbol-stroke-color: none; |
| | 4850 | symbol-fill-color: node_tagged#00ffff; |
| | 4851 | } |
| | 4852 | way > node|z-14[setting("shrink_nodes")][setting("hide_tagged_waynodes")]:tagged { |
| | 4853 | symbol-shape: none; |
| | 4854 | } |
| | 4855 | |
| | 4856 | way > node|z16[setting("shrink_nodes")]!:tagged { symbol-size: 1; } |
| | 4857 | |
| | 4858 | node|z17[setting("shrink_nodes")] { symbol-size: 4; } |
| | 4859 | way > node|z17[setting("shrink_nodes")] { symbol-size: 2; } |
| | 4860 | node|z17[setting("shrink_nodes")]:connection { symbol-size: 4; } |
| | 4861 | |
| | 4862 | node|z18[setting("shrink_nodes")] { symbol-size: 4; } |
| | 4863 | way > node|z18[setting("shrink_nodes")] { symbol-size: 3; } |
| | 4864 | node|z18[setting("shrink_nodes")]:connection { symbol-size: 5; } |
| | 4865 | |
| | 4866 | node|z19-[setting("shrink_nodes")] { symbol-size: 4; } |
| | 4867 | way > node|z19-[setting("shrink_nodes")] { symbol-size: 4; } |
| | 4868 | node|z19-[setting("shrink_nodes")]:connection { symbol-size: 6; } |
| | 4869 | |
| | 4870 | node[!setting("shrink_nodes")] { symbol-size: 4; } |
| | 4871 | way > node[!setting("shrink_nodes")] { symbol-size: 4; } |
| | 4872 | node[!setting("shrink_nodes")]:connection { symbol-size: 6; } |
| | 4873 | |
| | 4874 | node:selected { |
| | 4875 | symbol-shape: square; |
| | 4876 | symbol-size: 6; |
| | 4877 | symbol-fill-color: node_selected#ff0000; |
| | 4878 | symbol-stroke-color: node_selected#ff0000; |
| | 4879 | } |
| | 4880 | |
| | 4881 | node|z-16[setting("hide_icons")].icon_z17!.icon_z0, |
| | 4882 | relation|z-16[type=restriction][setting("hide_icons")] { |
| | 4883 | icon-image: none; |
| | 4884 | } |
| | 4885 | node|z-17[setting("hide_icons")]!.text_z0 { |
| | 4886 | text: none; |
| | 4887 | } |
| | 4888 | node|z16-17[setting("hide_icons")][place=locality] { |
| | 4889 | text: auto; |
| | 4890 | } |
| | 4891 | |
| | 4892 | node|z-18,area|z-18 { font-size: 8; } |
| | 4893 | node|z19,area|z19 { font-size: 9; } |
| | 4894 | node|z20-,area|z20- { font-size: 11; } |
| | 4895 | |
| | 4896 | node.place, way.place, area.place { font-size: 11; } |
| | 4897 | |
| | 4898 | |
| | 4899 | /*******************/ |
| | 4900 | /* way text labels */ |
| | 4901 | /*******************/ |
| | 4902 | |
| | 4903 | way|z18-[highway=motorway][setting("highway_labels")], |
| | 4904 | way|z18-[highway=motorway_link][setting("highway_labels")], |
| | 4905 | way|z18-[highway=trunk][setting("highway_labels")], |
| | 4906 | way|z18-[highway=trunk_link][setting("highway_labels")], |
| | 4907 | way|z18-[highway=primary][setting("highway_labels")], |
| | 4908 | way|z18-[highway=primary_link][setting("highway_labels")], |
| | 4909 | way|z18-[highway=secondary][setting("highway_labels")], |
| | 4910 | way|z18-[highway=secondary_link][setting("highway_labels")], |
| | 4911 | way|z18-[highway=tertiary][setting("highway_labels")], |
| | 4912 | way|z18-[highway=tertiary_link][setting("highway_labels")], |
| | 4913 | way|z18-[highway=unclassified][setting("highway_labels")], |
| | 4914 | way|z18-[highway=residential][setting("highway_labels")], |
| | 4915 | way|z18-[highway=living_street][setting("highway_labels")], |
| | 4916 | way|z18-[highway=escape][setting("highway_labels")], |
| | 4917 | way|z18-[highway=pedestrian][!area?][setting("highway_labels")], |
| | 4918 | way|z18-[highway=steps][setting("highway_labels")], |
| | 4919 | way|z18-[highway=footway][setting("highway_labels")], |
| | 4920 | way|z18-[highway=path][setting("highway_labels")], |
| | 4921 | way|z18-[highway=service][setting("highway_labels")], |
| | 4922 | way|z18-[highway=track][setting("highway_labels")], |
| | 4923 | way|z18-[highway=cycleway][setting("highway_labels")], |
| | 4924 | way|z18-[highway=bridleway][setting("highway_labels")], |
| | 4925 | way|z18-[highway=bus_guideway][setting("highway_labels")], |
| | 4926 | way|z18-[highway=raceway][setting("highway_labels")], |
| | 4927 | way|z18-[highway=construction][setting("highway_labels")], |
| | 4928 | way|z18-[highway=road][setting("highway_labels")] { |
| | 4929 | text: auto; |
| | 4930 | text-color: black; |
| | 4931 | font-size: 10; |
| | 4932 | text-position: line; |
| | 4933 | text-halo-opacity: 1; |
| | 4934 | text-halo-radius: 1.5; |
| | 4935 | } |
| | 4936 | way|z18-[highway=motorway][setting("highway_labels")], |
| | 4937 | way|z18-[highway=motorway_link][setting("highway_labels")] { |
| | 4938 | text-halo-color: motorway#809bc0; |
| | 4939 | } |
| | 4940 | way|z18-[highway=trunk][setting("highway_labels")], |
| | 4941 | way|z18-[highway=trunk_link][setting("highway_labels")] { |
| | 4942 | text-halo-color: trunk#7fc97f; |
| | 4943 | } |
| | 4944 | way|z18-[highway=primary][setting("highway_labels")], |
| | 4945 | way|z18-[highway=primary_link][setting("highway_labels")] { |
| | 4946 | text-halo-color: primary#fb805f; |
| | 4947 | } |
| | 4948 | way|z18-[highway=secondary][setting("highway_labels")], |
| | 4949 | way|z18-[highway=secondary_link][setting("highway_labels")] { |
| | 4950 | text-halo-color: secondary#fdbf6f; |
| | 4951 | } |
| | 4952 | way|z18-[highway=tertiary][setting("highway_labels")], |
| | 4953 | way|z18-[highway=tertiary_link][setting("highway_labels")] { |
| | 4954 | text-halo-color: tertiary#f7f496; |
| | 4955 | } |
| | 4956 | way|z18-[highway=unclassified][setting("highway_labels")], |
| | 4957 | way|z18-[highway=residential][setting("highway_labels")], |
| | 4958 | way|z18-[highway=living_street][setting("highway_labels")], |
| | 4959 | way|z18-[highway=escape][setting("highway_labels")] { |
| | 4960 | text-halo-color: street#c0c0c0; |
| | 4961 | } |
| | 4962 | way|z18-[highway=pedestrian][!area?][setting("highway_labels")], |
| | 4963 | way|z18-[highway=steps][setting("highway_labels")], |
| | 4964 | way|z18-[highway=footway][setting("highway_labels")], |
| | 4965 | way|z18-[highway=path][setting("highway_labels")] { |
| | 4966 | text-halo-color: foot#00ff00; |
| | 4967 | } |
| | 4968 | way|z18-[highway=service][setting("highway_labels")] { |
| | 4969 | text-halo-color: service#809bc0; |
| | 4970 | } |
| | 4971 | way|z18-[highway=track][setting("highway_labels")] { |
| | 4972 | text-halo-color: highway_track#6e541c; |
| | 4973 | } |
| | 4974 | way|z18-[highway=cycleway][setting("highway_labels")], |
| | 4975 | way|z18-[highway=path][setting("highway_labels")].cyclecolor { |
| | 4976 | text-halo-color: bicycle#b100ff; |
| | 4977 | } |
| | 4978 | way|z18-[highway=bridleway][setting("highway_labels")] { |
| | 4979 | text-halo-color: horse#a18559; |
| | 4980 | } |
| | 4981 | way|z18-[highway=bus_guideway][setting("highway_labels")] { |
| | 4982 | text-halo-color: rail#404040; |
| | 4983 | } |
| | 4984 | way|z18-[highway=raceway][setting("highway_labels")] { |
| | 4985 | text-halo-color: raceway#ff80ff; |
| | 4986 | } |
| | 4987 | way|z18-[highway=construction][setting("highway_labels")] { |
| | 4988 | text-halo-color: construction#ffff00; |
| | 4989 | } |
| | 4990 | way|z18-[highway=road][setting("highway_labels")] { |
| | 4991 | text-halo-color: highway_road#770000; |
| | 4992 | } |
| | 4993 | way|z18-[highway][railway=platform][setting("highway_labels")] { |
| | 4994 | text-halo-color: rail#404040; |
| | 4995 | } |
| | 4996 | way|z18-[highway][public_transport=platform][setting("highway_labels")] { |
| | 4997 | text-halo-color: service#809bc0; |
| | 4998 | } |
| | 4999 | way|z19[highway][setting("highway_labels")] { |
| | 5000 | font-size: 11; |
| | 5001 | } |
| | 5002 | way|z20-[highway][setting("highway_labels")] { |
| | 5003 | font-size: 12; |
| | 5004 | } |
| | 5005 | |
| | 5006 | /*************/ |
| | 5007 | /* Area fill */ |
| | 5008 | /*************/ |
| | 5009 | |
| | 5010 | /* small extent for unclosed area (see below for closed) */ |
| | 5011 | area[setting("partial_fill")] { |
| | 5012 | fill-extent: 15; |
| | 5013 | } |
| | 5014 | |
| | 5015 | /* Turn partial fill off and use plain fill, when the partial fill covers about |
| | 5016 | 100% of the area. This reduces artifacts (typically for incomplete multipolygons). |
| | 5017 | Switching between full and partial fill while drawing an area might be irritating, |
| | 5018 | so only do this at low zoom. */ |
| | 5019 | area|z-13[setting("partial_fill")] { |
| | 5020 | fill-extent-threshold: 1.0; |
| | 5021 | } |
| | 5022 | |
| | 5023 | /* Larger extent for closed areas. |
| | 5024 | Turn partial fill off, when it covers more than about 50% of the area. This avoids |
| | 5025 | areas with small unfilled patches in the center. */ |
| | 5026 | area[setting("partial_fill")]:closed2 { |
| | 5027 | fill-extent: 25; |
| | 5028 | fill-extent-threshold: JOSM_pref("draw.area.extent_threshold", 0.5); |
| | 5029 | } |