Commit 5f5d46db authored by Simantini Shinde's avatar Simantini Shinde
Browse files

Fixed calculation for dwelling numbers for district with no info

parent e938a0bf
Pipeline #39624 passed with stage
in 1 minute and 55 seconds
......@@ -1111,8 +1111,8 @@ class JapanDatabase(SpatialiteDatabase):
MappingBuildingExposureToDistrictWithNoInfo.story_number_id,
MappingBuildingExposureToDistrictWithNoInfo.number_dwelling,
sum(MappingBuildingExposureToDistrictWithNoInfo.number_dwelling),
AVG(MappingBuildingExposureToDistrictWithNoInfo.number_dwelling)/
MappingBuildingExposureToDistrictWithNoInfo.source_number_building
AVG(MappingBuildingExposureToDistrictWithNoInfo.number_dwelling/
MappingBuildingExposureToDistrictWithNoInfo.source_number_building)
* MappingBuildingExposureToDistrictWithNoInfo.to_update_number_building
AS to_update_number_dwelling
FROM
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment