Module: safe.impact_functions.stylesΒΆ

Library of styles that can be used by impact functions

E.g.

from impact_functions.styles import flood_population_style as style_info from impact_functions.core import get_function_title

# Create raster object with this style and return R = Raster(I,

projection=inundation.get_projection(), geotransform=inundation.get_geotransform(), name=’Penduduk yang %s’ % (get_function_title(self)), keywords={‘impact_summary’: impact_summary}, style_info=style_info)

return R

This module forms part of the InaSAFE tool.

Previous topic

Module: safe.impact_functions.test_plugins

Next topic

Module: safe.impact_functions.core

This Page