geo-registry

sedona.sql.ST_LineSegments

How Apache Sedona runs Explode Lines: sedona.sql.ST_LineSegments.

About this implementation
Engine Apache Sedona
Tool name sedona.sql.ST_LineSegments
Interface python
Implements Explode Lines
Documentation Not stated
Effects modifies input: no, network: no
Notes Not stated
Status active

Parameters

Name Type Required Default Choices Note
geom Union yes Not stated Not stated Not stated
lenient Union no Not stated Not stated Not stated

How it maps to the operation

Operation parameter Parameter here Note
layer geom Not stated

Differences from the operation

  • Returns an array of two-point lines; lenient returns an empty array instead of failing on other geometry types.
  • A Spark SQL function: arguments are columns or column names, run over a Spark DataFrame.

Harvested by the python-packages harvester from engine version 1.9.1. Names can change when an engine is harvested again.