safe.impact_functions.generic.classified_polygon_population.impact_function module

InaSAFE Disaster risk tool by Australian Aid - Classified Polygon on Population Impact Function.

Contact :


This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

class safe.impact_functions.generic.classified_polygon_population.impact_function.ClassifiedPolygonHazardPopulationFunction[source]

Bases: safe.impact_functions.bases.classified_vh_continuous_re.ClassifiedVHContinuousRE, safe.impact_reports.population_exposure_report_mixin.PopulationExposureReportMixin

Impact Function for Classified Polygon on Population.


Return the notes section of the report.

Returns:The notes that should be attached to this impact report.
Return type:safe.messaging.Message

Run classified population evacuation Impact Function.

Counts number of people exposed to each hazard zones.


Map of population exposed to each hazard zone. The returned dict will include a table with number of people evacuated and supplies required.

Return type:


  • Exception - When hazard layer is not vector layer