Mapping Lines Of Sight
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihAWFm4I_ogXXvLoAXdwPLRUtYBJ2G691kp_gz7AxUCMAHzvLV2RLJpIisl8JxWQYWIF5R5HfQnpRpC7UUu5Ir-tvVIVnpAxI2GC5kcoXRQzGrXidJr2-w2JJjH5RDjL9bY4yXkmjc3hxJ/s523/mapsmania.gif)
William Davies has created a actually interesting demo map that uses turf.js to map viewsheds. He was inspired to practise the map later seeing Esri's Campus Blue Lights map, which uses viewsheds to present where the beacons on emergency telephones tin hold upwards seen on a academy campus.
William's Viewshed map uses turf.js to present where lines of sight intersect amongst edifice polygons on a Mapbox map. The map animates a twain of sunglasses to a greater extent than or less the Egyptian pyramids. H5N1 round out polygon shows the viewshed from the betoken of stance of the sunglasses. The holes inwards this round out polygon present where the sunglasses' betoken of stance is interrupted past times the pyramids in addition to other buildings.
The map is really impressive. It is likewise a pretty swell demonstration of the ability of turf.js for carrying out advanced geospatial analysis amongst interactive mapping libraries.