Aggregate polygons of one shapefile by another #15
Labels
hard
RedHat Hackathon difficulty level 3
moved
This has been moved to a different repo
priority:med
Doesn't need immediate attention
redhat
RedHat's Tech Exchange Hackathon
Problem description
When working with region-based datasets, we usually encounter the situation where the polygons in one dataset do not geospatially align with the polygons in another.
Examples:
One feature we want for the MagicBox Platform is the ability to aggregate the values for polygons of one shapefile/GeoJSON/csv based on the polygons of another shapefile/GeoJSON/csv. Hence, corresponding with the examples above:
The pattern is spotted:
An example use case
Here you see a Voronoi diagram over a country shapefile. The generating points are arbitrary, but we can assume they are cell tower locations (pairs of coordinates to be exact).
This Medium article discusses in-depth this use case, though it goes one step further with the output. Going beyond
(origin_admin, destination_admin, mobility_value)
for each row/tuple in the resulting geofile, it asks for a mobility matrix. The latter is easily generated from the former, though.The text was updated successfully, but these errors were encountered: