unicef / magicbox

A platform that uses real-time data to inform life-saving humanitarian responses to emergency situations
https://www.unicef.org/innovation/Magicbox
BSD 3-Clause "New" or "Revised" License
86 stars 16 forks source link

Given a csv of geospatial points and a shapefile, create a clipped voronoi tessellation #46

Open mikefab opened 5 years ago

mikefab commented 5 years ago

A clipped Voronoi diagram is one that is confined to a compact domain (i.e. a bounded and closed 2D region or a 3D volume). In the example above, a normally generated Voronoi diagram will have some cells infinite or partially outside of the country boundary. However, only the cells that lie within the country boundary are of our interests.

Admin 1 geojson: http://myjson.com/wvt2s

The output of this task could be used as input to #44. screen shot 2018-10-04 at 4 41 01 pm screen shot 2018-10-04 at 4 40 40 pm