Open greenape opened 4 years ago
Tricky bit of this is the need to recalculate the population distributions per admin.
https://github.com/Flowminder/FlowKit/commit/c24069d7c7589a233fc2e46d28a6ce1dfddce888 has the code originally used for this (which should be updated, and placed into a script).
To be more specific - cos for gadm one can download the whole world at admX, we (or more specifically, I) decided it would be smart to precalculate the population density for the whole world and roll that into the synth data image rather than doing it on the fly at startup. We can't do that with geoboundaries, and would need to revert to calculating on the fly.
Do we have the population density calc code available? I can only see the precomputed densities in the repo atm. EDIT: nvm seen the above now.
Geoboundaries.org is a relatively new source of global admin boundaries, which looks to be preferable to gadm and should be available as a boundary source for Flowdb synth data (potentially for Flowdb beyond that?)