This function returns the spatial geometry object of a trajectory object.

Syntax

geometry ST_trajectorySpatial(trajectory traj);

Parameters

Parameter Description
traj The trajectory object.

Examples

Select AsText(ST_trajectorySpatial(traj)) FROM traj_table;