Skip to content

ENH: polyfill_resample distributes numeric values appropriately #7

@DahnJ

Description

@DahnJ

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions