ST_intersection

更新时间:2023-08-21 02:13:50

定时间段的轨迹1和轨迹2执行对应时间点上的移动对象之间的空间Intersection处理。

语法

geometry ST_intersection(trajectory traj1, trajectory traj2, tsrange range);
geometry ST_intersection(trajectory traj1, trajectory traj2, timestamp t1, timestamp t2);

参数

参数名称

描述

参数名称

描述

traj1

轨迹对象1。

traj2

轨迹对象2。

t1

开始时间。

t2

结束时间。

range

时间段。

示例

Select ST_intersection((Select traj from traj_table where id=1), (Select traj from traj_table where id=2), '2010-1-1 13:00:00', '2010-1-1 14:00:00');
  • 本页导读 (1)
  • 语法
  • 参数
  • 示例
AI助理

点击开启售前

在线咨询服务

你好,我是AI助理

可以解答问题、推荐解决方案等