ST_pointAtTime

更新时间: 2026-08-31 14:09:35

Returns the geometry object at a specific point in time from a trajectory object.

Syntax

geometry ST_pointAtTime(trajectory traj, timestamp t);

Parameters

ParameterTypeDescription
trajtrajectoryThe trajectory object.
ttimestampThe time point to query.

Return value: A spatial point of type geometry.

Example

SELECT ST_pointAtTime(traj, '2010-1-11 23:40:00') FROM traj_table;
上一篇: ST_timeAtPoint 下一篇: ST_velocityAtTime