All Tools
T
Dev ToolsFreeOpen Source
TURF.JS
Modular JavaScript engine for GeoJSON spatial analysis
MIT
ABOUT
Browser maps often need buffers, distances, and intersections without posting GeoJSON to a GIS server. Turf.js is a modular JS engine so web apps run those spatial ops in Node or the browser.
INSTALL
npm install @turf/turfINTEGRATION GUIDE
1. Buffer a GeoJSON polygon around a point of interest in the browser
2. Compute distance, area, and centroid for map features in Node
3. Intersect or union polygons before drawing them on Leaflet
4. Run client-side spatial analysis without a PostGIS round trip
TAGS
javascripttypescriptgeospatialgeojsongismapsanalysisopen-source