safe.impact_functions.inundation.flood_raster_road.impact_function module

Impact of flood on roads.

class safe.impact_functions.inundation.flood_raster_road.impact_function.FloodRasterRoadsFunction[source]

Bases: safe.impact_functions.bases.continuous_rh_classified_ve.ContinuousRHClassifiedVE, safe.impact_reports.road_exposure_report_mixin.RoadExposureReportMixin

Simple impact function for inundation for road.

run()[source]

Run the impact function.

Returns:A new line layer with inundated roads marked.
Type:safe_layer