Changeset 6351 in josm for trunk/styles/standard


Ignore:
Timestamp:
2013-11-02T00:25:21+01:00 (11 years ago)
Author:
Don-vip
Message:

update P2 map paint style: support of amenity=library, amenity=nightclub, emergency=fire_hydrant, shop=department_store

File:
1 edited

Legend:

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

    r5376 r6351  
    110110way[construction=subway]::dashes  { z-index: 7; color: white; width: 3; dashes: 4,12;}
    111111
    112 way[railway=disused],way[railway=abandoned] { z-index: 6; color: #444400; width: 3; dashes: 17, 2, 5, 0; }
    113 way[railway=disused]::dashes,way[railway=abandoned]::dashes { z-index: 7; color: #999999; width: 2; dashes: 12,12; }
     112way[railway=disused][!highway],way[railway=abandoned][!highway] { z-index: 6; color: #444400; width: 3; dashes: 17, 2, 5, 0; }
     113way[railway=disused][!highway]::dashes,way[railway=abandoned][!highway]::dashes { z-index: 7; color: #999999; width: 2; dashes: 12,12; }
    114114
    115115way[railway=tram]      { z-index: 11; color: #999999; width: 2; casing-color: black; casing-width: 2; }
     
    122122way[construction=light_rail]::dashes { z-index: 7; color: #999999; width: 2; dashes: 8,12; }
    123123
    124 /* Waterways */ 
     124/* Waterways */ 
    125125
    126126way[waterway=river],
    127127way[waterway=canal],
    128128way[waterway=stream]   { z-index: 5; color: #3434ff; width: 2; text:auto; text-color: #3434ff; font-size:9; text-position: line; text-offset: 7;}
    129 way[waterway=drain]                     {z-index: 5; color: #3434ff; width: 1; text:auto; text-color: #3434ff; text-position: line; text-offset: 3;}
     129way[waterway=drain]             {z-index: 5; color: #3434ff; width: 1; text:auto; text-color: #3434ff; text-position: line; text-offset: 3;}
    130130way[waterway][tunnel=yes]                {z-index: 5; dashes: 8,4;}
    131131
     
    134134way[aeroway=aerodrome]:closed
    135135    { z-index: 3; color: #bb44bb; width: 3; casing-color: #66066;  casing-width: 1;  }
    136 way|z-15[aeroway=aerodrome]:closed
    137     { z-index: 3; fill-color: #bb99bb;  fill-opacity: 0.5;}
    138136way[aeroway=taxiway]!:closed { z-index: 8; color: #999999; width: 3; casing-color: #aa66aa; casing-width: 2; }
    139 area[aeroway=taxiway]:closed { z-index: 8; color: #bb99bb; width: 3; fill-color: #ccaacc; }
    140 
    141 way|z17-[aeroway=runway]!:closed { z-index: 9; color: black; width: 11; casing-color: #aa66aa; casing-width: 1; }
    142 way|z17-[aeroway=runway]!:closed::aa { z-index: 10; color: white; width: 9;  dashes: 0, 20, 4, 76; }
    143 way|z17-[aeroway=runway]!:closed::bb { z-index: 11; color: black; width: 7; }
    144 way|z17-[aeroway=runway]!:closed::cc { z-index: 12; color: white; width: 5;  dashes: 0, 20, 4, 76; }
    145 way|z17-[aeroway=runway]!:closed::dd { z-index: 13; color: black; width: 3; }
    146 way|z17-[aeroway=runway]!:closed::ee { z-index: 14; color: white; width: 1;  dashes: 4, 16; }
    147 
    148 way|z15-16[aeroway=runway]!:closed { z-index: 9; color: black; width: 5;  }
    149 way|z15-16[aeroway=runway]!:closed::aa { z-index: 12; color: white; width: 5;  dashes: 0, 20, 4, 76; }
    150 way|z15-16[aeroway=runway]!:closed::bb { z-index: 13; color: black; width: 3; }
    151 way|z15-16[aeroway=runway]!:closed::cc { z-index: 14; color: white; width: 1;  dashes: 4, 16; }
    152 
    153 way|z-14[aeroway=runway]!:closed { z-index: 9; color: #444444; width: 3;  }
    154 
    155 area[aeroway=runway]:closed { z-index: 9; color: black; width: 3; fill-color: #775577; }
    156 area[aeroway=apron]:closed { z-index: 4; color: #cc66cc; width: 1; fill-color: #ddaadd; fill-opacity: 0.5;}
     137area[aeroway=taxiway]:closed { z-index: 8; color: #bb99bb; width: 3; fill-color: #ccaacc; }
     138
     139way[aeroway=runway]!:closed { z-index: 9; color: black; width: 5;  }
     140way[aeroway=runway]!:closed::aa { z-index: 12; color: white; width: 5;  dashes: 0, 20, 4, 76; }
     141way[aeroway=runway]!:closed::bb { z-index: 13; color: black; width: 3; }
     142way[aeroway=runway]!:closed::cc { z-index: 14; color: white; width: 1;  dashes: 4, 16; }
     143
     144area[aeroway=runway]:closed { z-index: 9; color: black; width: 3; fill-color: #775577; }
     145area[aeroway=apron]:closed { z-index: 4; color: #cc66cc; width: 1; fill-color: #ddaadd; fill-opacity: 0.5;}
    157146
    158147/* Barriers */
     
    218207node[barrier=cattle_grid] { icon-image: icons/barrier_cattle_grid.16.png; z-index: 20; }
    219208node[amenity=school] { icon-image: icons/education_school.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
    220 aera[amenity=school]:closed { color: yellow; fill-color: yellow; fill-opacity: 0.1; prop_area_small_name : 1; }
     209area[amenity=school]:closed { color: yellow; fill-color: yellow; fill-opacity: 0.1; prop_area_small_name : 1; }
    221210node[amenity=bar] { icon-image: icons/food_bar.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
    222211node[amenity=cafe] { icon-image: icons/food_cafe.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
    223212node[amenity=fast_food] { icon-image: icons/food_fastfood.n.16.png; z-index: 20; }
     213node[amenity=nightclub] { icon-image: icons/food_nightclub.n.16.png; text-offset: 0; text: auto; font-size: 10; z-index: 20; }
    224214node[amenity=pub] { icon-image: icons/food_pub.n.16.png; text-offset: 0; text: auto; font-size: 10; z-index: 20; }
    225215node[amenity=restaurant] { icon-image: icons/food_restaurant.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
     
    235225node[amenity=hunting_stand] { icon-image: icons/sport_shooting.n.16.png; z-index: 20; }
    236226node[amenity=kindergarten] { icon-image: icons/education_nursery3.n.16.png; z-index: 20; text-offset:0; text: auto; font-size: 10; z-index: 20; }
     227node[amenity=library] { icon-image: icons/amenity_library.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
    237228node[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; }
    238229node[amenity=post_office] { icon-image: icons/amenity_post_office.n.16.png; z-index: 20; }
     
    244235node[amenity=veterinary] { icon-image: icons/health_veterinary.n.8E7409.16.png; z-index: 20; }
    245236node[amenity=waste_basket] { icon-image: icons/amenity_waste_bin.n.16.png; z-index: 20; }
     237node[amenity=fire_hydrant] { icon-image: icons/emergency_hydrant.n.16.png; z-index: 20; }
     238node[emergency=fire_hydrant] { icon-image: icons/emergency_hydrant.n.16.png; z-index: 20; }
    246239/* Shops */
    247240node[shop=alcohol] { icon-image: icons/shopping_alcohol.n.16.png; z-index: 20; }
     
    255248node[shop=confectionery] { icon-image: icons/shopping_confectionery.n.16.png; z-index: 20; }
    256249node[shop=convenience] { icon-image: icons/shopping_convenience.n.16.png; z-index: 20; }
     250node[shop=department_store] { icon-image: icons/shopping_department_store.n.16.png; z-index: 20; }
    257251node[shop=doityourself] { icon-image: icons/shopping_diy.n.16.png; z-index: 20; }
    258252node[shop=fishmonger] { icon-image: icons/shopping_fish.n.16.png; z-index: 20; }
     
    316310node[power=station] { icon-image: icons/power_substation.n.16.png; z-index: 20; }
    317311node[power=generator] { icon-image: icons/power_station.png; z-index: 20; text-offset:0; text: auto; font-size: 10; z-index: 20; }
     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 */
    318313node[power=tower] { icon-image: icons/power_tower_high2.n.16.png; z-index: 20; }
    319314node[power=pole] { icon-image: icons/power_tower_low.n.16.png; z-index: 20; }
     
    327322node[addr:housename]::hn_casing { z-index: -100; symbol-shape: circle; symbol-size: 10; symbol-fill-color: blue; }
    328323
    329 way[addr:interpolation] { z-index: 5; color: #B0E0E6; width: 3; dashes: 3,3;}
     324way[addr:interpolation] { color: #B0E0E6; width: 3; dashes: 3,3;}
    330325/****************
    331326 * core_landuse.css
Note: See TracChangeset for help on using the changeset viewer.