Returns the leaf type of a trajectory object as a text string.
Syntax
text ST_leafType(trajectory traj);Parameters
| Parameter | Description |
|---|---|
traj | The trajectory object. Only the ST_POINT type is supported. |
Examples
SELECT st_leafType(traj) FROM traj WHERE id = 3;
st_leaftype
-------------
STPOINT
(1 row)