Changes between Version 6 and Version 7 of Styles/DisasterDamageAssessment


Ignore:
Timestamp:
2025-01-26T16:22:33+01:00 (15 months ago)
Author:
severin.menard
Comment:

Totally revised with dashes rather than patterns

Legend:

Unmodified
Added
Removed
Modified
  • Styles/DisasterDamageAssessment

    v6 v7  
    1515    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.";
    1616*/
    17     version: "0.2.[[revision]]_[[date]]";
     17    version: "1.0.[[revision]]_[[date]]";
    1818    author: "SeverinGeo";
    1919    icon: "matrix-icons.png";
    2020    link: "https://josm.openstreetmap.de/wiki/Styles/DisasterDamageAssessment";
    2121}
    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)
    2523*/
     24
    2625node[damage=none] {icon-image: "medium-none-16.png"; icon-opacity: 0.7; icon-width:14;}
    2726node[damage=minimal] {icon-image: "medium-minimal-16.png"; icon-opacity: 0.7; icon-width:14;}
     
    2928node[damage=complete] {icon-image: "medium-complete-16.png"; icon-opacity: 0.7; icon-width:14;}
    3029
    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;}*/
    3631
    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;}
    4132
    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;}
     33area[damage=none]:closed {fill-opacity:0.3; width: 1.2; fill-color: #00e800;}
     34area[damage=minimal]:closed {fill-opacity:0.3; width: 1.2; fill-color: #fde600;}
     35area[damage=significant]:closed {fill-opacity:0.3; width: 1.2; fill-color: #fd9100;}
     36area[damage=complete] {fill-opacity:0.3; fill-color: #fd0000; z-index: 1;}
    4637
    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;}
    4938
    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;}
     39way[roof:material=metal]:closed,
     40way[roof:material=metal_sheet]:closed
     41{ width: 1.5; color: black; dashes: 6,6;  }
    6242
    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;}
     43way[roof:material=copper]:closed,
     44way[roof:material=eternit]:closed,
     45way[roof:material=glass]:closed,
     46way[roof:material=grass]:closed,
     47way[roof:material=gravel]:closed,
     48way[roof:material=roof_tiles]:closed,
     49way[roof:material=slate]:closed,
     50way[roof:material=stones]:closed,
     51way[roof:material=tar_paper]:closed,
     52way[roof:material=thatch]:closed,
     53way[roof:material=wood]:closed
     54{ width: 1.5; color: black; dashes: 20,5;  }
    11155
    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;}
     56way[roof:material=concrete]
     57{ width: 2; color: black;  }
    11658
    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; }*/
     60way[!roof:material][damage] { text: eval("Roof material ?"); text-color: #f30122; text-halo-color: white; font-size: 11; text-position: center; }
     61way[!roof:material][!damage][building] { width: 1.5; color: white; }
    12162
    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}
     63node|z1-19 { symbol-shape: square; symbol-stroke-color: rosybrown; symbol-fill-color: rosybrown; symbol-size: 1; z-index:1}
    12864}}}