FlowKit icon indicating copy to clipboard operation
FlowKit copied to clipboard

Add geoboundaries as boundary source in Flowdb synth data

Open greenape opened this issue 5 years ago • 4 comments

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?)

greenape avatar Oct 08 '20 14:10 greenape

Tricky bit of this is the need to recalculate the population distributions per admin.

greenape avatar Apr 04 '22 12:04 greenape

https://github.com/Flowminder/FlowKit/commit/c24069d7c7589a233fc2e46d28a6ce1dfddce888 has the code originally used for this (which should be updated, and placed into a script).

greenape avatar Apr 19 '22 10:04 greenape

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.

greenape avatar Jun 12 '24 12:06 greenape

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.

Thingus avatar Jun 12 '24 13:06 Thingus