This function transforms a LineString containing multiple coordinates into an array of LineStrings, each with precisely two coordinates. TheDocumentation Index
Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
Use this file to discover all available pages before exploring further.
lenient argument, true by default, prevents an exception from being raised if the input geometry is not a LineString.
Signatures
Parameters
The input geometry.
The lenient value.
Return type
The resulting geometry.

