Changes between Initial Version and Version 1 of Styles/BAR-damage-assessment


Ignore:
Timestamp:
2016-03-15T12:23:09+01:00 (9 years ago)
Author:
jgc31
Comment:

Initial version (for now, as long as icon-image doesn't work for areas, fill-image is used - filling the buildings polygons. See https://josm.openstreetmap.de/ticket/10176#comment:18)

Legend:

Unmodified
Added
Removed
Modified
  • Styles/BAR-damage-assessment

    v1 v1  
     1== BAR damage assessment methodology style ==
     2
     3This preset supplies colored and shaped icons and classes, for tagging visible structural strength and damage scale of buildings, according to [http://hhi.harvard.edu/publications/satellite-imagery-interpretation-guide-assessing-wind-disaster-damage-structures HHI BAR damage assessment methodology], adapted for OSM.
     4
     5{{{
     6#!style type="mapcss"
     7meta
     8{
     9    title: "BAR damage assessment methodology style";
     10    description: "Displays colored and shaped icons, to show tagging of visible structural strength and damage scale of buildings, according to HHI BAR damage assessment methodology, adapted for OSM";
     11    icon: "matrix-icons-64.png";
     12    version: "0.[[revision]]_[[date]]";
     13    author: "jgc  <jgc at arkemie dot org>";
     14    link: "http://josm.openstreetmap.de/wiki/Styles/BAR-damage-assessment";
     15}
     16/*
     17   Based on: http://hhi.harvard.edu/publications/satellite-imagery-interpretation-guide-assessing-wind-disaster-damage-structures , adapted for OSM
     18   
     19   (mapcss style adapted from http://josm.openstreetmap.de/wiki/Styles/JP-Tsunami)
     20*/
     21node[damage=none][damage:structure=light] {icon-image: "light-none-16.png"}
     22node[damage=minimal][damage:structure=light] {icon-image: "light-minimal-16.png"}
     23node[damage=significant][damage:structure=light] {icon-image: "light-significant-16.png"}
     24node[damage=complete][damage:structure=light] {icon-image: "light-complete-16.png"}
     25node[damage=none][damage:structure=medium] {icon-image: "medium-none-16.png"}
     26node[damage=minimal][damage:structure=medium] {icon-image: "medium-minimal-16.png"}
     27node[damage=significant][damage:structure=medium] {icon-image: "medium-significant-16.png"}
     28node[damage=complete][damage:structure=medium] {icon-image: "medium-complete-16.png"}
     29node[damage=none][damage:structure=heavy] {icon-image: "heavy-none-16.png"}
     30node[damage=minimal][damage:structure=heavy] {icon-image: "heavy-minimal-16.png"}
     31node[damage=significant][damage:structure=heavy] {icon-image: "heavy-significant-16.png"}
     32node[damage=complete][damage:structure=heavy] {icon-image: "heavy-complete-16.png"}
     33
     34area[damage=none][damage:structure=light]:closed {fill-image: "light-none-16.png"}
     35area[damage=minimal][damage:structure=light]:closed {fill-image: "light-minimal-16.png"}
     36area[damage=significant][damage:structure=light]:closed {fill-image: "light-significant-16.png"}
     37area[damage=complete][damage:structure=light]:closed {fill-image: "light-complete-16.png"}
     38area[damage=none][damage:structure=medium]:closed {fill-image: "medium-none-16.png"}
     39area[damage=minimal][damage:structure=medium]:closed {fill-image: "medium-minimal-16.png"}
     40area[damage=significant][damage:structure=medium]:closed {fill-image: "medium-significant-16.png"}
     41area[damage=complete][damage:structure=medium]:closed {fill-image: "medium-complete-16.png"}
     42area[damage=complete][damage:structure=medium]:closed {fill-image: "medium-complete-16.png"}
     43area[damage=none][damage:structure=heavy]:closed {fill-image: "heavy-none-16.png"}
     44area[damage=minimal][damage:structure=heavy]:closed {fill-image: "heavy-minimal-16.png"}
     45area[damage=significant][damage:structure=heavy]:closed {fill-image: "heavy-significant-16.png"}
     46area[damage=complete][damage:structure=heavy]:closed {fill-image: "heavy-complete-16.png"}
     47
     48
     49/* Kept from PierZen's JP-Tsunami: */
     50/* control node size to help vizualise damaged zones at lower zoom levels */
     51node[note] { icon-size:4; z-index: 1;}
     52node|z1-17 { symbol-shape: square; symbol-stroke-color: rosybrown; symbol-fill-color: rosybrown; symbol-size: 1; z-index:1}
     53node|z18 { symbol-shape: square; symbol-stroke-color: navy; symbol-fill-color: rosybrown; symbol-size:5;  z-index:1}
     54node|z19- { symbol-shape: square; symbol-stroke-color: navy; symbol-fill-color: rosybrown; symbol-size:6;  z-index:1}