文档

ST_nearestApproachPoint

更新时间:

指定时间段的轨迹中找到与给定几何对象最邻近点信息。

语法

geometry ST_nearestApproachPoint(trajectory traj, tsrange range, geometry g);
geometry ST_nearestApproachPoint(trajectory traj, timestamp t1, timestamp t2, geometry g);

参数

参数名称

描述

traj

轨迹对象。

t1

开始时间。

t2

结束时间。

range

时间段。

g

几何对象。

示例

Select ST_nearestApproachPoint(traj, '2010-1-1 13:00:00', '2010-1-1 14:00:00', 'LINESTRING(0 0, 5 5, 9 9)'::geometry) from  traj_table;
  • 本页导读 (1)
文档反馈