Spatial analysis in Leaflet with Turf.js (Part 3 – Line intersection)

In this video I demonstrate how to use  Turf.js to  return the intersection of lines and polygons.  There is not a straightforward way to perform this analysis in Turf.js but Turf.js is better thought of as a toolbox than a packaged solution. And turf.js does provide a number of tools that can be used in conjunction to perform this analysis.

This video is actually lecture #61 from a course on Leaflet programming that is available on Udemy now. The course is called “Display and analyze your GIS data on the web with Leaflet.js“.  Readers of this blog can get this course with almost 13 hours of content for 50% off ($50 total) with the above link.

Enjoy!

Leave a Reply

Your email address will not be published. Required fields are marked *