Comment 3 for bug 1187008

Revision history for this message
Paul Henshaw (paul-sl-henshaw) wrote :

Following a discussion with Chiara it seems that we have a need to obtain dwelling fractions for a number of points (selected by name or specified by the user (see https://bugs.launchpad.net/oq-platform/+bug/1221816) ) without calculating a population fraction value .

Essentially the export tool would continue to operate as it currently does but instead of outputting the calculated population value, the following columns should be output for each cell:

 total_population (in cell)
 is_urban
 building_type
 dwelling_fraction

Where available we would also like to obtain the following values from the distribution_value table:

 avg_dwelling_per_build
        building_fraction
        avg_floor_area
 replace_cost_per_area

and the following values from the study_region_facts table

 avg_peop_dwelling,
        avg_dwelling_area

I think it makes sense to output this kind of data in CSV format only since further processing is required before it can be used with the oq-engine.