Ignore:
Timestamp:
2014-08-02T16:44:40+02:00 (5 years ago)
Author:
bastiK
Message:

fixed #10064 - realwidth and priority in elemstyle.mapcss

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/styles/standard/elemstyles.mapcss

    r7359 r7360  
    2222    object-z-index: 20;
    2323    icon-image: "misc/fixme-annotation.png";
    24 /*    priority="10000"*/
    2524}
    2625node[note]::core_note {
    2726    object-z-index: 10;
    2827    icon-image: "misc/note-annotation.png";
    29 /*    priority="-100000"*/
    3028}
    3129
     
    114112    icon-image: "misc/housenumber.png";
    115113    text: auto;
    116 /*    priority="-50000"*/
    117114}
    118115way["addr:interpolation"=odd] {
    119116    width: 1;
    120     realwidth: 1;
    121117    color: address#1C86EE;
    122118    dashes: 15,4;
     
    124120way["addr:interpolation"=even] {
    125121    width: 1;
    126     realwidth: 1;
    127122    color: address#1C86EE;
    128123    dashes: 4,4;
     
    131126way["addr:interpolation"=alphabetic] {
    132127    width: 1;
    133     realwidth: 1;
    134128    color: address#1C86EE;
    135129    dashes: 2,2;
     
    137131area[building][!building?!] {
    138132    fill-color: building#cb9999;
    139 /*    priority="-10000"*/
    140133}
    141134node[building][!building?!] {
    142135    icon-image: "misc/landmark/building.png";
    143136    text: auto;
    144 /*    priority="-10000"*/
    145137}
    146138node[building=garage] {
     
    155147    icon-image: "misc/entrance-yes.png";
    156148    text: auto;
    157 /*    priority="100"*/
    158149}
    159150node[entrance=yes] {
     
    208199node[access?!] {
    209200    icon-image: "vehicle/restriction/access.png";
    210 /*    priority="-100"*/
    211201}
    212202node[access=permissive],
     
    215205    icon-image: "misc/no_icon.png";
    216206    text: auto;
    217 /*    priority="-100"*/
    218207}
    219208node[bicycle?!] {
    220209    icon-image: "vehicle/restriction/bicycle.png";
    221 /*    priority="-100"*/
    222210}
    223211node[bicycle=designated] {
    224212    icon-image: "vehicle/restriction/bicycle-designated.png";
    225213    text: auto;
    226 /*    priority="-100"*/
    227214}
    228215node[foot?!] {
    229216    icon-image: "vehicle/restriction/foot.png";
    230 /*    priority="-100"*/
    231217}
    232218node[foot=designated] {
    233219    icon-image: "vehicle/restriction/foot-designated.png";
    234220    text: auto;
    235 /*    priority="-100"*/
    236221}
    237222node[goods?!],
     
    260245node[noexit?] {
    261246    icon-image: "vehicle/restriction/dead_end.png";
    262 /*    priority="-100"*/
    263247}
    264248node[maxweight] {
     
    467451way[highway=motorway] {
    468452    width: 3;
    469     realwidth: 8;
    470453    color: motorway#809bc0;
    471454}
    472455way[highway=motorway_link] {
    473456    width: 3;
    474     realwidth: 5;
    475457    color: motorway#809bc0;
    476458}
    477459way[highway=trunk] {
    478460    width: 3;
    479     realwidth: 8;
    480461    color: trunk#7fc97f;
    481462}
    482463way[highway=trunk_link] {
    483464    width: 3;
    484     realwidth: 5;
    485465    color: trunk#7fc97f;
    486466}
    487467way[highway=primary] {
    488468    width: 3;
    489     realwidth: 8;
    490469    color: primary#fb805f;
    491470}
    492471way[highway=primary_link] {
    493472    width: 3;
    494     realwidth: 5;
    495473    color: primary#fb805f;
    496474}
    497475way[highway=secondary] {
    498476    width: 3;
    499     realwidth: 6;
    500477    color: secondary#fdbf6f;
    501478}
    502479way[highway=secondary_link] {
    503480    width: 3;
    504     realwidth: 5;
    505481    color: secondary#fdbf6f;
    506482}
    507483way[highway=tertiary] {
    508484    width: 2;
    509     realwidth: 5;
    510485    color: tertiary#f7f496;
    511486}
    512487way[highway=tertiary_link] {
    513488    width: 2;
    514     realwidth: 4;
    515489    color: tertiary#f7f496;
    516490}
    517491way[highway=unclassified] {
    518492    width: 2;
    519     realwidth: 5;
    520493    color: street#c0c0c0;
    521494}
     
    524497    casing-width: 0.5;
    525498    casing-color: #ff9696;
    526     realwidth: 5;
    527499    color: #770000;
    528500}
    529501way[highway=unsurfaced] {
    530502    width: 1;
    531     realwidth: 3;
    532503    color: street#c0c0c0;
    533504}
     
    537508way[highway=track] {
    538509    width: 1;
    539     realwidth: 3;
    540510    color: highway_track#006600;
    541 /*    priority="-10000"*/
    542511}
    543512way[highway=residential] {
    544513    width: 2;
    545     realwidth: 5;
    546514    color: street#c0c0c0;
    547515}
    548516way[highway=living_street] {
    549517    width: 2;
    550     realwidth: 3;
    551518    dashes: 9,9;
    552519    dashes-background-color: livingdashed#00ff00;
     
    558525way[highway=service][!area?] {
    559526    width: 1;
    560     realwidth: 3;
    561527    color: service#809bc0;
    562528}
    563529way[highway=bridleway] {
    564530    width: 1;
    565     realwidth: 2;
    566531    color: horse#c08000;
    567532}
    568533way[highway=cycleway] {
    569534    width: 1;
    570     realwidth: 2;
    571535    color: bicycle#b100ff;
    572536}
     
    576540way[highway=footway][!area?] {
    577541    width: 1;
    578     realwidth: 1;
    579542    color: foot#00ff00;
    580543}
    581544way[highway=path][bicycle!=designated][bicycle!=official][foot!=designated][foot!=official] {
    582545    width: 1;
    583     realwidth: 1;
    584546    dashes: 9,9;
    585547    color: foot#00ff00;
     
    589551way[highway=path][bicycle=official] {
    590552    width: 1;
    591     realwidth: 2;
    592553    color: bicycle#b100ff;
    593 /*    priority="100"*/
    594554}
    595555way[highway=path][foot=designated],
    596556way[highway=path][foot=official] {
    597557    width: 1;
    598     realwidth: 1;
    599558    color: foot#00ff00;
    600 /*    priority="100"*/
    601559}
    602560way[highway=path][bicycle=designated][foot=designated],
    603561way[highway=path][bicycle=official][foot=official] {
    604562    width: 1;
    605     realwidth: 2;
    606563    color: bicycle#b100ff;
    607564    dashes: 14,14;
    608565    dashes-background-color: foot#00ff00;
    609 /*    priority="200"*/
    610566}
    611567way[highway=cycleway][foot=yes],
     
    613569way[highway=path][bicycle=official][foot=yes] {
    614570    width: 1;
    615     realwidth: 2;
    616571    color: bicycle#b100ff;
    617572    dashes: 21,7;
     
    622577way[highway=path][bicycle=yes][foot=official] {
    623578    width: 1;
    624     realwidth: 2;
    625579    color: foot#00ff00;
    626580    dashes: 21,7;
     
    629583way[highway=pedestrian][area?], relation[type=multipolygon][highway=pedestrian] {
    630584    width: 3;
    631     realwidth: 5;
    632585    color: foot#00ff00;
    633586    fill-color: foot#00ff00;
     
    635588way[highway=pedestrian] {
    636589    width: 3;
    637     realwidth: 5;
    638590    color: foot#00ff00;
    639591}
    640592way[highway=steps] {
    641593    width: 1;
    642     realwidth: 1;
    643594    color: foot#00ff00;
    644595    dashes: 2,2;
     
    660611    icon-image: "vehicle/restriction/roundabout_left.png";
    661612    text: auto;
    662 /*    priority="10000"*/
    663613}
    664614node[highway=mini_roundabout] {
     
    726676    z-index: 1;
    727677    width: 2;
    728     realwidth: 5;
    729678    color: water#0000ff;
    730679    dashes: 9,9;
     
    755704way[highway=construction] {
    756705    width: 2;
    757     realwidth: 5;
    758706    color: construction#ffff00;
    759707    dashes: 9,9;
    760 /*    priority="10"*/
    761708}
    762709node[highway=construction] {
    763710    icon-image: "misc/construction.png";
    764711    text: auto;
    765 /*    priority="10"*/
    766712}
    767713area[highway=emergency_access_point] {
     
    802748    icon-image: "vehicle/traffic_calming.png";
    803749    text: auto;
    804 /*    priority="-5"*/
    805750}
    806751node[traffic_calming=chicane] {
     
    11021047    icon-image: "misc/landmark/power.png";
    11031048    text: auto;
    1104 /*    priority="-10000"*/
    11051049}
    11061050
     
    18151759    icon-image: "vehicle/parking.png";
    18161760    text: auto;
    1817 /*    priority="-500"*/
    18181761}node[amenity=parking] {
    18191762    icon-image: vehicle/parking.png;
     
    18231766    icon-image: "vehicle/parking/multi-storey.png";
    18241767    text: auto;
    1825 /*    priority="10000"*/
    18261768}
    18271769node[amenity=motorcycle_parking] {
    18281770    icon-image: "vehicle/parking/motorbike.png";
    18291771    text: auto;
    1830 /*     priority="20000";*/
    18311772}
    18321773node[amenity=bicycle_parking] {
    18331774    icon-image: "vehicle/parking/bicycle.png";
    18341775    text: auto;
    1835 /*    priority="20000"*/
    18361776}
    18371777node[parking=park_and_ride] {
     
    18741814    icon-image: "vehicle/fuel.png";
    18751815    text: auto;
    1876 /*    priority="10000"*/
    18771816}
    18781817node[amenity=charging_station] {
    18791818    icon-image: "vehicle/fuel/charging_station.png";
    18801819    text: auto;
    1881 /*    priority="1000"*/
    18821820}
    18831821node[amenity=grit_bin] {
     
    19861924    icon-image: "religion.png";
    19871925    text: auto;
    1988 /*    priority="-10000"*/
    19891926}
    19901927node[amenity=place_of_worship][religion=bahai] {
     
    22282165node[amenity=vending_machine] {
    22292166    icon-image: "transport/ticket-machine.png";
    2230 /*    priority="-10"*/
    22312167}
    22322168node[vending=excrement_bags] {
     
    23742310    icon-image: "misc/information/guidepost.png";
    23752311    text: auto;
    2376 /*    priority="10"*/
    23772312}
    23782313area[information=office] {
     
    23822317    icon-image: "misc/information/informationoffice.png";
    23832318    text: auto;
    2384 /*    priority="10"*/
    23852319}
    23862320node[information=map] {
    23872321    icon-image: "misc/information/map.png";
    23882322    text: auto;
    2389 /*    priority="10"*/
    23902323}
    23912324node[information=board] {
    23922325    icon-image: "misc/information/board.png";
    23932326    text: auto;
    2394 /*    priority="10"*/
    23952327}
    23962328
     
    26722604    icon-image: "transport/railway_small.png";
    26732605    text: auto;
    2674 /*    priority="-10"*/
    26752606}
    26762607node[highway=bus_stop] {
     
    26812612    icon-image: "transport/bus_small.png";
    26822613    text: auto;
    2683 /*    priority="4"*/
    26842614}
    26852615node[public_transport=stop_position][aerial=yes] {
    26862616    icon-image: "transport/aerialway.png";
    26872617    text: auto;
    2688 /*    priority="6"*/
    26892618}
    26902619node[public_transport=stop_position][ferry=yes] {
    26912620    icon-image: "transport/ferry.png";
    26922621    text: auto;
    2693 /*    priority="7"*/
    26942622}
    26952623node[public_transport=stop_position][tram=yes] {
    26962624    icon-image: "transport/tram.png";
    26972625    text: auto;
    2698 /*    priority="8"*/
    26992626}
    27002627node[public_transport=stop_position][train=yes] {
    27012628    icon-image: "transport/railway_small.png";
    27022629    text: auto;
    2703 /*    priority="10"*/
    27042630}
    27052631area[public_transport=platform]:closed {
     
    27082634way[public_transport=platform]!:closed {
    27092635    width: 3;
    2710     realwidth: 1;
    27112636    color: service#809bc0;
    27122637    dashes: 12,3;
     
    27152640    icon-image: "transport/bus_small.png";
    27162641    text: auto;
    2717 /*    priority="-10"*/
    27182642}
    27192643node[public_transport=platform][bus=yes] {
    27202644    icon-image: "transport/bus_small.png";
    27212645    text: auto;
    2722 /*    priority="4"*/
    27232646}
    27242647node[public_transport=platform][aerial=yes] {
    27252648    icon-image: "transport/aerialway/station.png";
    27262649    text: auto;
    2727 /*    priority="6"*/
    27282650}
    27292651node[public_transport=platform][ferry=yes] {
    27302652    icon-image: "transport/ferry.png";
    27312653    text: auto;
    2732 /*    priority="7"*/
    27332654}
    27342655node[public_transport=platform][tram=yes],
     
    27362657    icon-image: "transport/railway_station.png";
    27372658    text: auto;
    2738 /*    priority="10"*/
    27392659}
    27402660
     
    27802700way[railway=rail][service=siding] {
    27812701    width: 1;
    2782 /*    priority="2"*/
    27832702}
    27842703way[railway=rail][service=yard],
     
    27862705    width: 1;
    27872706    color: railyard#552200
    2788 /*    priority="2"*/
    27892707}
    27902708/* draw tram on top of other way (highway=*) or
     
    28272745    color: oldrail#404040;
    28282746    dashes: 9,9;
    2829 /*    priority="-10000"*/
    28302747}
    28312748way[railway=narrow_gauge],
     
    29012818way[aeroway=runway] {
    29022819    width: 3;
    2903     realwidth: 10;
    29042820    color: aeroway_dark#330000;
    29052821}
     
    29102826way[aeroway=taxiway] {
    29112827    width: 2;
    2912     realwidth: 10;
    29132828    color: aeroway#660000;
    29142829}
     
    31623077    icon-image: "misc/landmark/trees_conifer.png";
    31633078    text: auto;
    3164 /*    priority="10"*/
    31653079}
    31663080node[natural=tree][type=broad_leaved],
     
    31683082    icon-image: "misc/landmark/trees_broad_leaved.png";
    31693083    text: auto;
    3170 /*    priority="10"*/
    31713084}
    31723085node[natural=tree][type=palm] {
    31733086    icon-image: "misc/landmark/trees_palm.png";
    31743087    text: auto;
    3175 /*    priority="10"*/
    31763088}
    31773089
     
    31823094way[waterway=river] {
    31833095    width: 2;
    3184     realwidth: 5;
    31853096    color: water#0000ff;
    31863097}
    31873098area[waterway=riverbank] {
    31883099    fill-color: riverbank#0000cf;
    3189 /*    priority="10000"*/
    3190     width: 1;
    3191     realwidth: 5;
     3100    width: 1;
    31923101    color: riverbank#0000cf;
    31933102}
    31943103way[waterway=canal], way[waterway=wadi] {
    31953104    width: 2;
    3196     realwidth: 2;
    31973105    color: water#0000ff;
    31983106}
    31993107way[waterway=stream] {
    32003108    width: 1;
    3201     realwidth: 1;
    32023109    color: stream#6600cc;
    32033110}
    32043111way[waterway=ditch], way[waterway=drain] {
    32053112    width: 1;
    3206     realwidth: 1;
    32073113    color: water#0000ff;
    32083114}
     
    36173523    color: boundary#FF6600;
    36183524    dashes: 9,9;
    3619 /*    priority="-10"*/
    36203525}
    36213526way[admin_level=9]::core_boundary,
Note: See TracChangeset for help on using the changeset viewer.