Assorted functions extending the functionality of Turf.js.
To install, run:
npm install turf-extensions
The API is unstable, but includes the following:
lineBezierSmoothing
lineSmoothingLine
linesSplittingLineAtCoordinate
bufferedConvex
cleanFeatureCollection
findCoordinate
findLineString
isLineStringFeature
isPointFeature
isPolygonFeature
coordinatesCalculatedAngularChanges
coordinatesCalculatedRadii
coordinatesEqual
coordinatesInsertingPointAfterNearestPointOnLine
coordinatesSubdividing
coordinatesToString
filterCoordinatesWithMaximumAngularChange
To build the project, run:
npm run build
To run the tests, use:
npm test
For debugging tests, you can use the provided VS Code launch configuration "Debug Jest Tests".
This project is licensed under the MIT License. See the LICENSE file for details.