turf.coordReduce
From @turf/meta.
| Engine | Turf.js |
|---|---|
| Tool name | turf.coordReduce |
| Interface | js |
| Implements | Not stated |
| Documentation | Not stated |
| Effects | Not stated |
| Notes | From @turf/meta. |
| Status | active |
Parameters
| Name | Type | Required | Default | Choices | Note |
|---|---|---|---|---|---|
geojson | AllGeoJSON | yes | Not stated | Not stated | Not stated |
callback | (previousValue: Reducer, currentCoord: number[], coordIndex: number, featureIndex: number, multiFeatureIndex: number, geometryIndex: number) => Reducer | yes | Not stated | Not stated | Not stated |
initialValue | Reducer | no | Not stated | Not stated | Not stated |
excludeWrapCoord | boolean | no | Not stated | Not stated | Not stated |
Harvested by the turf harvester from engine version
7.4.0. Names can change when an engine is harvested again.