PolarDB-O 云原生数据库 ST_timeAtDistance

By | 2021年4月22日

从起始点移动指定距离后所在的时间点。

语法

timestamp[] ST_timeAtDistance(trajectory traj, float8 d);

参数

参数名称 描述
traj 轨迹对象。
d 距离。

返回的是 timestamp的数组,有可能存在多个点到起始点的距离一致。

示例

Select ST_timeAtDistance(traj, 100) from traj_table;

请关注公众号获取更多资料

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

Iconic One Theme | Powered by Wordpress