turf.lineSegment
How Turf.js runs Explode Lines: turf.lineSegment.
| Engine | Turf.js |
|---|---|
| Tool name | turf.lineSegment |
| Interface | js |
| Implements | Explode Lines |
| Documentation | Not stated |
| Effects | modifies input: no, network: no |
| Notes | From @turf/line-segment. |
| Status | active |
Parameters
| Name | Type | Required | Default | Choices | Note |
|---|---|---|---|---|---|
geojson | Feature<G> | FeatureCollection<G> | G | yes | Not stated | Not stated | Not stated |
How it maps to the operation
| Operation parameter | Parameter here | Note |
|---|---|---|
layer | geojson | Not stated |
Differences from the operation
- Turf works on GeoJSON in longitude/latitude (WGS 84); data in another CRS must be reprojected first.
Harvested by the turf harvester from engine version
7.4.0. Names can change when an engine is harvested again.