Ignore:
Timestamp:
2011-11-17T17:58:08+01:00 (13 years ago)
Author:
bastiK
Message:

fixed #7065 - in potlatch2 style foot and cycle-oriented pathes paints over by bridges property (patch by iav)

File:
1 edited

Legend:

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

    r3902 r4597  
    5959way[highway=secondary],way[highway=secondary_link],
    6060way[highway=tertiary],way[highway=tertiary_link],
    61 way[highway=residential],way[highway=unclassified]  { text: auto; text-color: black; font-size: 10; text-position: line; text-halo-color: white; text-halo-radius: 2; }
     61way[highway=residential],way[highway=unclassified]  { z-index: 5; text: auto; text-color: black; font-size: 10; text-position: line; text-halo-color: white; text-halo-radius: 2; }
    6262way[highway=motorway],way[highway=motorway_link]    { z-index: 9; color: #809BC0; width: 7; casing-color: black; casing-width: 8; }
    6363way[highway=trunk],way[highway=trunk_link]          { z-index: 9; color: #7FC97F; width: 7; casing-color: black; casing-width: 8; }
     
    6868way[highway=tertiary_link]                          { z-index: 5; color: #FEFECB; width: 4; casing-width: 5; }
    6969way[highway=residential]                            { z-index: 5; color: #E8E8E8; width: 5; casing-color: gray; casing-width: 7; }
    70 way[highway=service][service!=parking_aisle]        { color: white; width: 3; casing-color: gray; casing-width: 5; }
    71 way[highway=service][service=parking_aisle]         { color: white; width: 1; casing-color: #aaaaaa; casing-width: 2; }
    72 way[highway=service][service=alley]                 { color: white; width: 2; dashes: 6,2; casing-color: black; casing-width: 4; }
    73 way[highway=road]                                   { color: gray; width: 5; casing-color: white; casing-width: 7; }
     70way[highway=service][service!=parking_aisle]        { z-index: 5; color: white; width: 3; casing-color: gray; casing-width: 5; }
     71way[highway=service][service=parking_aisle]         { z-index: 5; color: white; width: 1; casing-color: #aaaaaa; casing-width: 2; }
     72way[highway=service][service=alley]                 { z-index: 5; color: white; width: 2; dashes: 6,2; casing-color: black; casing-width: 4; }
     73way[highway=road]                                   { z-index: 5; color: gray; width: 5; casing-color: white; casing-width: 7; }
    7474way[highway=living_street]                          { z-index: 5; color: #ddffee; width: 3; casing-color: #555555; casing-width: 4; }
    7575
    7676/* Road areas */
    7777
    78 way[highway=pedestrian]!:closed { color: #ddddee; width: 5; casing-color: #555555; casing-width: 6; casing-dashes: 2,4;}
     78way[highway=pedestrian]!:closed { z-index: 5; color: #ddddee; width: 5; casing-color: #555555; casing-width: 6; casing-dashes: 2,4;}
    7979way[highway=pedestrian]:closed  { color: #555555; width: 1; fill-color: #ddddee; fill-opacity: 0.8; } /* FIXME: dashed outline */
    8080
    8181/* Paths */
    8282
    83 way[highway=steps]     { color: #FF6644; width: 6; dashes: 2, 2; }
    84 way[highway=footway]   { color: #FF6644; width: 2; dashes: 6, 3; prop_path : 1;}
     83way[highway=steps]     { z-index: 5; color: #FF6644; width: 6; dashes: 2, 2; }
     84way[highway=footway]   { z-index: 5; color: #FF6644; width: 2; dashes: 6, 3; prop_path : 1;}
    8585way[highway=footway][bicycle=yes]   { z-index: 4; color: blue; width: 1; }
    8686way[highway=bridleway] { z-index:9; color: #996644; width: 2; dashes: 4, 2, 2, 2; prop_path : 1;}
    87 way[highway=track]     { color: #996644; width: 2; dashes: 4, 2; prop_path : 1;}
    88 way[highway=path]      { color: brown; width: 2; dashes: 2, 2; prop_path : 1;}
    89 way[highway=cycleway]  { color: blue; width: 2; dashes: 4, 2; prop_path : 1;}
     87way[highway=track]     { z-index: 5; color: #996644; width: 2; dashes: 4, 2; prop_path : 1;}
     88way[highway=path]      { z-index: 5; color: brown; width: 2; dashes: 2, 2; prop_path : 1;}
     89way[highway=cycleway]  { z-index: 5; color: blue; width: 2; dashes: 4, 2; prop_path : 1;}
    9090way[railway=tram]      { z-index: 11; color: #999999; width: 2; casing-color: black; casing-width: 6; }
    9191way[is_prop_set("prop_path")]              { text:auto; text-color: black; text-position: line; text-offset: 5;}
     
    9393/* Under construction */
    9494
    95 way[highway=proposed] { color: #88ffff; width: 6; dashes: 8, 4; }
    96 way[highway=construction] { color: #ffffbb; width: 6; dashes: 8, 4; casing-color: #0000aa; casing-width: 8; casing-dashes: 8,4;}
     95way[highway=proposed] { z-index: 5; color: #88ffff; width: 6; dashes: 8, 4; }
     96way[highway=construction] { z-index: 5; color: #ffffbb; width: 6; dashes: 8, 4; casing-color: #0000aa; casing-width: 8; casing-dashes: 8,4;}
    9797way[construction=rail]
    9898        { z-index: 6; color: black; width: 5; dashes: 6, 6, 4, 8;}
     
    120120way[waterway=river],
    121121way[waterway=canal],
    122 way[waterway=stream]   { color: blue; width: 2; text:auto; text-color:blue; font-size:9; text-position: line; text-offset: 7;}
    123 way[waterway=drain]                      {color: blue; width: 1; text:auto; text-color: blue; text-position: line; text-offset: 3;}
    124 way[waterway][tunnel=yes]                {dashes: 8,4;}
     122way[waterway=stream]   { z-index: 5; color: blue; width: 2; text:auto; text-color:blue; font-size:9; text-position: line; text-offset: 7;}
     123way[waterway=drain]                      {z-index: 5; color: blue; width: 1; text:auto; text-color: blue; text-position: line; text-offset: 3;}
     124way[waterway][tunnel=yes]                {z-index: 5; dashes: 8,4;}
    125125
    126126/* Aeroways */
     
    161161/* Barriers */
    162162
    163 way[barrier] {color: #000000; width: 1}
    164 way[barrier=fence] {color: #000000; width: 1; dashes: 8,4,2,4; }
     163way[barrier] {z-index: 5; color: #000000; width: 1}
     164way[barrier=fence] {z-index: 5; color: #000000; width: 1; dashes: 8,4,2,4; }
    165165
    166166/* Power */
    167167
    168 way[power=line] {color: darkgray; width: 3; dashes: 12,2; casing-color: black; casing-width: 8; casing-dashes: 4, 38;}
    169 way[power=minor_line] {color: gray; width: 2; dashes: 2,4; casing-width: 8; casing-color: white; casing-dashes: 2,22;}
    170 way[power=station]:closed { color: black; width: 2; fill-color: #666666; fill-opacity: 0.6; prop_area_small_name : 1;}
    171 way[power=generator]:closed { color: black; width: 2; fill-color: #444444; fill-opacity: 0.6; prop_area_small_name : 1;}
     168way[power=line] {z-index: 5; color: darkgray; width: 3; dashes: 12,2; casing-color: black; casing-width: 8; casing-dashes: 4, 38;}
     169way[power=minor_line] {z-index: 5; color: gray; width: 2; dashes: 2,4; casing-width: 8; casing-color: white; casing-dashes: 2,22;}
     170way[power=station]:closed { z-index: 5; color: black; width: 2; fill-color: #666666; fill-opacity: 0.6; prop_area_small_name : 1;}
     171way[power=generator]:closed { z-index: 5; color: black; width: 2; fill-color: #444444; fill-opacity: 0.6; prop_area_small_name : 1;}
    172172
    173173/* Leisure */
    174174
    175 way[golf=hole] {color: darkgreen; width: 5; casing-color: green; casing-width: 10; }
     175way[golf=hole] {z-index: 5; color: darkgreen; width: 5; casing-color: green; casing-width: 10; }
    176176way[leisure=sports_centre]:closed { color: #66ddcc; fill-color: #66ddcc; prop_area_small_name : 1; }
    177177
     
    286286node[addr:housenumber]::hn_casing,
    287287node[addr:housename]::hn_casing { z-index: -100; symbol-shape: circle; symbol-size: 10; symbol-fill-color: blue; }
    288 way[addr:interpolation] { color: #B0E0E6; width: 3; dashes: 3,3;}
     288way[addr:interpolation] { z-index: 5; color: #B0E0E6; width: 3; dashes: 3,3;}
    289289
    290290/****************
     
    296296area[natural]:closed                          { color: #ADD6A5; width: 1; fill-color: #ADD6A5; fill-opacity: 0.2; }
    297297area[natural=beach]:closed                    { color: #ffdd44; width: 1; fill-color: yellow; fill-opacity: 0.2; prop_area_small_name : 1;}
    298 way[natural=coastline]                                          { color: black; width: 3; }
     298way[natural=coastline]                                          { z-index: 5; color: black; width: 3; }
    299299area[landuse]:closed                          { color: #444444; width: 2; fill-color: #444444; fill-opacity: 0.3; }
    300300area[landuse=residential]:closed              { color: #666666; width: 2; fill-color: #666666; fill-opacity: 0.15; }
     
    311311area[natural=water]:closed,
    312312area[waterway][waterway!=dam]:closed          { color: blue;    width: 2; fill-color: blue;    fill-opacity: 0.2; prop_area_small_name : 1;}
    313 way[waterway=dam]                                                       { color: black; width: 1; fill-color: #222222; fill-opacity: 0.1; prop_area_small_name : 1;}
     313way[waterway=dam]                                                       { z-index: 5; color: black; width: 1; fill-color: #222222; fill-opacity: 0.1; prop_area_small_name : 1;}
    314314area[man_made]:closed                                                   { color: black; width: 2; fill-color: #222222; fill-opacity: 0.1; prop_area_small_name : 1; }
    315315area[man_made=reservoir_covered]:closed       { color: blue; width: 2; dashes: 4, 2; fill-color: #222222; fill-opacity: 0.1; prop_area_small_name : 1; }
     
    323323area[public_transport=pay_scale_area]:closed  { color: gray;    width: 1; fill-color: gray;    fill-opacity: 0.1; }
    324324way[man_made=pier]                                                      { z-index: 4; color: #777; width: 3; casing-color: black; casing-width: 5;}
    325 way[man_made=pier][floating=yes]                        { dashes: 4,2; casing-color: #444;}
     325way[man_made=pier][floating=yes]                        { z-index: 5; dashes: 4,2; casing-color: #444;}
    326326area[leisure=marina]:closed                                     { color: pink; fill-color: pink; fill-opacity: 0.4; prop_area_small_name : 1;}
    327 way[leisure=slipway]                                            { color: grey; width: 3; casing-color: blue; casing-width: 7; }
     327way[leisure=slipway]                                            { z-index: 5; color: grey; width: 3; casing-color: blue; casing-width: 7; }
    328328area[leisure=golf_course]:closed { color: #44ee22; width: 2; fill-color: #44ee22; fill-opacity: 0.2; prop_area_small_name : 1;}
    329 way[boundary]                               { color: #000066; width: 2; opacity: 0.6; dashes: 24,4, 4, 4; z-index: 4;}
     329way[boundary]                               { z-index: 5; color: #000066; width: 2; opacity: 0.6; dashes: 24,4, 4, 4; z-index: 4;}
    330330/* Perhaps should be filled, on lower zooms. */
    331 way[boundary=national_park]                 { color: #225500; width: 2; opacity: 0.6; dashes: 24,4, 4, 4; z-index: 4;}
    332 way[boundary=protected_area]                { color: #447744; width: 2; opacity: 0.6; dashes: 12,4, 4, 4; z-index: 4;}
    333 way[boundary=administrative]                { color: purple; width: 2; opacity: 0.2; dashes: 24,4; z-index: 4;}
    334 way[boundary=administrative][waterway]      { opacity: 0.8; z-index: 4; dashes: 24,4; width: 6; }
    335 way[landuse=cemetery]                                           { color: #664466; width: 2; fill-color: #664466; opacity: 0.2; prop_area_small_name : 1;}
     331way[boundary=national_park]                 { z-index: 5; color: #225500; width: 2; opacity: 0.6; dashes: 24,4, 4, 4; z-index: 4;}
     332way[boundary=protected_area]                { z-index: 5; color: #447744; width: 2; opacity: 0.6; dashes: 12,4, 4, 4; z-index: 4;}
     333way[boundary=administrative]                { z-index: 5; color: purple; width: 2; opacity: 0.2; dashes: 24,4; z-index: 4;}
     334way[boundary=administrative][waterway]      { z-index: 5; opacity: 0.8; z-index: 4; dashes: 24,4; width: 6; }
     335way[landuse=cemetery]                                           { z-index: 5; color: #664466; width: 2; fill-color: #664466; opacity: 0.2; prop_area_small_name : 1;}
    336336/* Addressing. Nodes with addresses *and* match POIs should have a poi icon, so we put addressing first */
    337337/* Route relations */
Note: See TracChangeset for help on using the changeset viewer.