ST_velocityAtTime

更新时间: 2026-08-24 09:51:13

Returns the velocity attribute value of a trajectory object at a specified time point.

Syntax

float8 ST_VelocityAtTime (trajectory traj, timestamp t);

Parameters

ParameterDescription
trajThe trajectory object.
tThe time point to query.

Return value

float8 — the velocity at the specified time point.

Example

Select ST_velocityAtTime(traj, '2010-1-11 23:40:00') From traj_table;
上一篇: ST_pointAtTime 下一篇: ST_accelerationAtTime