We just released Turf v1.4.0. It includes new features for route analysis, blazing performance, and automatic geometry validation.
New Features
- turf.lineSlice for segmenting lines and linear referencing.
- turf.pointOnLine snaps points to lines.
- turf.lineDistance measures the geodesic length of lines and routes.
- turf.along calculates the location of a point
x
distance along a route. - turf.area calculates the area of geometries.
We also made our documentation even more beautiful and interactive, sped up turf.tin by a factor of seven, added automatic geometry validation so polygons stay in tip-top shape, and added usability improvements like a unit parameter for turf.concave. We are investing in Turf so we can all have open tools for spatial analysis in science, engineering, and urban planning that work anywhere, whether operating on a cloud server cluster or a mobile device.
Looking for a new feature? Let us know @mapbox or @morganherlocker.