ST_pointAtTime

更新时间: 2026-03-28 00:32:13

Returns the spatial point of a trajectory object at the specified timestamp.

Syntax

geometry ST_pointAtTime(trajectory traj, timestamp t);

Parameters

ParameterTypeDescription
trajtrajectoryThe trajectory object.
ttimestampThe timestamp at which to retrieve the spatial point.

Return value: A spatial point (geometry).

Example

SELECT ST_pointAtTime(traj, '2010-1-11 23:40:00') FROM traj_table;
上一篇: ST_timeAtPoint 下一篇: ST_velocityAtTime
阿里云首页 云原生数据库 PolarDB 相关技术圈