[4771] | 1 | /* THIS FILE IS AUTO-GENERATED (SEE styles_nodist/potlatch2/README) */
|
---|
[3898] | 2 | /*
|
---|
| 3 |
|
---|
| 4 | Potlatch 2 core stylesheet
|
---|
| 5 |
|
---|
| 6 | This stylesheet should contain commonly used features and only the most essential extra attributes
|
---|
| 7 | (e.g. oneway). It needs to remain simple (not too many nested styles or dash-type decorations) in
|
---|
| 8 | order not to kill performance on slower systems and those with a less effective Flash Player (i.e.
|
---|
| 9 | Linux).
|
---|
| 10 |
|
---|
| 11 | It is expected that experienced mappers will switch between this and other stylesheets as required.
|
---|
| 12 |
|
---|
| 13 | */
|
---|
| 14 |
|
---|
| 15 | meta {
|
---|
| 16 | title: "Potlatch 2";
|
---|
| 17 | icon: "dialogs/mappaint/pl2_small.png";
|
---|
| 18 | }
|
---|
| 19 |
|
---|
| 20 | canvas {
|
---|
[7127] | 21 | fill-color: #ffffea;
|
---|
[3898] | 22 | }
|
---|
| 23 |
|
---|
[3900] | 24 | node, area {
|
---|
| 25 | text-color: black;
|
---|
| 26 | }
|
---|
| 27 |
|
---|
| 28 | relation[restriction=no_left_turn] {
|
---|
| 29 | icon-image: "vehicle/restriction/turn_restrictions/no_left_turn.png";
|
---|
| 30 | }
|
---|
| 31 | relation[restriction=no_right_turn] {
|
---|
| 32 | icon-image: "vehicle/restriction/turn_restrictions/no_right_turn.png";
|
---|
| 33 | }
|
---|
| 34 | relation[restriction=no_straight_on] {
|
---|
| 35 | icon-image: "vehicle/restriction/turn_restrictions/no_straight_on.png";
|
---|
| 36 | }
|
---|
| 37 | relation[restriction=no_u_turn] {
|
---|
| 38 | icon-image: "vehicle/restriction/turn_restrictions/no_u_turn.png";
|
---|
| 39 | }
|
---|
| 40 | relation[restriction=only_left_turn] {
|
---|
| 41 | icon-image: "vehicle/restriction/turn_restrictions/only_left_turn.png";
|
---|
| 42 | }
|
---|
| 43 | relation[restriction=only_right_turn] {
|
---|
| 44 | icon-image: "vehicle/restriction/turn_restrictions/only_right_turn.png";
|
---|
| 45 | }
|
---|
| 46 | relation[restriction=only_straight_on] {
|
---|
| 47 | icon-image: "vehicle/restriction/turn_restrictions/only_straight_on.png";
|
---|
| 48 | }
|
---|
| 49 |
|
---|
[3898] | 50 | /****************
|
---|
| 51 | * core_ways.css
|
---|
| 52 | ****************/
|
---|
| 53 |
|
---|
| 54 | /* Roads */
|
---|
| 55 |
|
---|
| 56 | way[highway=motorway],way[highway=motorway_link],
|
---|
| 57 | way[highway=trunk],way[highway=trunk_link],
|
---|
| 58 | way[highway=primary],way[highway=primary_link],
|
---|
| 59 | way[highway=secondary],way[highway=secondary_link],
|
---|
| 60 | way[highway=tertiary],way[highway=tertiary_link],
|
---|
[5218] | 61 | way[highway=residential],way[highway=unclassified] { z-index: 5; text: auto; text-color: black; font-size: 12; text-position: line; text-halo-color: white; text-halo-radius: 2; linecap: round; casing-linecap: round }
|
---|
[5215] | 62 | way[highway=motorway],way[highway=motorway_link] { z-index: 9; color: #809BC0; width: 7; casing-color: #1e375a; casing-width: 1; }
|
---|
| 63 | way[highway=trunk],way[highway=trunk_link] { z-index: 9; color: #7FC97F; width: 7; casing-color: #245424; casing-width: 1; }
|
---|
| 64 | way[highway=primary],way[highway=primary_link] { z-index: 8; color: #E46D71; width: 7; casing-color: #651316; casing-width: 1; }
|
---|
| 65 | way[highway=secondary],way[highway=secondary_link] { z-index: 7; color: #FDBF6F; width: 7; casing-color: #b16603; casing-width: 1; }
|
---|
| 66 | way[highway=tertiary],way[highway=tertiary_link] { z-index: 6; color: #FEFECB; width: 5; casing-color: #626202; casing-width: 1; }
|
---|
| 67 | way[highway=unclassified] { z-index: 6; color: #D0D0D0; width: 5; casing-width: 1; }
|
---|
| 68 | way[highway=residential] { z-index: 5; color: #E8E8E8; width: 5; casing-color: gray; casing-width: 1; }
|
---|
| 69 | way[highway=service][service!=parking_aisle] { z-index: 5; color: white; width: 3; casing-color: gray; casing-width: 1; }
|
---|
| 70 | way[highway=service][service=parking_aisle] { z-index: 5; color: white; width: 1; casing-color: #aaaaaa; casing-width: 1; }
|
---|
| 71 | way[highway=service][service=alley] { z-index: 5; color: white; width: 2; dashes: 6,2; casing-color: black; casing-width: 1; }
|
---|
| 72 | way[highway=road] { z-index: 5; color: gray; width: 5; casing-color: white; casing-width: 1; }
|
---|
| 73 | way[highway=living_street] { z-index: 5; color: #ddffee; width: 3; casing-color: #555555; casing-width: 1; }
|
---|
[3898] | 74 |
|
---|
| 75 | /* Road areas */
|
---|
| 76 |
|
---|
[5215] | 77 | way[highway=pedestrian]!:closed { z-index: 5; color: #ddddee; width: 5; casing-color: #555555; casing-width: 1; casing-dashes: 2,4;}
|
---|
| 78 | area[highway=pedestrian]:closed { color: #555555; width: 1; fill-color: #ddddee; fill-opacity: 0.8; } /* FIXME: dashed outline */
|
---|
[3898] | 79 |
|
---|
| 80 | /* Paths */
|
---|
| 81 |
|
---|
[4597] | 82 | way[highway=steps] { z-index: 5; color: #FF6644; width: 6; dashes: 2, 2; }
|
---|
| 83 | way[highway=footway] { z-index: 5; color: #FF6644; width: 2; dashes: 6, 3; prop_path : 1;}
|
---|
[5215] | 84 | way[highway=footway][bicycle=yes]::bike { z-index: 4; color: blue; width: 1; }
|
---|
[3898] | 85 | way[highway=bridleway] { z-index:9; color: #996644; width: 2; dashes: 4, 2, 2, 2; prop_path : 1;}
|
---|
[4597] | 86 | way[highway=track] { z-index: 5; color: #996644; width: 2; dashes: 4, 2; prop_path : 1;}
|
---|
| 87 | way[highway=path] { z-index: 5; color: brown; width: 2; dashes: 2, 2; prop_path : 1;}
|
---|
| 88 | way[highway=cycleway] { z-index: 5; color: blue; width: 2; dashes: 4, 2; prop_path : 1;}
|
---|
[5215] | 89 | way[is_prop_set("prop_path")] { z-index: 5; text: auto; text-color: black; text-position: line; text-offset: 7; font-size: 12; }
|
---|
[3898] | 90 |
|
---|
| 91 | /* Under construction */
|
---|
| 92 |
|
---|
[4597] | 93 | way[highway=proposed] { z-index: 5; color: #88ffff; width: 6; dashes: 8, 4; }
|
---|
[5215] | 94 | way[highway=construction] { z-index: 5; color: #ffffbb; width: 6; dashes: 8, 4; casing-color: #0000aa; casing-width: 1; casing-dashes: 8,4;}
|
---|
[3898] | 95 |
|
---|
| 96 | /* Railways */
|
---|
| 97 |
|
---|
[5215] | 98 | way[railway=rail] { z-index: 6; color: black; width: 5; linecap: round; dashes: 0; }
|
---|
| 99 | way[railway=rail]::dashes { z-index: 7; color: white; width: 3; dashes: 12,12; linecap: round; }
|
---|
[3898] | 100 |
|
---|
[5215] | 101 | way[construction=rail] { z-index: 6; color: black; width: 5; dashes: 6, 6, 4, 8;}
|
---|
| 102 | way[construction=rail]::inner { z-index: 7; color: white; width: 3; dashes: 6,18; }
|
---|
[3898] | 103 |
|
---|
[5215] | 104 | way[railway=platform] { z-index: 5; color:black; width: 2; }
|
---|
| 105 |
|
---|
| 106 | way[railway=subway] { z-index: 6; color: #444444; width: 5; }
|
---|
| 107 | way[railway=subway]::dashes { z-index: 7; color: white; width: 3; dashes: 8,8; }
|
---|
| 108 |
|
---|
| 109 | way[construction=subway] { z-index: 6; color: #444444; width: 5; dashes: 4, 4; }
|
---|
| 110 | way[construction=subway]::dashes { z-index: 7; color: white; width: 3; dashes: 4,12;}
|
---|
| 111 |
|
---|
[6351] | 112 | way[railway=disused][!highway],way[railway=abandoned][!highway] { z-index: 6; color: #444400; width: 3; dashes: 17, 2, 5, 0; }
|
---|
| 113 | way[railway=disused][!highway]::dashes,way[railway=abandoned][!highway]::dashes { z-index: 7; color: #999999; width: 2; dashes: 12,12; }
|
---|
[5215] | 114 |
|
---|
| 115 | way[railway=tram] { z-index: 11; color: #999999; width: 2; casing-color: black; casing-width: 2; }
|
---|
| 116 | way[construction=tram] { z-index: 11; color: #999999; width: 2; casing-color: black; casing-width: 2; dashes: 6, 6; casing-dashes: 6, 6; }
|
---|
| 117 |
|
---|
| 118 | way[railway=light_rail] { z-index: 6; color: black; width: 4; }
|
---|
| 119 | way[railway=light_rail]::dashes { z-index: 7; color: #999999; width: 2; dashes: 8,4; }
|
---|
| 120 |
|
---|
| 121 | way[construction=light_rail] { z-index: 6; color: black; width: 4; dashes: 8, 4, 4, 4; }
|
---|
| 122 | way[construction=light_rail]::dashes { z-index: 7; color: #999999; width: 2; dashes: 8,12; }
|
---|
| 123 |
|
---|
[6351] | 124 | /* Waterways */
|
---|
[5215] | 125 |
|
---|
| 126 | way[waterway=river],
|
---|
| 127 | way[waterway=canal],
|
---|
| 128 | way[waterway=stream] { z-index: 5; color: #3434ff; width: 2; text:auto; text-color: #3434ff; font-size:9; text-position: line; text-offset: 7;}
|
---|
[6351] | 129 | way[waterway=drain] {z-index: 5; color: #3434ff; width: 1; text:auto; text-color: #3434ff; text-position: line; text-offset: 3;}
|
---|
[4597] | 130 | way[waterway][tunnel=yes] {z-index: 5; dashes: 8,4;}
|
---|
[3898] | 131 |
|
---|
| 132 | /* Aeroways */
|
---|
| 133 |
|
---|
[5218] | 134 | way[aeroway=aerodrome]:closed
|
---|
[5215] | 135 | { z-index: 3; color: #bb44bb; width: 3; casing-color: #66066; casing-width: 1; }
|
---|
| 136 | way[aeroway=taxiway]!:closed { z-index: 8; color: #999999; width: 3; casing-color: #aa66aa; casing-width: 2; }
|
---|
[6351] | 137 | area[aeroway=taxiway]:closed { z-index: 8; color: #bb99bb; width: 3; fill-color: #ccaacc; }
|
---|
[3898] | 138 |
|
---|
[6351] | 139 | way[aeroway=runway]!:closed { z-index: 9; color: black; width: 5; }
|
---|
| 140 | way[aeroway=runway]!:closed::aa { z-index: 12; color: white; width: 5; dashes: 0, 20, 4, 76; }
|
---|
| 141 | way[aeroway=runway]!:closed::bb { z-index: 13; color: black; width: 3; }
|
---|
| 142 | way[aeroway=runway]!:closed::cc { z-index: 14; color: white; width: 1; dashes: 4, 16; }
|
---|
[3898] | 143 |
|
---|
[6351] | 144 | area[aeroway=runway]:closed { z-index: 9; color: black; width: 3; fill-color: #775577; }
|
---|
| 145 | area[aeroway=apron]:closed { z-index: 4; color: #cc66cc; width: 1; fill-color: #ddaadd; fill-opacity: 0.5;}
|
---|
[5215] | 146 |
|
---|
[3898] | 147 | /* Barriers */
|
---|
| 148 |
|
---|
[4597] | 149 | way[barrier] {z-index: 5; color: #000000; width: 1}
|
---|
| 150 | way[barrier=fence] {z-index: 5; color: #000000; width: 1; dashes: 8,4,2,4; }
|
---|
[3898] | 151 |
|
---|
| 152 | /* Power */
|
---|
| 153 |
|
---|
[5215] | 154 | way[power=line] {z-index: 5; color: darkgray; width: 3; dashes: 12,2; casing-color: black; casing-width: 2; casing-dashes: 4, 38;}
|
---|
| 155 | way[power=minor_line] {z-index: 5; color: gray; width: 2; dashes: 2,4; casing-width: 3; casing-color: white; casing-dashes: 2,22;}
|
---|
| 156 | area[power=station]:closed { color: black; width: 2; fill-color: #666666; fill-opacity: 0.6; prop_area_small_name : 1;}
|
---|
| 157 | area[power=generator]:closed { color: black; width: 2; fill-color: #444444; fill-opacity: 0.6; prop_area_small_name : 1;}
|
---|
[3898] | 158 |
|
---|
| 159 | /* Leisure */
|
---|
| 160 |
|
---|
[5215] | 161 | way[golf=hole] {z-index: 5; color: darkgreen; width: 5; casing-color: green; casing-width: 2; }
|
---|
| 162 | area[leisure=sports_centre]:closed { color: #66ddcc; fill-color: #66ddcc; prop_area_small_name : 1; }
|
---|
[3898] | 163 |
|
---|
| 164 |
|
---|
| 165 | /* Physical decoration */
|
---|
| 166 |
|
---|
[5215] | 167 | way[bridge=yes]::bridge1, way[bridge=viaduct]::bridge1, way[bridge=suspension]::bridge1 { z-index: 4; color: white; width: +3; }
|
---|
| 168 | way[bridge=yes]::bridge2, way[bridge=viaduct]::bridge2, way[bridge=suspension]::bridge2 { z-index: 3; color: #444444; width: +6; }
|
---|
| 169 | way[tunnel=yes][!waterway]::bridge1 { z-index: 4; color: white; width: +2; }
|
---|
| 170 | way[tunnel=yes][!waterway]::bridge2 { z-index: 3; color: black; width: +6; dashes: 4,4; }
|
---|
[3898] | 171 |
|
---|
| 172 | /* Attribute decoration */
|
---|
| 173 |
|
---|
[5215] | 174 | /*way[oneway=yes]::arrows, way[junction=roundabout]::arrows { z-index: 15; color: #555555; width: 2; dashes: 10,50; line-style: arrows; }
|
---|
| 175 | way[oneway=-1]::arrows { z-index: 15; color: #555555; width: 2; dashes: 10,50; line-style: arrows-reversed; }*/
|
---|
[3898] | 176 |
|
---|
| 177 | /****************
|
---|
| 178 | * core_pois.css
|
---|
| 179 | ****************/
|
---|
[5215] | 180 |
|
---|
[3900] | 181 | node { text-anchor-horizontal: center; text-anchor-vertical: below; }
|
---|
[3898] | 182 |
|
---|
[5215] | 183 | node[place] { icon-image: icons/place.png; font-family: DejaVu; text: auto; font-size: 10; font-weight: bold; z-index: 20; }
|
---|
[3898] | 184 | node[amenity=telephone] { icon-image: icons/telephone.png; z-index: 20; }
|
---|
| 185 | node[barrier=cattle_grid] { icon-image: icons/cattle_grid.png; z-index: 20; }
|
---|
| 186 | node[tourism=guesthouse] { icon-image: icons/accommodation_bed_and_breakfast.n.16.png; z-index: 20; }
|
---|
| 187 | node[tourism=alpine_hut] { icon-image: icons/accommodation_alpinehut.n.16.png; z-index: 20; }
|
---|
| 188 | node[tourism=camp_site] { icon-image: icons/accommodation_camping.n.16.png; z-index: 20; }
|
---|
| 189 | node[tourism=caravan_site] { icon-image: icons/accommodation_caravan_park.n.16.png; z-index: 20; }
|
---|
[5215] | 190 | node[tourism=chalet] { icon-image: icons/accommodation_chalet.n.16.png; z-index: 20; }
|
---|
[3898] | 191 | node[tourism=guest_house],node[tourism=bed_and_breakfast] { icon-image: icons/accommodation_bed_and_breakfast.n.16.png; z-index: 20; }
|
---|
[5215] | 192 | node[tourism=hotel] { icon-image: icons/accommodation_hotel.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
|
---|
[3898] | 193 | node[tourism=hostel] { icon-image: icons/accommodation_youth_hostel.n.16.png; z-index: 20; }
|
---|
[5215] | 194 | node[tourism=motel] { icon-image: icons/accommodation_motel.n.16.png; z-index: 20; }
|
---|
[3898] | 195 | node[amenity=fire_station] { icon-image: icons/amenity_firestation2.n.16.png; z-index: 20; }
|
---|
| 196 | node[amenity=police] { icon-image: icons/amenity_police2.n.16.png; z-index: 20; }
|
---|
| 197 | node[amenity=post_box] { icon-image: icons/amenity_post_box.n.16.png; z-index: 20; }
|
---|
| 198 | node[amenity=recycling] { icon-image: icons/amenity_recycling.n.16.png; z-index: 20; }
|
---|
| 199 | node[barrier=bollard] { icon-image: icons/barrier_bollard.n.16.png; z-index: 20; }
|
---|
| 200 | node[barrier=gate], node[highway=gate] { icon-image: icons/barrier_gate.n.16.png; z-index: 20; }
|
---|
| 201 | node[barrier=stile], node[highway=stile] { icon-image: icons/barrier_stile.n.16.png; z-index: 20; }
|
---|
| 202 | node[barrier=toll_booth] { icon-image: icons/barrier_toll_booth.n.16.png; z-index: 20; }
|
---|
| 203 | node[barrier=lift_gate] { icon-image: icons/barrier_lift_gate.n.16.png; z-index: 20; }
|
---|
| 204 | node[barrier=kissing_gate] { icon-image: icons/barrier_kissing_gate.16.png; z-index: 20; }
|
---|
| 205 | node[barrier=cycle_barrier] { icon-image: icons/barrier_cycle_barrier.16.png; z-index: 20; }
|
---|
| 206 | node[barrier=block] { icon-image: icons/barrier_blocks.16.png; z-index: 20; }
|
---|
| 207 | node[barrier=cattle_grid] { icon-image: icons/barrier_cattle_grid.16.png; z-index: 20; }
|
---|
[5215] | 208 | node[amenity=school] { icon-image: icons/education_school.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
|
---|
[6351] | 209 | area[amenity=school]:closed { color: yellow; fill-color: yellow; fill-opacity: 0.1; prop_area_small_name : 1; }
|
---|
[5215] | 210 | node[amenity=bar] { icon-image: icons/food_bar.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
|
---|
| 211 | node[amenity=cafe] { icon-image: icons/food_cafe.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
|
---|
[3898] | 212 | node[amenity=fast_food] { icon-image: icons/food_fastfood.n.16.png; z-index: 20; }
|
---|
[6351] | 213 | node[amenity=nightclub] { icon-image: icons/food_nightclub.n.16.png; text-offset: 0; text: auto; font-size: 10; z-index: 20; }
|
---|
[5218] | 214 | node[amenity=pub] { icon-image: icons/food_pub.n.16.png; text-offset: 0; text: auto; font-size: 10; z-index: 20; }
|
---|
[5215] | 215 | node[amenity=restaurant] { icon-image: icons/food_restaurant.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
|
---|
[3898] | 216 | node[amenity=hospital] { icon-image: icons/health_hospital.n.16.png; z-index: 20; }
|
---|
| 217 | node[amenity=pharmacy] { icon-image: icons/health_pharmacy.n.16.png; z-index: 20; }
|
---|
| 218 | node[amenity=atm] { icon-image: icons/money_atm.n.16.png; z-index: 20; }
|
---|
| 219 | node[amenity=bank] { icon-image: icons/money_bank2.n.16.png; z-index: 20; }
|
---|
[5215] | 220 | /* More Amenities */
|
---|
| 221 | node[amenity=bench] { icon-image: icons/amenity_bench.n.16.png; z-index: 20; }
|
---|
| 222 | node[amenity=drinking_water] { icon-image: icons/food_drinkingtap.n.16.png; z-index: 20; }
|
---|
| 223 | node[amenity=emergency_phone] { icon-image: icons/emergency-telephone-16.png; z-index: 20; }
|
---|
| 224 | node[amenity=fountain] { icon-image: icons/amenity_fountain2.n.16.png; z-index: 20; }
|
---|
| 225 | node[amenity=hunting_stand] { icon-image: icons/sport_shooting.n.16.png; z-index: 20; }
|
---|
| 226 | node[amenity=kindergarten] { icon-image: icons/education_nursery3.n.16.png; z-index: 20; text-offset:0; text: auto; font-size: 10; z-index: 20; }
|
---|
[6351] | 227 | node[amenity=library] { icon-image: icons/amenity_library.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
|
---|
[5215] | 228 | node[amenity=place_of_worship] { icon-image: icons/place_of_worship_unknown.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
|
---|
| 229 | node[amenity=post_office] { icon-image: icons/amenity_post_office.n.16.png; z-index: 20; }
|
---|
| 230 | node[amenity=shelter] { icon-image: icons/accommodation_shelter2.n.16.png; z-index: 20; }
|
---|
| 231 | node[amenity=swimming_pool] { icon-image: icons/sport_swimming_outdoor.n.16.png; z-index: 20; }
|
---|
| 232 | node[amenity=townhall] { icon-image: icons/amenity_town_hall.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
|
---|
| 233 | node[amenity=toilets] { icon-image: icons/amenity_toilets.n.16.png; z-index: 20; }
|
---|
| 234 | node[amenity=vending_machine] { icon-image: icons/shopping_vending_machine.n.16.png; z-index: 20; }
|
---|
| 235 | node[amenity=veterinary] { icon-image: icons/health_veterinary.n.8E7409.16.png; z-index: 20; }
|
---|
| 236 | node[amenity=waste_basket] { icon-image: icons/amenity_waste_bin.n.16.png; z-index: 20; }
|
---|
[6351] | 237 | node[amenity=fire_hydrant] { icon-image: icons/emergency_hydrant.n.16.png; z-index: 20; }
|
---|
| 238 | node[emergency=fire_hydrant] { icon-image: icons/emergency_hydrant.n.16.png; z-index: 20; }
|
---|
[5215] | 239 | /* Shops */
|
---|
[3898] | 240 | node[shop=alcohol] { icon-image: icons/shopping_alcohol.n.16.png; z-index: 20; }
|
---|
| 241 | node[shop=bakery] { icon-image: icons/shopping_bakery.n.16.png; z-index: 20; }
|
---|
| 242 | node[shop=bicycle] { icon-image: icons/shopping_bicycle.n.16.png; z-index: 20; }
|
---|
[5215] | 243 | node[shop=book], node[shop=books] { icon-image: icons/shopping_book.n.16.png; z-index: 20; }
|
---|
[3898] | 244 | node[shop=butcher] { icon-image: icons/shopping_butcher.n.16.png; z-index: 20; }
|
---|
| 245 | node[shop=car_repair] { icon-image: icons/shopping_car_repair.n.16.png; z-index: 20; }
|
---|
| 246 | node[shop=car] { icon-image: icons/shopping_car.n.16.png; z-index: 20; }
|
---|
| 247 | node[shop=clothes] { icon-image: icons/shopping_clothes.n.16.png; z-index: 20; }
|
---|
| 248 | node[shop=confectionery] { icon-image: icons/shopping_confectionery.n.16.png; z-index: 20; }
|
---|
| 249 | node[shop=convenience] { icon-image: icons/shopping_convenience.n.16.png; z-index: 20; }
|
---|
[6351] | 250 | node[shop=department_store] { icon-image: icons/shopping_department_store.n.16.png; z-index: 20; }
|
---|
[3898] | 251 | node[shop=doityourself] { icon-image: icons/shopping_diy.n.16.png; z-index: 20; }
|
---|
| 252 | node[shop=fishmonger] { icon-image: icons/shopping_fish.n.16.png; z-index: 20; }
|
---|
[5215] | 253 | node[shop=florist] { icon-image: icons/shopping_florist.n.16.png; z-index: 20; }
|
---|
[3898] | 254 | node[shop=garden_centre] { icon-image: icons/shopping_garden_centre.n.16.png; z-index: 20; }
|
---|
| 255 | node[shop=gift] { icon-image: icons/shopping_gift.n.16.png; z-index: 20; }
|
---|
| 256 | node[shop=greengrocer] { icon-image: icons/shopping_greengrocer.n.16.png; z-index: 20; }
|
---|
| 257 | node[shop=hairdresser] { icon-image: icons/shopping_hairdresser.n.16.png; z-index: 20; }
|
---|
| 258 | node[shop=hifi] { icon-image: icons/shopping_hifi.n.16.png; z-index: 20; }
|
---|
| 259 | node[shop=jewelry] { icon-image: icons/shopping_jewelry.n.16.png; z-index: 20; }
|
---|
[5215] | 260 | node[shop=kiosk] { icon-image: icons/shopping_kiosk.n.16.png; z-index: 20; }
|
---|
[3898] | 261 | node[shop=laundry] { icon-image: icons/shopping_laundrette.n.16.png; z-index: 20; }
|
---|
[5215] | 262 | node[amenity=marketplace] { icon-image: icons/shopping_marketplace.n.16.png; z-index: 20; }
|
---|
[3898] | 263 | node[shop=motorcycle] { icon-image: icons/shopping_motorcycle.n.16.png; z-index: 20; }
|
---|
| 264 | node[shop=music] { icon-image: icons/shopping_music.n.16.png; z-index: 20; }
|
---|
| 265 | node[shop=supermarket] { icon-image: icons/shopping_supermarket.n.16.png; z-index: 20; }
|
---|
[5215] | 266 | node[shop=toys] { icon-image: icons/shopping_toys.n.16.png; z-index: 20; }
|
---|
| 267 | /* More Touristy Items */
|
---|
| 268 | node[tourism=artwork] { icon-image: icons/tourist_art_gallery2.n.16.png; z-index: 20; }
|
---|
[3898] | 269 | node[historic=archaeological_site] { icon-image: icons/tourist_archaeological.n.16.png; z-index: 20; }
|
---|
| 270 | node[historic=battlefield] { icon-image: icons/tourist_battlefield.n.16.png; z-index: 20; }
|
---|
[5215] | 271 | node[historic=castle] { icon-image: icons/tourist_castle.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
|
---|
[3898] | 272 | node[amenity=cinema] { icon-image: icons/tourist_cinema.n.16.png; z-index: 20; }
|
---|
[5215] | 273 | node[historic=memorial] { icon-image: icons/tourist_memorial.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
|
---|
| 274 | node[historic=monument] { icon-image: icons/tourist_monument.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
|
---|
| 275 | node[tourism=museum] { icon-image: icons/tourist_museum.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
|
---|
| 276 | node[tourism=information] { icon-image: icons/tourist_information.png; z-index: 20; }
|
---|
[3898] | 277 | node[tourism=picnic_site] { icon-image: icons/tourist_picnic.n.16.png; z-index: 20; }
|
---|
[5215] | 278 | node[historic=ruins] { icon-image: icons/tourist_ruin.n.16.png; z-index: 20; }
|
---|
[3898] | 279 | node[amenity=theatre] { icon-image: icons/tourist_theatre.n.16.png; z-index: 20; }
|
---|
[5215] | 280 | node[tourism=theme_park] { icon-image: icons/tourist_theme_park.n.16.png; z-index: 20; text-offset:0; text: auto; font-size: 10; z-index: 20; }
|
---|
[3898] | 281 | node[tourism=viewpoint] { icon-image: icons/tourist_view_point.n.16.png; z-index: 20; }
|
---|
| 282 | node[tourism=zoo] { icon-image: icons/tourist_zoo.n.16.png; z-index: 20; }
|
---|
[5215] | 283 | /* Transport */
|
---|
[3898] | 284 | node[aeroway=aerodrome] { icon-image: icons/transport_aerodrome.n.16.png; z-index: 20; }
|
---|
[5215] | 285 | node[aeroway=gate] { icon-image: icons/transport_airport_gate.n.16.png; z-index: 20; }
|
---|
| 286 | node[aeroway=terminal] { icon-image: icons/transport_airport_terminal.n.16.png; z-index: 20; }
|
---|
| 287 | node[aeroway=helipad] { icon-image: icons/transport_helicopter_pad.n.16.png; z-index: 20; }
|
---|
[3898] | 288 | node[amenity=bus_station] { icon-image: icons/transport_bus_station.n.16.png; z-index: 20; }
|
---|
| 289 | node[highway=bus_stop] { icon-image: icons/transport_bus_stop2.n.16.png; z-index: 20; }
|
---|
| 290 | node[amenity=fuel] { icon-image: icons/transport_fuel.n.16.png; z-index: 20; }
|
---|
[5215] | 291 | node[amenity=car_wash] { icon-image: icons/transport_car_wash.n.16.png; z-index: 20; }
|
---|
| 292 | node[amenity=bicycle_parking] { icon-image: icons/transport_parking_bicycle.n.16.png; text-offset:0; text: capacity; font-size: 10; z-index: 20; }
|
---|
[3898] | 293 | node[amenity=parking] { icon-image: icons/transport_parking_car.n.16.png; z-index: 20; }
|
---|
| 294 | node[amenity=ferry_terminal] { icon-image: icons/transport_port.n.16.png; z-index: 20; }
|
---|
| 295 | node[amenity=bicycle_rental] { icon-image: icons/transport_rental_bicycle.n.16.png; z-index: 20; }
|
---|
| 296 | node[amenity=car_rental] { icon-image: icons/transport_rental_car.n.16.png; z-index: 20; }
|
---|
| 297 | node[amenity=taxi] { icon-image: icons/transport_taxi_rank.n.16.png; z-index: 20; }
|
---|
[5215] | 298 | node[railway=station] { icon-image: icons/transport_train_station.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
|
---|
[3898] | 299 | node[railway=tram_stop] { icon-image: icons/transport_tram_stop.n.16.png; z-index: 20; }
|
---|
| 300 | node[leisure=marina] { icon-image: icons/transport_marina.n.16.png; z-index: 20; }
|
---|
[5215] | 301 | node[highway=mini_roundabout] { icon-image: icons/transport_miniroundabout_anticlockwise.n.16.png; z-index: 20; }
|
---|
| 302 | node[highway=crossing] { icon-image: icons/transport_zebracrossing.n.16.png; z-index: 20; }
|
---|
| 303 | /* Misc */
|
---|
| 304 | node[leisure=playground] { icon-image: icons/amenity_playground.n.16.png; z-index: 20; }
|
---|
| 305 | node[leisure=sports_centre] { icon-image: icons/sport_leisure_centre.n.16.png; z-index: 20; text-offset:0; text: auto; font-size: 10; z-index: 20; }
|
---|
| 306 | /* node[landuse=cemetery], node[landuse=grave_yard] { icon-image: icons/?.png; z-index: 20; } */
|
---|
| 307 | node[man_made=survey_point] { icon-image: icons/manmade_lighthouse.png; z-index: 20; }
|
---|
| 308 | node[man_made=tower] { icon-image: icons/manmade_tower.png; z-index: 20; }
|
---|
| 309 | /* Yes these power stations seem a little backward - but that's seemingly what the side menu uses ATM */
|
---|
| 310 | node[power=station] { icon-image: icons/power_substation.n.16.png; z-index: 20; }
|
---|
| 311 | node[power=generator] { icon-image: icons/power_station.png; z-index: 20; text-offset:0; text: auto; font-size: 10; z-index: 20; }
|
---|
[6351] | 312 | /* P2 previously had these icons instead of "icon-image: cross" which is not standard MapCSS but a P2 keyword we won't implement, so keep the old icons */
|
---|
[5215] | 313 | node[power=tower] { icon-image: icons/power_tower_high2.n.16.png; z-index: 20; }
|
---|
| 314 | node[power=pole] { icon-image: icons/power_tower_low.n.16.png; z-index: 20; }
|
---|
| 315 | node[waterway=weir] { icon-image: icons/transport_weir.n.16.png; z-index: 20; }
|
---|
[3898] | 316 |
|
---|
| 317 | /* Addressing */
|
---|
| 318 |
|
---|
[3902] | 319 | node[addr:housenumber],
|
---|
| 320 | node[addr:housename] { symbol-shape: circle; symbol-size: 8; symbol-fill-color: #B0E0E6; }
|
---|
| 321 | node[addr:housenumber]::hn_casing,
|
---|
| 322 | node[addr:housename]::hn_casing { z-index: -100; symbol-shape: circle; symbol-size: 10; symbol-fill-color: blue; }
|
---|
[5215] | 323 |
|
---|
[6351] | 324 | way[addr:interpolation] { color: #B0E0E6; width: 3; dashes: 3,3;}
|
---|
[3898] | 325 | /****************
|
---|
| 326 | * core_landuse.css
|
---|
| 327 | ****************/
|
---|
| 328 |
|
---|
| 329 | /* Landuse */
|
---|
| 330 |
|
---|
[3900] | 331 | area[natural]:closed { color: #ADD6A5; width: 1; fill-color: #ADD6A5; fill-opacity: 0.2; }
|
---|
| 332 | area[natural=beach]:closed { color: #ffdd44; width: 1; fill-color: yellow; fill-opacity: 0.2; prop_area_small_name : 1;}
|
---|
[4597] | 333 | way[natural=coastline] { z-index: 5; color: black; width: 3; }
|
---|
[3900] | 334 | area[landuse]:closed { color: #444444; width: 2; fill-color: #444444; fill-opacity: 0.3; }
|
---|
| 335 | area[landuse=residential]:closed { color: #666666; width: 2; fill-color: #666666; fill-opacity: 0.15; }
|
---|
| 336 | area[landuse=retail]:closed { color: #cc2222; width: 2; fill-color: #aa4422; fill-opacity: 0.15; }
|
---|
| 337 | area[landuse=commercial]:closed { color: #4444bb; width: 2; fill-color: #444488; fill-opacity: 0.15; }
|
---|
| 338 | area[landuse=military]:closed { color: #ff4444; width: 2; fill-color: #ff4444; fill-opacity: 0.2; prop_area_small_name : 1; }
|
---|
| 339 | area[amenity]:closed, area[shop]:closed { color: #ADCEB5; width: 1; fill-color: #ADCEB5; fill-opacity: 0.2; }
|
---|
[3898] | 340 | /* way[sport] should not be rendered by itself, according to wiki. Can we make it an "if all else fails"? */
|
---|
[3900] | 341 | area[leisure]:closed { color: #8CD6B5; width: 1; fill-color: #8CD6B5; fill-opacity: 0.2; }
|
---|
| 342 | area[tourism]:closed { color: #F7CECE; width: 1; fill-color: #F7CECE; fill-opacity: 0.2; prop_area_small_name : 1;}
|
---|
[5215] | 343 | area[historic]:closed, area[ruins]:closed { color: #F7F7DE; width: 1; fill-color: #F7F7DE; fill-opacity: 0.2; prop_area_small_name : 1;}
|
---|
[3900] | 344 | area[military]:closed { color: #D6D6D6; width: 1; fill-color: #D6D6D6; fill-opacity: 0.2; prop_area_small_name : 1;}
|
---|
[5215] | 345 | area[building]:closed { color: #bca9a9; width: 1; fill-color: #ff6ec7; fill-opacity: 0.2; }
|
---|
[3900] | 346 | area[natural=water]:closed,
|
---|
[5215] | 347 | area[waterway][waterway!=dam]:closed { color: #3434ff; width: 2; fill-color: #3434ff; fill-opacity: 0.2; prop_area_small_name : 1;}
|
---|
[6352] | 348 | way[waterway=dam]!:closed { z-index: 5; color: black; width: 3; }
|
---|
| 349 | area[waterway=dam]:closed { z-index: 5; color: black; width: 1; fill-color: #222222; fill-opacity: 0.1; prop_area_small_name : 1;}
|
---|
[3900] | 350 | area[man_made]:closed { color: black; width: 2; fill-color: #222222; fill-opacity: 0.1; prop_area_small_name : 1; }
|
---|
[5215] | 351 | area[man_made=reservoir_covered]:closed { color: #3434ff; width: 2; dashes: 4, 2; fill-color: #222222; fill-opacity: 0.1; prop_area_small_name : 1; }
|
---|
| 352 | area[landuse=reservoir]:closed { color: #3434ff; width: 2; fill-color: #3434ff; fill-opacity: 0.2; prop_area_small_name : 1;}
|
---|
| 353 | area[landuse=forest]:closed, area[natural=wood]:closed { color: green; width: 2; fill-color: green; fill-opacity: 0.2; prop_area_small_name : 1;}
|
---|
[3900] | 354 | area[leisure=park]:closed { color: #22aa22; width: 2; fill-color: #44ff44; fill-opacity: 0.15; prop_area_small_name : 1;}
|
---|
| 355 | area[leisure=garden]:closed { color: #66ff44; width: 1; fill-color: #66ff44; fill-opacity: 0.2; prop_area_small_name : 1;}
|
---|
| 356 | area[leisure=pitch]:closed { z-index: 6; color: #88bb44; width: 2; fill-color: #88ff44; fill-opacity: 0.2; prop_area_small_name : 1;}
|
---|
| 357 | area[landuse=recreation_ground]:closed { color: green; fill-color: green; prop_area_small_name : 1;}
|
---|
| 358 | area[amenity=parking]:closed { color: #bbaa66; width: 1; fill-color: #bbaa66; fill-opacity: 0.2; }
|
---|
| 359 | area[public_transport=pay_scale_area]:closed { color: gray; width: 1; fill-color: gray; fill-opacity: 0.1; }
|
---|
[5215] | 360 | way[man_made=pier] { z-index: 4; color: #777; width: 3; casing-color: black; casing-width: 1;}
|
---|
[4597] | 361 | way[man_made=pier][floating=yes] { z-index: 5; dashes: 4,2; casing-color: #444;}
|
---|
[3900] | 362 | area[leisure=marina]:closed { color: pink; fill-color: pink; fill-opacity: 0.4; prop_area_small_name : 1;}
|
---|
[5215] | 363 | way[leisure=slipway] { z-index: 5; color: grey; width: 3; casing-color: #3434ff; casing-width: 2; }
|
---|
[3900] | 364 | area[leisure=golf_course]:closed { color: #44ee22; width: 2; fill-color: #44ee22; fill-opacity: 0.2; prop_area_small_name : 1;}
|
---|
[4597] | 365 | way[boundary] { z-index: 5; color: #000066; width: 2; opacity: 0.6; dashes: 24,4, 4, 4; z-index: 4;}
|
---|
[3898] | 366 | /* Perhaps should be filled, on lower zooms. */
|
---|
[4597] | 367 | way[boundary=national_park] { z-index: 5; color: #225500; width: 2; opacity: 0.6; dashes: 24,4, 4, 4; z-index: 4;}
|
---|
| 368 | way[boundary=protected_area] { z-index: 5; color: #447744; width: 2; opacity: 0.6; dashes: 12,4, 4, 4; z-index: 4;}
|
---|
| 369 | way[boundary=administrative] { z-index: 5; color: purple; width: 2; opacity: 0.2; dashes: 24,4; z-index: 4;}
|
---|
| 370 | way[boundary=administrative][waterway] { z-index: 5; opacity: 0.8; z-index: 4; dashes: 24,4; width: 6; }
|
---|
[5376] | 371 | area[landuse=cemetery]:closed { color: #664466; width: 2; fill-color: #664466; opacity: 0.2; prop_area_small_name : 1;}
|
---|
[3898] | 372 | /* Addressing. Nodes with addresses *and* match POIs should have a poi icon, so we put addressing first */
|
---|
[6351] | 373 | /* Route relations */
|
---|
| 374 |
|
---|
| 375 | relation[type=route] > way::route { z-index: -1; width: 13; color: blue; opacity: 0.3; linecap: none; }
|
---|
| 376 | relation[type=route][route=bicycle][network=ncn] > way::route { z-index: -1; width: 12; color: red; opacity: 0.3; linecap: none; }
|
---|
| 377 | relation[type=route][route=bicycle][network=rcn] > way::route { z-index: -1; width: 12; color: cyan; opacity: 0.3; linecap: none; }
|
---|
| 378 | relation[type=route][route=bicycle][network=lcn] > way::route { z-index: -1; width: 12; color: blue; opacity: 0.3; linecap: none; }
|
---|
| 379 | relation[type=route][route=mtb] > way::route { z-index: -1; width: 12; color: brown; opacity: 0.3; linecap: none; }
|
---|
| 380 | relation[type=route][route=foot] > way::route { z-index: -1; width: 10; color: #80ff80; opacity: 0.6; linecap: none; }
|
---|
[3898] | 381 |
|
---|
| 382 | /*@import("stylesheets/core_ways.css");*/
|
---|
| 383 | /*@import("stylesheets/core_pois.css");*/
|
---|
| 384 | /*@import("stylesheets/core_landuse.css");*/
|
---|
| 385 | /*@import("stylesheets/core_relations.css");*/
|
---|
[6366] | 386 | way[is_prop_set("prop_area_small_name")] {text-color: black; font-size: 10; text: auto; text-halo: #ffffaa; text-halo-radius: 2; text-position: center;}
|
---|
[3898] | 387 | /*@import("stylesheets/core_interactive.css");*/
|
---|
| 388 |
|
---|
[5215] | 389 | /* Rendering for licence status */
|
---|
| 390 |
|
---|
| 391 | /*way[_status=no]::status { z-index: 0; width: eval('_width+7'); color: #AA0000; }
|
---|
| 392 | way[_status=partial]::status { z-index: 0; width: eval('_width+7'); color: #AA0000; opacity: 0.6; }
|
---|
| 393 | way[_status=unsure]::status { z-index: 0; width: eval('_width+7'); color: darkorange; opacity: 0.6; }
|
---|
| 394 | node[_status=no]::status { z-index: 0; icon-image: square; icon-width: eval('_width+7'); color: #AA0000; }
|
---|
| 395 | node[_status=partial]::status { z-index: 0; icon-image: square; icon-width: eval('_width+7'); color: #AA0000; opacity: 0.6; }
|
---|
| 396 | node[_status=unsure]::status { z-index: 0; icon-image: square; icon-width: eval('_width+7'); color: darkorange; opacity: 0.6; }*/
|
---|