Changeset 4597 in josm for trunk/styles/standard/potlatch2.mapcss
- Timestamp:
- 2011-11-17T17:58:08+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/styles/standard/potlatch2.mapcss
r3902 r4597 59 59 way[highway=secondary],way[highway=secondary_link], 60 60 way[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; }61 way[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; } 62 62 way[highway=motorway],way[highway=motorway_link] { z-index: 9; color: #809BC0; width: 7; casing-color: black; casing-width: 8; } 63 63 way[highway=trunk],way[highway=trunk_link] { z-index: 9; color: #7FC97F; width: 7; casing-color: black; casing-width: 8; } … … 68 68 way[highway=tertiary_link] { z-index: 5; color: #FEFECB; width: 4; casing-width: 5; } 69 69 way[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; }70 way[highway=service][service!=parking_aisle] { z-index: 5; color: white; width: 3; casing-color: gray; casing-width: 5; } 71 way[highway=service][service=parking_aisle] { z-index: 5; color: white; width: 1; casing-color: #aaaaaa; casing-width: 2; } 72 way[highway=service][service=alley] { z-index: 5; color: white; width: 2; dashes: 6,2; casing-color: black; casing-width: 4; } 73 way[highway=road] { z-index: 5; color: gray; width: 5; casing-color: white; casing-width: 7; } 74 74 way[highway=living_street] { z-index: 5; color: #ddffee; width: 3; casing-color: #555555; casing-width: 4; } 75 75 76 76 /* Road areas */ 77 77 78 way[highway=pedestrian]!:closed { color: #ddddee; width: 5; casing-color: #555555; casing-width: 6; casing-dashes: 2,4;}78 way[highway=pedestrian]!:closed { z-index: 5; color: #ddddee; width: 5; casing-color: #555555; casing-width: 6; casing-dashes: 2,4;} 79 79 way[highway=pedestrian]:closed { color: #555555; width: 1; fill-color: #ddddee; fill-opacity: 0.8; } /* FIXME: dashed outline */ 80 80 81 81 /* Paths */ 82 82 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;}83 way[highway=steps] { z-index: 5; color: #FF6644; width: 6; dashes: 2, 2; } 84 way[highway=footway] { z-index: 5; color: #FF6644; width: 2; dashes: 6, 3; prop_path : 1;} 85 85 way[highway=footway][bicycle=yes] { z-index: 4; color: blue; width: 1; } 86 86 way[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;}87 way[highway=track] { z-index: 5; color: #996644; width: 2; dashes: 4, 2; prop_path : 1;} 88 way[highway=path] { z-index: 5; color: brown; width: 2; dashes: 2, 2; prop_path : 1;} 89 way[highway=cycleway] { z-index: 5; color: blue; width: 2; dashes: 4, 2; prop_path : 1;} 90 90 way[railway=tram] { z-index: 11; color: #999999; width: 2; casing-color: black; casing-width: 6; } 91 91 way[is_prop_set("prop_path")] { text:auto; text-color: black; text-position: line; text-offset: 5;} … … 93 93 /* Under construction */ 94 94 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;}95 way[highway=proposed] { z-index: 5; color: #88ffff; width: 6; dashes: 8, 4; } 96 way[highway=construction] { z-index: 5; color: #ffffbb; width: 6; dashes: 8, 4; casing-color: #0000aa; casing-width: 8; casing-dashes: 8,4;} 97 97 way[construction=rail] 98 98 { z-index: 6; color: black; width: 5; dashes: 6, 6, 4, 8;} … … 120 120 way[waterway=river], 121 121 way[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;}122 way[waterway=stream] { z-index: 5; color: blue; width: 2; text:auto; text-color:blue; font-size:9; text-position: line; text-offset: 7;} 123 way[waterway=drain] {z-index: 5; color: blue; width: 1; text:auto; text-color: blue; text-position: line; text-offset: 3;} 124 way[waterway][tunnel=yes] {z-index: 5; dashes: 8,4;} 125 125 126 126 /* Aeroways */ … … 161 161 /* Barriers */ 162 162 163 way[barrier] { color: #000000; width: 1}164 way[barrier=fence] { color: #000000; width: 1; dashes: 8,4,2,4; }163 way[barrier] {z-index: 5; color: #000000; width: 1} 164 way[barrier=fence] {z-index: 5; color: #000000; width: 1; dashes: 8,4,2,4; } 165 165 166 166 /* Power */ 167 167 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;}168 way[power=line] {z-index: 5; color: darkgray; width: 3; dashes: 12,2; casing-color: black; casing-width: 8; casing-dashes: 4, 38;} 169 way[power=minor_line] {z-index: 5; color: gray; width: 2; dashes: 2,4; casing-width: 8; casing-color: white; casing-dashes: 2,22;} 170 way[power=station]:closed { z-index: 5; color: black; width: 2; fill-color: #666666; fill-opacity: 0.6; prop_area_small_name : 1;} 171 way[power=generator]:closed { z-index: 5; color: black; width: 2; fill-color: #444444; fill-opacity: 0.6; prop_area_small_name : 1;} 172 172 173 173 /* Leisure */ 174 174 175 way[golf=hole] { color: darkgreen; width: 5; casing-color: green; casing-width: 10; }175 way[golf=hole] {z-index: 5; color: darkgreen; width: 5; casing-color: green; casing-width: 10; } 176 176 way[leisure=sports_centre]:closed { color: #66ddcc; fill-color: #66ddcc; prop_area_small_name : 1; } 177 177 … … 286 286 node[addr:housenumber]::hn_casing, 287 287 node[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;}288 way[addr:interpolation] { z-index: 5; color: #B0E0E6; width: 3; dashes: 3,3;} 289 289 290 290 /**************** … … 296 296 area[natural]:closed { color: #ADD6A5; width: 1; fill-color: #ADD6A5; fill-opacity: 0.2; } 297 297 area[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; }298 way[natural=coastline] { z-index: 5; color: black; width: 3; } 299 299 area[landuse]:closed { color: #444444; width: 2; fill-color: #444444; fill-opacity: 0.3; } 300 300 area[landuse=residential]:closed { color: #666666; width: 2; fill-color: #666666; fill-opacity: 0.15; } … … 311 311 area[natural=water]:closed, 312 312 area[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;}313 way[waterway=dam] { z-index: 5; color: black; width: 1; fill-color: #222222; fill-opacity: 0.1; prop_area_small_name : 1;} 314 314 area[man_made]:closed { color: black; width: 2; fill-color: #222222; fill-opacity: 0.1; prop_area_small_name : 1; } 315 315 area[man_made=reservoir_covered]:closed { color: blue; width: 2; dashes: 4, 2; fill-color: #222222; fill-opacity: 0.1; prop_area_small_name : 1; } … … 323 323 area[public_transport=pay_scale_area]:closed { color: gray; width: 1; fill-color: gray; fill-opacity: 0.1; } 324 324 way[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;}325 way[man_made=pier][floating=yes] { z-index: 5; dashes: 4,2; casing-color: #444;} 326 326 area[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; }327 way[leisure=slipway] { z-index: 5; color: grey; width: 3; casing-color: blue; casing-width: 7; } 328 328 area[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;}329 way[boundary] { z-index: 5; color: #000066; width: 2; opacity: 0.6; dashes: 24,4, 4, 4; z-index: 4;} 330 330 /* 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;}331 way[boundary=national_park] { z-index: 5; color: #225500; width: 2; opacity: 0.6; dashes: 24,4, 4, 4; z-index: 4;} 332 way[boundary=protected_area] { z-index: 5; color: #447744; width: 2; opacity: 0.6; dashes: 12,4, 4, 4; z-index: 4;} 333 way[boundary=administrative] { z-index: 5; color: purple; width: 2; opacity: 0.2; dashes: 24,4; z-index: 4;} 334 way[boundary=administrative][waterway] { z-index: 5; opacity: 0.8; z-index: 4; dashes: 24,4; width: 6; } 335 way[landuse=cemetery] { z-index: 5; color: #664466; width: 2; fill-color: #664466; opacity: 0.2; prop_area_small_name : 1;} 336 336 /* Addressing. Nodes with addresses *and* match POIs should have a poi icon, so we put addressing first */ 337 337 /* Route relations */
Note:
See TracChangeset
for help on using the changeset viewer.