ST_leafType

更新时间:
复制 MD 格式

Returns the leaf type of a trajectory object as a text value.

Syntax

text ST_leafType(trajectory traj)

Parameters

ParameterDescription
trajThe trajectory object to inspect. Only the ST_POINT leaf type is supported.

Example

SELECT st_leafType(traj) FROM traj WHERE id = 3;
-- st_leaftype
-- -----------
-- STPOINT
-- (1 row)