Changes between Version 6 and Version 7 of Styles/DisasterDamageAssessment
- Timestamp:
- 2025-01-26T16:22:33+01:00 (15 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Styles/DisasterDamageAssessment
v6 v7 15 15 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."; 16 16 */ 17 version: " 0.2.[[revision]]_[[date]]";17 version: "1.0.[[revision]]_[[date]]"; 18 18 author: "SeverinGeo"; 19 19 icon: "matrix-icons.png"; 20 20 link: "https://josm.openstreetmap.de/wiki/Styles/DisasterDamageAssessment"; 21 21 } 22 /* 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 23 24 (mapcss style adapted from https://josm.openstreetmap.de/wiki/Styles/JP-Tsunami) 22 /* 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) 25 23 */ 24 26 25 node[damage=none] {icon-image: "medium-none-16.png"; icon-opacity: 0.7; icon-width:14;} 27 26 node[damage=minimal] {icon-image: "medium-minimal-16.png"; icon-opacity: 0.7; icon-width:14;} … … 29 28 node[damage=complete] {icon-image: "medium-complete-16.png"; icon-opacity: 0.7; icon-width:14;} 30 29 31 node:selected { 32 symbol-shape: square; 33 symbol-size: 6; 34 symbol-fill-color: node_selected#ff0000; 35 symbol-stroke-color: node_selected#ff0000;} 30 /* node:selected {symbol-shape: square;symbol-size: 18; symbol-fill-color: node_selected#ff0000;symbol-stroke-color: node_selected#ff0000; z-index: 1;}*/ 36 31 37 area[damage=none][!roof:material]:closed {fill-image: "noroofmaterial_none.png"; fill-opacity:0.4; width: 1.2; color: green;}38 area[damage=minimal][!roof:material]:closed {fill-image: "noroofmaterial_minimal.png"; fill-opacity:0.4; width: 1.2; color: yellow;}39 area[damage=significant][!roof:material]:closed {fill-image: "noroofmaterial_significant.png"; fill-opacity:0.4; width: 1.2; color: orange;}40 area[damage=complete][!roof:material]:closed {fill-image: "noroofmaterial_complete.png"; fill-opacity:0.4; width: 1.2; color: #fd5757;}41 32 42 area[damage=none] [building=construction]:closed {fill-image: "othermaterials_none.png";fill-opacity:0.4; width: 1.2; color:green;}43 area[damage=minimal] [building=construction]:closed {fill-image: "othermaterials_minimal.png";fill-opacity:0.4; width: 1.2; color:yellow;}44 area[damage=significant] [building=construction]:closed {fill-image: "othermaterials_significant.png";fill-opacity:0.4; width: 1.2; color:orange;}45 area[damage=complete] [building=construction]:closed {fill-image: "othermaterials_complete.png";fill-opacity:0.4; width: 1.2;color: #fd5757;}33 area[damage=none]:closed {fill-opacity:0.3; width: 1.2; fill-color: #00e800;} 34 area[damage=minimal]:closed {fill-opacity:0.3; width: 1.2; fill-color: #fde600;} 35 area[damage=significant]:closed {fill-opacity:0.3; width: 1.2; fill-color: #fd9100;} 36 area[damage=complete] {fill-opacity:0.3; fill-color: #fd0000; z-index: 1;} 46 37 47 area[!damage][roof:material=concrete]:closed {fill-image: "concrete.png"; fill-opacity:0.4; width: 1.2; color: pink;}48 area[!damage][roof:material=metal]:closed {fill-image: "metal.png"; fill-opacity:0.4; width: 1.2; color: pink;}49 38 50 area[!damage][roof:material=copper]:closed, 51 area[!damage][roof:material=eternit]:closed, 52 area[!damage][roof:material=glass]:closed, 53 area[!damage][roof:material=grass]:closed, 54 area[!damage][roof:material=gravel]:closed, 55 area[!damage][roof:material=roof_tiles]:closed, 56 area[!damage][roof:material=slate]:closed, 57 area[!damage][roof:material=stones]:closed, 58 area[!damage][roof:material=tar_paper]:closed, 59 area[!damage][roof:material=thatch]:closed, 60 area[!damage][roof:material=wood]:closed 61 {fill-image: "othermaterials.png"; fill-opacity:0.4; width: 1.2; color: pink;} 39 way[roof:material=metal]:closed, 40 way[roof:material=metal_sheet]:closed 41 { width: 1.5; color: black; dashes: 6,6; } 62 42 63 area[damage=none][roof:material=copper]:closed, 64 area[damage=none][roof:material=eternit]:closed, 65 area[damage=none][roof:material=glass]:closed, 66 area[damage=none][roof:material=grass]:closed, 67 area[damage=none][roof:material=gravel]:closed, 68 area[damage=none][roof:material=roof_tiles]:closed, 69 area[damage=none][roof:material=slate]:closed, 70 area[damage=none][roof:material=stones]:closed, 71 area[damage=none][roof:material=tar_paper]:closed, 72 area[damage=none][roof:material=thatch]:closed, 73 area[damage=none][roof:material=wood]:closed 74 {fill-image: "othermaterials_none.png"; fill-opacity:0.4; width: 1.2; color: green;} 75 area[damage=minimal][roof:material=copper]:closed, 76 area[damage=minimal][roof:material=eternit]:closed, 77 area[damage=minimal][roof:material=glass]:closed, 78 area[damage=minimal][roof:material=grass]:closed, 79 area[damage=minimal][roof:material=gravel]:closed, 80 area[damage=minimal][roof:material=roof_tiles]:closed, 81 area[damage=minimal][roof:material=slate]:closed, 82 area[damage=minimal][roof:material=stones]:closed, 83 area[damage=minimal][roof:material=tar_paper]:closed, 84 area[damage=minimal][roof:material=thatch]:closed, 85 area[damage=minimal][roof:material=wood]:closed 86 {fill-image: "othermaterials_minimal.png"; fill-opacity: 0.4; width: 1.2; color: yellow;} 87 area[damage=significant][roof:material=copper]:closed, 88 area[damage=significant][roof:material=eternit]:closed, 89 area[damage=significant][roof:material=glass]:closed, 90 area[damage=significant][roof:material=grass]:closed, 91 area[damage=significant][roof:material=gravel]:closed, 92 area[damage=significant][roof:material=roof_tiles]:closed, 93 area[damage=significant][roof:material=slate]:closed, 94 area[damage=significant][roof:material=stones]:closed, 95 area[damage=significant][roof:material=tar_paper]:closed, 96 area[damage=significant][roof:material=thatch]:closed, 97 area[damage=significant][roof:material=wood]:closed 98 {fill-image: "othermaterials_significant.png"; fill-opacity: 0.4; width: 1.2; color: orange;} 99 area[damage=complete][roof:material=copper]:closed, 100 area[damage=complete][roof:material=eternit]:closed, 101 area[damage=complete][roof:material=glass]:closed, 102 area[damage=complete][roof:material=grass]:closed, 103 area[damage=complete][roof:material=gravel]:closed, 104 area[damage=complete][roof:material=roof_tiles]:closed, 105 area[damage=complete][roof:material=slate]:closed, 106 area[damage=complete][roof:material=stones]:closed, 107 area[damage=complete][roof:material=tar_paper]:closed, 108 area[damage=complete][roof:material=thatch]:closed, 109 area[damage=complete][roof:material=wood]:closed 110 {fill-image: "othermaterials_complete.png"; fill-opacity:0.4; width: 1.2; color: #fd5757;} 43 way[roof:material=copper]:closed, 44 way[roof:material=eternit]:closed, 45 way[roof:material=glass]:closed, 46 way[roof:material=grass]:closed, 47 way[roof:material=gravel]:closed, 48 way[roof:material=roof_tiles]:closed, 49 way[roof:material=slate]:closed, 50 way[roof:material=stones]:closed, 51 way[roof:material=tar_paper]:closed, 52 way[roof:material=thatch]:closed, 53 way[roof:material=wood]:closed 54 { width: 1.5; color: black; dashes: 20,5; } 111 55 112 area[damage=none][roof:material=concrete]:closed {fill-image: "concrete_none.png"; fill-opacity:0.4; width: 1.2; color: green;} 113 area[damage=minimal][roof:material=concrete]:closed {fill-image: "concrete_minimal.png"; fill-opacity:0.4; width: 1.2; color: yellow;} 114 area[damage=significant][roof:material=concrete]:closed {fill-image: "concrete_significant.png"; fill-opacity:0.4; width: 1.2; color: orange;} 115 area[damage=complete][roof:material=concrete]:closed {fill-image: "concrete_complete.png"; fill-opacity:0.6; width: 1.2; color: #fd5757;} 56 way[roof:material=concrete] 57 { width: 2; color: black; } 116 58 117 area[damage=none][roof:material=metal]:closed {fill-image: "metal_none.png"; fill-opacity: 0.4; width: 1.2; color: green;} 118 area[damage=minimal][roof:material=metal]:closed {fill-image: "metal_minimal.png"; fill-opacity: 0.4; width: 1.2; color: yellow;} 119 area[damage=significant][roof:material=metal]:closed {fill-image: "metal_significant.png"; fill-opacity: 0.4; width: 1.2; color: orange;} 120 area[damage=complete][roof:material=metal]:closed {fill-image: "metal_complete.png"; fill-opacity: 0.6; width: 1.2; color: #fd5757;} 59 /*way[!damage][roof:material] { text: eval("Damage ?"); text-color: #f30122; text-halo-color: white; font-size: 11; text-position: center; }*/ 60 way[!roof:material][damage] { text: eval("Roof material ?"); text-color: #f30122; text-halo-color: white; font-size: 11; text-position: center; } 61 way[!roof:material][!damage][building] { width: 1.5; color: white; } 121 62 122 /* Kept from PierZen's JP-Tsunami: */ 123 /* control node size to help vizualise damaged zones at lower zoom levels */ 124 node[note] { icon-size:4; z-index: 1;} 125 node|z1-17 { symbol-shape: square; symbol-stroke-color: rosybrown; symbol-fill-color: rosybrown; symbol-size: 1; z-index:1} 126 node|z18 { symbol-shape: square; symbol-stroke-color: navy; symbol-fill-color: rosybrown; symbol-size:5; z-index:1} 127 node|z19- { symbol-shape: square; symbol-stroke-color: navy; symbol-fill-color: rosybrown; symbol-size:6; z-index:1} 63 node|z1-19 { symbol-shape: square; symbol-stroke-color: rosybrown; symbol-fill-color: rosybrown; symbol-size: 1; z-index:1} 128 64 }}}
