geo-registry

turf.lineSplit

How Turf.js runs Split by Lines: turf.lineSplit.

About this implementation
Engine Turf.js
Tool name turf.lineSplit
Interface js
Implements Split by Lines
Documentation Not stated
Effects modifies input: no, network: no
Notes From @turf/line-split.
Status active

Parameters

Name Type Required Default Choices Note
line Feature<T> | T yes Not stated Not stated Not stated
splitter Splitter yes Not stated Not stated Not stated

How it maps to the operation

Operation parameter Parameter here Note
layer line Not stated
lines splitter Not stated

Differences from the operation

  • Splits a line only, not polygons.
  • 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.