the beauty of mapping


Kode Iklan Disini

Thursday, February 1, 2018

Voronoi Mapping On The Fly


Jackson Voekel has created an interesting interactive map which allows y'all to exercise a Voronoi map on the fly. His Voronoi Leaflet Map allows y'all to add together whatever pose out of markers to whatever place inwards the Earth together with exercise a Voronoi map showing dissimilar regions based on the proximity to each of your added points.

Influenza A virus subtype H5N1 Voronoi map partitions a place into dissimilar regions based on the distance to specified points on the map. The screenshot higher upwards shows an event Voronoi map created using the Voronoi Leaflet Map. This map divides London into areas based on the nearest Premiership football game team. To exercise the map I dropped a map marking on London's half dozen EPL teams together with hence drew a large polygon some much of London. The Voronoi Leaflet Map hence straight off divided my large polygon into half dozen distinct London regions, each of these regions beingness determined past times the nearest EPL team.

The beauty of Jackson's map is that y'all tin purpose it to exercise Voronoi maps on the fly. For event y'all could drib markers on Manhattan underground stations to come across New York divided into regions based on the nearest underground stop. Alternatively, y'all could drib markers on the U.S. province capitals to exercise a novel map of the United States, where the Blue Planet is divided upwards into novel states based on the proximity to province capitals.

I believe that the Voronoi Leaflet Map uses Turf.js. If y'all are interested inwards making your ain interactive Voronoi maps hence hither is the documentation on creating Voronoi maps amongst Turf.js.