Skip to content

Commit

Permalink
[BACKPORT] improve reporting of people needing evacuation with vector…
Browse files Browse the repository at this point in the history
… hazard, raster polygon scenario,
  • Loading branch information
timlinux committed Feb 14, 2013
1 parent 8dfb814 commit dded1b0
Showing 1 changed file with 7 additions and 0 deletions.
Expand Up @@ -157,9 +157,16 @@ def run(self, layers):

# Generate impact report for the pdf map
table_body = [question,
TableRow([tr('People affected'),
'%s' % format_int(int(affected_population))],
header=True),
TableRow([tr('People needing evacuation'),
'%s' % format_int(evacuated)],
header=True),
TableRow([tr('Evacuation threshold'),
'%s%%' % format_int(
self.parameters['evacuation_percentage'])],
header=True),
TableRow(tr('Map shows population affected in each flood'
' prone area ')),
TableRow([tr('Needs per week'), tr('Total')],
Expand Down

0 comments on commit dded1b0

Please sign in to comment.