Flowminder / FlowKit

FlowKit: Flowminder CDR analytics toolkit
https://flowminder.github.io/FlowKit/
Mozilla Public License 2.0
86 stars 21 forks source link

Add geoboundaries as boundary source in Flowdb synth data #3100

Open greenape opened 4 years ago

greenape commented 4 years ago

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 commented 2 years ago

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

greenape commented 2 years ago

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

greenape commented 5 months ago

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.

Thingus commented 5 months ago

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.