Turf.js works only with GeoJSON files and provides a powerful toolkit for parsing the information and processing what's inside.
The library can be used to plot out data on a map, while also analyzing and computing it beforehand.
This means you can just feed it a few coordinates, and use Turf.js to interpret these coordinates into shapes, lines, or routes.
On top of this, Turf also supports mathematical operations with the given coordinates, taking latitudes and longitude values, adding or subtracting them, calculating averages and getting min or max values.
This allows developers to build complex, data-aware maps, showing relevant information to the user, instead of a cloud of markers on a map.
The library works with both client-side (browsers) and server-side (Node.js) environments.
What is new in this release:
- turf-grid renamed turf-point-grid (turf.grid => turf.pointGrid)
- turf-hex renamed turf-hex-grid (turf.hex => turf.hexGrid)
- turf-hex-grid now has a required unit parameter
- Remove turf-isobands; use turf-isolines instead
- Added turf-square-grid (turf.squareGrid)
- Added turf-triangle-grid (turf.triangleGrid)
- Constrain turf-point-grid to the bbox
What is new in version 2.0.0:
- turf-grid renamed turf-point-grid (turf.grid => turf.pointGrid)
- turf-hex renamed turf-hex-grid (turf.hex => turf.hexGrid)
- turf-hex-grid now has a required unit parameter
- Remove turf-isobands; use turf-isolines instead
- Added turf-square-grid (turf.squareGrid)
- Added turf-triangle-grid (turf.triangleGrid)
- Constrain turf-point-grid to the bbox
What is new in version 1.4.0:
- Update all module dependencies to master
- Add support for features in turf.intersection
- Add unit parameter to turf.concave
- Fix issues with turf.polygon coordinate wrapping inconsistencies
Requirements:
- JavaScript enabled on client side
- Node.js for server-side environments
Comments not found