### Navigation

- index
- modules
- next
- previous
- Home »
- Contents »
- InaSAFE’s API documentation »
- Package::safe »
- Package::safe.engine »
- Package::safe.engine.impact_functions_for_testing »

# Module: safe.engine.impact_functions_for_testing.BNPB_earthquake_guidelines

Impact function based on Padang 2009 post earthquake survey

This impact function estimates percentual damage to buildings as a function of ground shaking measured in MMI. Buildings are currently assumed to be represented in OpenStreetMap with attributes collected as during the July 2011 Indonesian mapping competition.

This impact function maps the OSM buildings into 2 classes: Unreinforced masonry (URM) and reinforced masonry (RM) according to the guidelines.

class `safe.engine.impact_functions_for_testing.BNPB_earthquake_guidelines.``EarthquakeGuidelinesFunction`

  Risk plugin for BNPB guidelines for earthquake damage to buildings

  :param requires category==’hazard’ and subcategory.startswith(‘earthquake’) and layertype==’raster’ and unit==’MMI’

  :param requires category==’exposure’ and subcategory==’structure’ and layertype==’vector’

  `run`(layers)

    Risk plugin for earthquake school damage

This module forms part of the InaSAFE tool.

### Navigation

- index
- modules
- next
- previous
- Home »
- Contents »
- InaSAFE’s API documentation »
- Package::safe »
- Package::safe.engine »
- Package::safe.engine.impact_functions_for_testing »