- Timestamp:
- 2014-08-02T16:44:40+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/styles/standard/elemstyles.mapcss
r7359 r7360 22 22 object-z-index: 20; 23 23 icon-image: "misc/fixme-annotation.png"; 24 /* priority="10000"*/25 24 } 26 25 node[note]::core_note { 27 26 object-z-index: 10; 28 27 icon-image: "misc/note-annotation.png"; 29 /* priority="-100000"*/30 28 } 31 29 … … 114 112 icon-image: "misc/housenumber.png"; 115 113 text: auto; 116 /* priority="-50000"*/117 114 } 118 115 way["addr:interpolation"=odd] { 119 116 width: 1; 120 realwidth: 1;121 117 color: address#1C86EE; 122 118 dashes: 15,4; … … 124 120 way["addr:interpolation"=even] { 125 121 width: 1; 126 realwidth: 1;127 122 color: address#1C86EE; 128 123 dashes: 4,4; … … 131 126 way["addr:interpolation"=alphabetic] { 132 127 width: 1; 133 realwidth: 1;134 128 color: address#1C86EE; 135 129 dashes: 2,2; … … 137 131 area[building][!building?!] { 138 132 fill-color: building#cb9999; 139 /* priority="-10000"*/140 133 } 141 134 node[building][!building?!] { 142 135 icon-image: "misc/landmark/building.png"; 143 136 text: auto; 144 /* priority="-10000"*/145 137 } 146 138 node[building=garage] { … … 155 147 icon-image: "misc/entrance-yes.png"; 156 148 text: auto; 157 /* priority="100"*/158 149 } 159 150 node[entrance=yes] { … … 208 199 node[access?!] { 209 200 icon-image: "vehicle/restriction/access.png"; 210 /* priority="-100"*/211 201 } 212 202 node[access=permissive], … … 215 205 icon-image: "misc/no_icon.png"; 216 206 text: auto; 217 /* priority="-100"*/218 207 } 219 208 node[bicycle?!] { 220 209 icon-image: "vehicle/restriction/bicycle.png"; 221 /* priority="-100"*/222 210 } 223 211 node[bicycle=designated] { 224 212 icon-image: "vehicle/restriction/bicycle-designated.png"; 225 213 text: auto; 226 /* priority="-100"*/227 214 } 228 215 node[foot?!] { 229 216 icon-image: "vehicle/restriction/foot.png"; 230 /* priority="-100"*/231 217 } 232 218 node[foot=designated] { 233 219 icon-image: "vehicle/restriction/foot-designated.png"; 234 220 text: auto; 235 /* priority="-100"*/236 221 } 237 222 node[goods?!], … … 260 245 node[noexit?] { 261 246 icon-image: "vehicle/restriction/dead_end.png"; 262 /* priority="-100"*/263 247 } 264 248 node[maxweight] { … … 467 451 way[highway=motorway] { 468 452 width: 3; 469 realwidth: 8;470 453 color: motorway#809bc0; 471 454 } 472 455 way[highway=motorway_link] { 473 456 width: 3; 474 realwidth: 5;475 457 color: motorway#809bc0; 476 458 } 477 459 way[highway=trunk] { 478 460 width: 3; 479 realwidth: 8;480 461 color: trunk#7fc97f; 481 462 } 482 463 way[highway=trunk_link] { 483 464 width: 3; 484 realwidth: 5;485 465 color: trunk#7fc97f; 486 466 } 487 467 way[highway=primary] { 488 468 width: 3; 489 realwidth: 8;490 469 color: primary#fb805f; 491 470 } 492 471 way[highway=primary_link] { 493 472 width: 3; 494 realwidth: 5;495 473 color: primary#fb805f; 496 474 } 497 475 way[highway=secondary] { 498 476 width: 3; 499 realwidth: 6;500 477 color: secondary#fdbf6f; 501 478 } 502 479 way[highway=secondary_link] { 503 480 width: 3; 504 realwidth: 5;505 481 color: secondary#fdbf6f; 506 482 } 507 483 way[highway=tertiary] { 508 484 width: 2; 509 realwidth: 5;510 485 color: tertiary#f7f496; 511 486 } 512 487 way[highway=tertiary_link] { 513 488 width: 2; 514 realwidth: 4;515 489 color: tertiary#f7f496; 516 490 } 517 491 way[highway=unclassified] { 518 492 width: 2; 519 realwidth: 5;520 493 color: street#c0c0c0; 521 494 } … … 524 497 casing-width: 0.5; 525 498 casing-color: #ff9696; 526 realwidth: 5;527 499 color: #770000; 528 500 } 529 501 way[highway=unsurfaced] { 530 502 width: 1; 531 realwidth: 3;532 503 color: street#c0c0c0; 533 504 } … … 537 508 way[highway=track] { 538 509 width: 1; 539 realwidth: 3;540 510 color: highway_track#006600; 541 /* priority="-10000"*/542 511 } 543 512 way[highway=residential] { 544 513 width: 2; 545 realwidth: 5;546 514 color: street#c0c0c0; 547 515 } 548 516 way[highway=living_street] { 549 517 width: 2; 550 realwidth: 3;551 518 dashes: 9,9; 552 519 dashes-background-color: livingdashed#00ff00; … … 558 525 way[highway=service][!area?] { 559 526 width: 1; 560 realwidth: 3;561 527 color: service#809bc0; 562 528 } 563 529 way[highway=bridleway] { 564 530 width: 1; 565 realwidth: 2;566 531 color: horse#c08000; 567 532 } 568 533 way[highway=cycleway] { 569 534 width: 1; 570 realwidth: 2;571 535 color: bicycle#b100ff; 572 536 } … … 576 540 way[highway=footway][!area?] { 577 541 width: 1; 578 realwidth: 1;579 542 color: foot#00ff00; 580 543 } 581 544 way[highway=path][bicycle!=designated][bicycle!=official][foot!=designated][foot!=official] { 582 545 width: 1; 583 realwidth: 1;584 546 dashes: 9,9; 585 547 color: foot#00ff00; … … 589 551 way[highway=path][bicycle=official] { 590 552 width: 1; 591 realwidth: 2;592 553 color: bicycle#b100ff; 593 /* priority="100"*/594 554 } 595 555 way[highway=path][foot=designated], 596 556 way[highway=path][foot=official] { 597 557 width: 1; 598 realwidth: 1;599 558 color: foot#00ff00; 600 /* priority="100"*/601 559 } 602 560 way[highway=path][bicycle=designated][foot=designated], 603 561 way[highway=path][bicycle=official][foot=official] { 604 562 width: 1; 605 realwidth: 2;606 563 color: bicycle#b100ff; 607 564 dashes: 14,14; 608 565 dashes-background-color: foot#00ff00; 609 /* priority="200"*/610 566 } 611 567 way[highway=cycleway][foot=yes], … … 613 569 way[highway=path][bicycle=official][foot=yes] { 614 570 width: 1; 615 realwidth: 2;616 571 color: bicycle#b100ff; 617 572 dashes: 21,7; … … 622 577 way[highway=path][bicycle=yes][foot=official] { 623 578 width: 1; 624 realwidth: 2;625 579 color: foot#00ff00; 626 580 dashes: 21,7; … … 629 583 way[highway=pedestrian][area?], relation[type=multipolygon][highway=pedestrian] { 630 584 width: 3; 631 realwidth: 5;632 585 color: foot#00ff00; 633 586 fill-color: foot#00ff00; … … 635 588 way[highway=pedestrian] { 636 589 width: 3; 637 realwidth: 5;638 590 color: foot#00ff00; 639 591 } 640 592 way[highway=steps] { 641 593 width: 1; 642 realwidth: 1;643 594 color: foot#00ff00; 644 595 dashes: 2,2; … … 660 611 icon-image: "vehicle/restriction/roundabout_left.png"; 661 612 text: auto; 662 /* priority="10000"*/663 613 } 664 614 node[highway=mini_roundabout] { … … 726 676 z-index: 1; 727 677 width: 2; 728 realwidth: 5;729 678 color: water#0000ff; 730 679 dashes: 9,9; … … 755 704 way[highway=construction] { 756 705 width: 2; 757 realwidth: 5;758 706 color: construction#ffff00; 759 707 dashes: 9,9; 760 /* priority="10"*/761 708 } 762 709 node[highway=construction] { 763 710 icon-image: "misc/construction.png"; 764 711 text: auto; 765 /* priority="10"*/766 712 } 767 713 area[highway=emergency_access_point] { … … 802 748 icon-image: "vehicle/traffic_calming.png"; 803 749 text: auto; 804 /* priority="-5"*/805 750 } 806 751 node[traffic_calming=chicane] { … … 1102 1047 icon-image: "misc/landmark/power.png"; 1103 1048 text: auto; 1104 /* priority="-10000"*/1105 1049 } 1106 1050 … … 1815 1759 icon-image: "vehicle/parking.png"; 1816 1760 text: auto; 1817 /* priority="-500"*/1818 1761 }node[amenity=parking] { 1819 1762 icon-image: vehicle/parking.png; … … 1823 1766 icon-image: "vehicle/parking/multi-storey.png"; 1824 1767 text: auto; 1825 /* priority="10000"*/1826 1768 } 1827 1769 node[amenity=motorcycle_parking] { 1828 1770 icon-image: "vehicle/parking/motorbike.png"; 1829 1771 text: auto; 1830 /* priority="20000";*/1831 1772 } 1832 1773 node[amenity=bicycle_parking] { 1833 1774 icon-image: "vehicle/parking/bicycle.png"; 1834 1775 text: auto; 1835 /* priority="20000"*/1836 1776 } 1837 1777 node[parking=park_and_ride] { … … 1874 1814 icon-image: "vehicle/fuel.png"; 1875 1815 text: auto; 1876 /* priority="10000"*/1877 1816 } 1878 1817 node[amenity=charging_station] { 1879 1818 icon-image: "vehicle/fuel/charging_station.png"; 1880 1819 text: auto; 1881 /* priority="1000"*/1882 1820 } 1883 1821 node[amenity=grit_bin] { … … 1986 1924 icon-image: "religion.png"; 1987 1925 text: auto; 1988 /* priority="-10000"*/1989 1926 } 1990 1927 node[amenity=place_of_worship][religion=bahai] { … … 2228 2165 node[amenity=vending_machine] { 2229 2166 icon-image: "transport/ticket-machine.png"; 2230 /* priority="-10"*/2231 2167 } 2232 2168 node[vending=excrement_bags] { … … 2374 2310 icon-image: "misc/information/guidepost.png"; 2375 2311 text: auto; 2376 /* priority="10"*/2377 2312 } 2378 2313 area[information=office] { … … 2382 2317 icon-image: "misc/information/informationoffice.png"; 2383 2318 text: auto; 2384 /* priority="10"*/2385 2319 } 2386 2320 node[information=map] { 2387 2321 icon-image: "misc/information/map.png"; 2388 2322 text: auto; 2389 /* priority="10"*/2390 2323 } 2391 2324 node[information=board] { 2392 2325 icon-image: "misc/information/board.png"; 2393 2326 text: auto; 2394 /* priority="10"*/2395 2327 } 2396 2328 … … 2672 2604 icon-image: "transport/railway_small.png"; 2673 2605 text: auto; 2674 /* priority="-10"*/2675 2606 } 2676 2607 node[highway=bus_stop] { … … 2681 2612 icon-image: "transport/bus_small.png"; 2682 2613 text: auto; 2683 /* priority="4"*/2684 2614 } 2685 2615 node[public_transport=stop_position][aerial=yes] { 2686 2616 icon-image: "transport/aerialway.png"; 2687 2617 text: auto; 2688 /* priority="6"*/2689 2618 } 2690 2619 node[public_transport=stop_position][ferry=yes] { 2691 2620 icon-image: "transport/ferry.png"; 2692 2621 text: auto; 2693 /* priority="7"*/2694 2622 } 2695 2623 node[public_transport=stop_position][tram=yes] { 2696 2624 icon-image: "transport/tram.png"; 2697 2625 text: auto; 2698 /* priority="8"*/2699 2626 } 2700 2627 node[public_transport=stop_position][train=yes] { 2701 2628 icon-image: "transport/railway_small.png"; 2702 2629 text: auto; 2703 /* priority="10"*/2704 2630 } 2705 2631 area[public_transport=platform]:closed { … … 2708 2634 way[public_transport=platform]!:closed { 2709 2635 width: 3; 2710 realwidth: 1;2711 2636 color: service#809bc0; 2712 2637 dashes: 12,3; … … 2715 2640 icon-image: "transport/bus_small.png"; 2716 2641 text: auto; 2717 /* priority="-10"*/2718 2642 } 2719 2643 node[public_transport=platform][bus=yes] { 2720 2644 icon-image: "transport/bus_small.png"; 2721 2645 text: auto; 2722 /* priority="4"*/2723 2646 } 2724 2647 node[public_transport=platform][aerial=yes] { 2725 2648 icon-image: "transport/aerialway/station.png"; 2726 2649 text: auto; 2727 /* priority="6"*/2728 2650 } 2729 2651 node[public_transport=platform][ferry=yes] { 2730 2652 icon-image: "transport/ferry.png"; 2731 2653 text: auto; 2732 /* priority="7"*/2733 2654 } 2734 2655 node[public_transport=platform][tram=yes], … … 2736 2657 icon-image: "transport/railway_station.png"; 2737 2658 text: auto; 2738 /* priority="10"*/2739 2659 } 2740 2660 … … 2780 2700 way[railway=rail][service=siding] { 2781 2701 width: 1; 2782 /* priority="2"*/2783 2702 } 2784 2703 way[railway=rail][service=yard], … … 2786 2705 width: 1; 2787 2706 color: railyard#552200 2788 /* priority="2"*/2789 2707 } 2790 2708 /* draw tram on top of other way (highway=*) or … … 2827 2745 color: oldrail#404040; 2828 2746 dashes: 9,9; 2829 /* priority="-10000"*/2830 2747 } 2831 2748 way[railway=narrow_gauge], … … 2901 2818 way[aeroway=runway] { 2902 2819 width: 3; 2903 realwidth: 10;2904 2820 color: aeroway_dark#330000; 2905 2821 } … … 2910 2826 way[aeroway=taxiway] { 2911 2827 width: 2; 2912 realwidth: 10;2913 2828 color: aeroway#660000; 2914 2829 } … … 3162 3077 icon-image: "misc/landmark/trees_conifer.png"; 3163 3078 text: auto; 3164 /* priority="10"*/3165 3079 } 3166 3080 node[natural=tree][type=broad_leaved], … … 3168 3082 icon-image: "misc/landmark/trees_broad_leaved.png"; 3169 3083 text: auto; 3170 /* priority="10"*/3171 3084 } 3172 3085 node[natural=tree][type=palm] { 3173 3086 icon-image: "misc/landmark/trees_palm.png"; 3174 3087 text: auto; 3175 /* priority="10"*/3176 3088 } 3177 3089 … … 3182 3094 way[waterway=river] { 3183 3095 width: 2; 3184 realwidth: 5;3185 3096 color: water#0000ff; 3186 3097 } 3187 3098 area[waterway=riverbank] { 3188 3099 fill-color: riverbank#0000cf; 3189 /* priority="10000"*/ 3190 width: 1; 3191 realwidth: 5; 3100 width: 1; 3192 3101 color: riverbank#0000cf; 3193 3102 } 3194 3103 way[waterway=canal], way[waterway=wadi] { 3195 3104 width: 2; 3196 realwidth: 2;3197 3105 color: water#0000ff; 3198 3106 } 3199 3107 way[waterway=stream] { 3200 3108 width: 1; 3201 realwidth: 1;3202 3109 color: stream#6600cc; 3203 3110 } 3204 3111 way[waterway=ditch], way[waterway=drain] { 3205 3112 width: 1; 3206 realwidth: 1;3207 3113 color: water#0000ff; 3208 3114 } … … 3617 3523 color: boundary#FF6600; 3618 3524 dashes: 9,9; 3619 /* priority="-10"*/3620 3525 } 3621 3526 way[admin_level=9]::core_boundary,
Note:
See TracChangeset
for help on using the changeset viewer.