ST_timeToDistance

更新时间: 2026-08-31 10:40:37

Returns a line chart in which the time is the x-axis and the Euclidean distance is the y-axis.

Syntax

geometry ST_timeToDistance(trajectory traj);

Parameters

ParameterTypeDescription
trajtrajectoryThe trajectory object.

Return value

Returns a geometry value encoding a line chart where the x-axis represents time and the y-axis represents Euclidean distance.

Examples

SELECT ST_timeToDistance(traj) FROM traj_table;
上一篇: ST_accelerationAtTime 下一篇: ST_timeAtDistance