Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: polyfill_resample distributes numeric values appropriately #7

Open
DahnJ opened this issue Jun 29, 2021 · 0 comments
Open

ENH: polyfill_resample distributes numeric values appropriately #7

DahnJ opened this issue Jun 29, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@DahnJ
Copy link
Owner

DahnJ commented Jun 29, 2021

Currently, polyfill_resample simple leaves any numeric values untouched.

This makes sense for "relative" values, e.g. a percentage of unemployed, but makes less sense for absolute values, e.g. total population.

For absolute values, it would make sense to simply divide the amount by the number of generated H3 cells. If the polygon's population is 100 and it generated 20 H3 cells, then I'd expect each cell to be assigned 5 people.

There are other advanced strategies, but those are, in my opinion, are best left to packages that focus on spatial resampling, such as Tobler.

The challenge will be to provide this functionality in a clean and configurable way.

@DahnJ DahnJ changed the title polyfill_resample distributes numeric values appropriately ENH: polyfill_resample distributes numeric values appropriately Jun 29, 2021
@DahnJ DahnJ added the enhancement New feature or request label Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant