== Disaster damage assessment style == Displays colored icons and fill colors, to show tagging of visible damage scale of structures and filled patterns for roofing materials. Designed for use with [https://josm.openstreetmap.de/wiki/Presets/DisasterDamageAssessment this preset]. You can contact me via [osmwww:message/new/SeverinGeo my OSM username] {{{ #!style type="mapcss" meta { title: "Disaster damage assessment"; description: "Displays colored icons and fill colors, to show tagging of visible damage scale of structures and filled patterns for roof materials."; /* fr.description: "Affiche des icônes colorées et des couleurs de remplissage, pour montrer l'étiquetage de l'échelle des dommages visibles des structures et des motifs pour les matériaux de toiture."; es.description: "Muestra iconos de colores y colores de relleno, para mostrar el etiquetado de la escala de daños visibles de las estructuras y patrones de relleno para los materiales del techo."; pt.description: "Apresenta ícones coloridos e cores de preenchimento, para mostrar a marcação da escala de danos visíveis das estruturas e padrões preenchidos para materiais de cobertura."; pt_BR.description: "Apresenta ícones coloridos e cores de preenchimento, para mostrar a marcação da escala de danos visíveis das estruturas e padrões preenchidos para materiais de cobertura."; */ version: "1.0.[[revision]]_[[date]]"; author: "SeverinGeo"; icon: "matrix-icons.png"; link: "https://josm.openstreetmap.de/wiki/Styles/DisasterDamageAssessment"; } /* Adapted from jgc's style for HHI BAR damage assessment methodology: https://hhi.harvard.edu/publications/satellite-imagery-interpretation-guide-assessing-wind-disaster-damage-structures , adapted for OSM (mapcss style adapted from https://josm.openstreetmap.de/wiki/Styles/JP-Tsunami) */ node[damage=none] {icon-image: "medium-none-16.png"; icon-opacity: 0.7; icon-width:14;} node[damage=minimal] {icon-image: "medium-minimal-16.png"; icon-opacity: 0.7; icon-width:14;} node[damage=significant] {icon-image: "medium-significant-16.png"; icon-opacity: 0.7; icon-width:14;} node[damage=complete] {icon-image: "medium-complete-16.png"; icon-opacity: 0.7; icon-width:14;} /* node:selected {symbol-shape: square;symbol-size: 18; symbol-fill-color: node_selected#ff0000;symbol-stroke-color: node_selected#ff0000; z-index: 1;}*/ area[damage=none]:closed {fill-opacity:0.3; width: 1.2; fill-color: #00e800;} area[damage=minimal]:closed {fill-opacity:0.3; width: 1.2; fill-color: #fde600;} area[damage=significant]:closed {fill-opacity:0.3; width: 1.2; fill-color: #fd9100;} area[damage=complete] {fill-opacity:0.3; fill-color: #fd0000; z-index: 1;} way[roof:material=metal]:closed, way[roof:material=metal_sheet]:closed { width: 1.5; color: black; dashes: 6,6; } way[roof:material=copper]:closed, way[roof:material=eternit]:closed, way[roof:material=glass]:closed, way[roof:material=grass]:closed, way[roof:material=gravel]:closed, way[roof:material=roof_tiles]:closed, way[roof:material=slate]:closed, way[roof:material=stones]:closed, way[roof:material=tar_paper]:closed, way[roof:material=thatch]:closed, way[roof:material=wood]:closed { width: 1.5; color: black; dashes: 20,5; } way[roof:material=concrete] { width: 2; color: black; } /*way[!damage][roof:material] { text: eval("Damage ?"); text-color: #f30122; text-halo-color: white; font-size: 11; text-position: center; }*/ way[!roof:material][damage] { text: eval("Roof material ?"); text-color: #f30122; text-halo-color: white; font-size: 11; text-position: center; } way[!roof:material][!damage][building] { width: 1.5; color: white; } node|z1-19 { symbol-shape: square; symbol-stroke-color: rosybrown; symbol-fill-color: rosybrown; symbol-size: 1; z-index:1} }}}