Module: safe.impact_functions.mappings

Collection of mappings for standard vulnerability classes

safe.impact_functions.mappings.osm2bnpb(E, target_attribute='VCLASS')[source]

Map OSM attributes to BNPB vulnerability classes

This maps attributes collected in the OpenStreetMap exposure data (data.kompetisiosm.org) to 2 vulnerability classes identified by BNPB in Kajian Risiko Gempabumi VERS 1.0, 2011. They are URM: Unreinforced Masonry and RM: Reinforced Masonry

Input

E: Vector object representing the OSM data target_attribute: Optional name of the attribute containing

the mapped vulnerability class. Default value is ‘VCLASS’
Output:
Vector object like E, but with one new attribute (e.g. ‘VCLASS’) representing the vulnerability class used in the guidelines
safe.impact_functions.mappings.osm2padang(E)[source]

Map OSM attributes to Padang vulnerability classes

This maps attributes collected in the OpenStreetMap exposure data (data.kompetisiosm.org) to 9 vulnerability classes identified by Geoscience Australia and ITB in the post 2009 Padang earthquake survey (http://trove.nla.gov.au/work/38470066). The mapping was developed by Abigail Baca, GFDRR.

Input
E: Vector object representing the OSM data
Output:
Vector object like E, but with one new attribute (‘VCLASS’) representing the vulnerability class used in the Padang dataset

Algorithm

  1. Class the “levels” field into height bands where 1-3 = low, 4-10 = mid, >10 = high
  2. Where height band = mid then building type = 4 “RC medium rise Frame with Masonry in-fill walls”
  3. Where height band = high then building type = 6 “Concrete Shear wall high rise* Hazus C2H”
  4. Where height band = low and structure = (plastered or reinforced_masonry) then building type = 7 “RC low rise Frame with Masonry in-fill walls”
  5. Where height band = low and structure = confined_masonry then building type = 8 “Confined Masonry”
  6. Where height band = low and structure = unreinforced_masonry then building type = 2 “URM with Metal Roof”
safe.impact_functions.mappings.sigab2bnpb(E, target_attribute='VCLASS')[source]

Map SIGAB point data to BNPB vulnerability classes

Input

E: Vector object representing the OSM data target_attribute: Optional name of the attribute containing

the mapped vulnerability class. Default value is ‘VCLASS’
Output:
Vector object like E, but with one new attribute (e.g. ‘VCLASS’) representing the vulnerability class used in the guidelines
safe.impact_functions.mappings.sigab2padang(E)[source]

Map SIGAB attributes to Padang vulnerability classes

Input
E: Vector object representing the SIGAB data
Output:
Vector object like E, but with one new attribute (‘VCLASS’) representing the vulnerability class used in the Padang dataset
safe.impact_functions.mappings.unspecific2bnpb(E, target_attribute='VCLASS')[source]

Map Unspecific point data to BNPB vulnerability classes

This makes no assumptions about attributes and maps everything to URM: Unreinforced Masonry

Input

E: Vector object representing the OSM data target_attribute: Optional name of the attribute containing

the mapped vulnerability class. Default value is ‘VCLASS’
Output:
Vector object like E, but with one new attribute (e.g. ‘VCLASS’) representing the vulnerability class used in the guidelines

This module forms part of the InaSAFE tool.

Previous topic

Module: safe.impact_functions.utilities

Next topic

Module: safe.impact_functions.test_mappings

This Page