== BAR damage assessment methodology style == This 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. You can contact me via [osmwww:message/new/jgc email] {{{ #!style type="mapcss" meta { title: "BAR damage assessment methodology style"; 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"; icon: "matrix-icons.png"; version: "0.[[revision]]_[[date]]"; author: "jgc"; link: "http://josm.openstreetmap.de/wiki/Styles/BAR-damage-assessment"; } /* Based on: http://hhi.harvard.edu/publications/satellite-imagery-interpretation-guide-assessing-wind-disaster-damage-structures , adapted for OSM (mapcss style adapted from http://josm.openstreetmap.de/wiki/Styles/JP-Tsunami) */ node[damage=none][damage:structure=light] {icon-image: "light-none-16.png"} node[damage=minimal][damage:structure=light] {icon-image: "light-minimal-16.png"} node[damage=significant][damage:structure=light] {icon-image: "light-significant-16.png"} node[damage=complete][damage:structure=light] {icon-image: "light-complete-16.png"} node[damage=none][damage:structure=medium] {icon-image: "medium-none-16.png"} node[damage=minimal][damage:structure=medium] {icon-image: "medium-minimal-16.png"} node[damage=significant][damage:structure=medium] {icon-image: "medium-significant-16.png"} node[damage=complete][damage:structure=medium] {icon-image: "medium-complete-16.png"} node[damage=none][damage:structure=heavy] {icon-image: "heavy-none-16.png"} node[damage=minimal][damage:structure=heavy] {icon-image: "heavy-minimal-16.png"} node[damage=significant][damage:structure=heavy] {icon-image: "heavy-significant-16.png"} node[damage=complete][damage:structure=heavy] {icon-image: "heavy-complete-16.png"} area[damage=none][damage:structure=light]:closed {fill-image: "light-none-16.png"} area[damage=minimal][damage:structure=light]:closed {fill-image: "light-minimal-16.png"} area[damage=significant][damage:structure=light]:closed {fill-image: "light-significant-16.png"} area[damage=complete][damage:structure=light]:closed {fill-image: "light-complete-16.png"} area[damage=none][damage:structure=medium]:closed {fill-image: "medium-none-16.png"} area[damage=minimal][damage:structure=medium]:closed {fill-image: "medium-minimal-16.png"} area[damage=significant][damage:structure=medium]:closed {fill-image: "medium-significant-16.png"} area[damage=complete][damage:structure=medium]:closed {fill-image: "medium-complete-16.png"} area[damage=complete][damage:structure=medium]:closed {fill-image: "medium-complete-16.png"} area[damage=none][damage:structure=heavy]:closed {fill-image: "heavy-none-16.png"} area[damage=minimal][damage:structure=heavy]:closed {fill-image: "heavy-minimal-16.png"} area[damage=significant][damage:structure=heavy]:closed {fill-image: "heavy-significant-16.png"} area[damage=complete][damage:structure=heavy]:closed {fill-image: "heavy-complete-16.png"} /* Kept from PierZen's JP-Tsunami: */ /* control node size to help vizualise damaged zones at lower zoom levels */ node[note] { icon-size:4; z-index: 1;} node|z1-17 { symbol-shape: square; symbol-stroke-color: rosybrown; symbol-fill-color: rosybrown; symbol-size: 1; z-index:1} node|z18 { symbol-shape: square; symbol-stroke-color: navy; symbol-fill-color: rosybrown; symbol-size:5; z-index:1} node|z19- { symbol-shape: square; symbol-stroke-color: navy; symbol-fill-color: rosybrown; symbol-size:6; z-index:1} }}}