wiki:Styles/JP-Tsunami

Version 1 (modified by pierzen, 8 years ago) (diff)

--

This style adds a few POIS related to Tsunami plus Surface / Roads with damages, obstacles. The surfaces and roads are colored in red. Block nodes are represented with an X. And finally, areas tagged with [natural=wetland] and [wetland=tsunami] are represented with the Marsh symbol.

meta 
{
    title: "Japan Tsunami POIS";
    description: "POIS related to Tsunami plus Surface / Roads with damages, obstacles";
    version: "1.0_2011-04-21";
    author: "PierZen";
    
    watch-modified: true;
    link: "http://josm.openstreetmap.de/wiki/Styles/JP-Tsunami"; 
}

/*
   Icons source : Lübeck POI Map, Potlatch2 and JOSM.
*/

node[amenity=kindergarten] { icon-image: http://pierzen.dev.openstreetmap.org/hot/josm/http://pierzen.dev.openstreetmap.org/hot/josm/icons/education_nursery3.n.16.png; z-index: 20; }
node[amenity=nursing_home] { icon-image: http://pierzen.dev.openstreetmap.org/hot/josm/icons/hot_nurse.16.png; z-index: 20; }
node[amenity=community_centre],
node[amenity=comunity_centre],
node[amenity=social_facility] { icon-image: http://pierzen.dev.openstreetmap.org/hot/josm/icons/hot_social_facility.16.png; z-index: 20; }
node[amenity=public_building] { icon-image: http://pierzen.dev.openstreetmap.org/hot/josm/icons/hot_public_building.16.png; z-index: 20; }
node[leisure=playground] { icon-image: http://pierzen.dev.openstreetmap.org/hot/josm/icons/amenity_playground.n.16.png; z-index: 20; }
node[amenity=post_office] { icon-image: http://pierzen.dev.openstreetmap.org/hot/josm/icons/amenity_post_box.n.16.png; z-index: 20; }
node[social_facility=food_bank] { icon-image: http://pierzen.dev.openstreetmap.org/hot/josm/icons/hot_social_food_bank.16.png; z-index: 20; }
node[amenity=crematorium] { icon-image: http://pierzen.dev.openstreetmap.org/hot/josm/icons/hot_crematorium.16.png; z-index: 20; }
node[amenity=mortuary] { icon-image: http://pierzen.dev.openstreetmap.org/hot/josm/icons/hot_mortuary.16.png; z-index: 20; }
node[aeroway=helipad] { icon-image: http://pierzen.dev.openstreetmap.org/hot/josm/icons/hot_helipad.16.png; z-index: 20; }
node[power=generator][power_source=nuclear] { icon-image: http://pierzen.dev.openstreetmap.org/hot/josm/icons/hot_nuclear_power.16.png; z-index: 10; }
node[power=generator][generator:source=nuclear] { icon-image: http://pierzen.dev.openstreetmap.org/hot/josm/icons/hot_nuclear_power.16.png; z-index: 10; }
way[access=closed], way[practicability=no], way[barrier=obstacle],
way[impassable=YES], way[impassable=yes] { color: orange;  casing-color: red; dashes: 2, 8;}
area[landuse=brownfield],
area[obstacletype=debris], area[tsunami]  {color:red;  width:4; fill-color: red; opacity:0.3;}
area[natural=wetland][wetland=tsunami] { color: red; width:4; opacity:0.3;  fill-color: red; fill-image: "http://pierzen.dev.openstreetmap.org/hot/josm/icons/marsh.png"}
node[impassable=YES], node[impassable=yes],
node[obstacletype], node[barrier:obstacletype] { icon-image: http://pierzen.dev.openstreetmap.org/hot/josm/icons/hot_obstacle.16.png; icon-width: 25; z-index: 21;}
node[barrier:obstacle], node[barrier:obstacle_type], node[Barrier:obstacle_type]  { icon-image: http://pierzen.dev.openstreetmap.org/hot/josm/icons/hot_obstacle.16.png; icon-width: 25; z-index: 21;}
node[barrier:damage_type], node[barrier=debris],
node[earthquake:damage], node[tsunami:damage],
node[blocked=yes], node[barrier=obstacle]  { icon-image: http://pierzen.dev.openstreetmap.org/hot/josm/icons/hot_obstacle.16.png; icon-width: 25; z-index: 21;}
node[highway][barrier:obstacle_type=debris],
 { icon-image: http://pierzen.dev.openstreetmap.org/hot/josm/icons/hot_obstacle.16.png; icon-width: 25; z-index: 21;}
node[note] { icon-image: http://pierzen.dev.openstreetmap.org/hot/josm/icons/hot_note.16.png; z-index: 21;}

Styles_JP-Tsunami-style.mapcss, Styles_JP-Tsunami.zip

You can contact me via http://www.openstreetmap.org/message/new/PierZen

Attachments (1)

Download all attachments as: .zip