ST_leafType

Updated at:
Copy as MD

Returns the leaf type of a trajectory object as a text value. The only supported leaf type is ST_POINT.

Syntax

text ST_leafType(trajectory traj)

Parameters

ParameterTypeDescription
trajtrajectoryThe trajectory object to inspect. Only ST_POINT-based trajectories are supported.

Example

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