すべてのプロダクト
Search
ドキュメントセンター

AnalyticDB:ST_intersection

最終更新日:Sep 29, 2024

この関数は、指定された時間範囲内の軌道オブジェクト1と2の交差を示す新しい軌道オブジェクトを返します。

構文

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');