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 this preset. You can contact me via my OSM username
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.10_2025-02-02"; 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;} 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;} node[damage:Chido=none] {icon-image: "medium-none-16.png"; icon-opacity: 0.7; icon-width:14;} node[damage:Chido=minimal] {icon-image: "medium-minimal-16.png"; icon-opacity: 0.7; icon-width:14;} node[damage:Chido=significant] {icon-image: "medium-significant-16.png"; icon-opacity: 0.7; icon-width:14;} node[damage:Chido=complete] {icon-image: "medium-complete-16.png"; icon-opacity: 0.7; icon-width:14;} area[damage:Chido=none]:closed {fill-opacity:0.3; width: 1.2; fill-color: #00e800;} area[damage:Chido=minimal]:closed {fill-opacity:0.3; width: 1.2; fill-color: #fde600;} area[damage:Chido=significant]:closed {fill-opacity:0.3; width: 1.2; fill-color: #fd9100;} area[damage:Chido=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; } way[!roof:material][damage:Chido] { text: eval("Roof material ?"); text-color: #f30122; text-halo-color: white; font-size: 11; text-position: center; } way[!roof:material][!damage:Chido][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}
Styles_DisasterDamageAssessment-style.mapcss, Styles_DisasterDamageAssessment.zip
Last modified
12 days ago
Last modified on 2025-02-02T22:59:42+01:00
Attachments (1)
-
DisasterDamageAssessment.zip
(3.0 KB
) - added by 3 weeks ago.
Only Icons (EXTRACT)
Download all attachments as: .zip
Note:
See TracWiki
for help on using the wiki.