The calculator is now modified to use the augmented exposure model files in stead of the regular exposure model files.
Augmented exposure file format:
Regular exposure file format:
(Please note that
origin_id in the exposure model can be either a tile or a building id depending on the exposure type.)
The major changes are:
- Removal of three inputs to the calculator:
geometries(But this input is needed to turn a regular exposure model into an augmented one)
--exposure-type. The calculator does not care anymore if the input assets are either of
celltype. The input exposure model can be a mixture of both assets now.
Deleting the function
Add_cell_ids_to_building_exposure.py. This function was used to attach IDs of the cell that contained the building assets to the exposure files. An augmented exposure file now contains the cell-ids for building assets.
Modifying example folder and remove the extra inputs that are no more of use.
Removing the function
losslib.py. The augmented exposure model files now have the geometries of either cells and buildings attached.
Please read #36 (closed) for more info.