I suggest you fix the foreign key manually and rerun the calculations to make sure that your suggestion works.
You can manually delete the tables and run everything again after fixing the bug in exposure-lib. The question I have is why we didn't notice this problem earlier. We have run test computations. In what context did this error appear?
I have edited the issue text so that it looks right. Also, please use a \
for the \fyi
or \rfc
.
@tara Please format the issue text so that it can be easily read.
Danijel Schorlemmer (358ec8ce) at 25 Mar 17:25
The function aggregate_exposure_entities
only aggregates building assets into tile assets if the aggregation condition is met, which is a tile containing fewer buildings than the given min_number_buildings
parameter. This causes all tiles with more than min_number_buildings
to keep their building entities. This defeats the notion of aggregating the dataset.
Danijel Schorlemmer (b93ffb7f) at 20 Mar 12:27
Add missing tags for New Zealand
Danijel Schorlemmer (688bebde) at 18 Mar 19:37
Limit items per batch to 50
Danijel Schorlemmer (7bcea56d) at 15 Mar 18:35
Limit items per batch to 100
Danijel Schorlemmer (a93b44e5) at 28 Feb 15:42
Danijel Schorlemmer (0a01c565) at 27 Feb 19:43
Add committing taxonomies to database before processing districts
Danijel Schorlemmer (c9c3baaa) at 27 Feb 19:21