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

ApsaraDB RDS:ST_nearestApproachPoint

最終更新日:Jan 15, 2024

この関数は、指定された時間範囲内で軌道オブジェクト2に最も近い軌道オブジェクト1の空間点を返します。

構文

ジオメトリST_nearestApproachPoint (軌道traj1、軌道traj2);
ジオメトリST_nearestApproachPoint (軌道traj1、軌道traj2、tsrange範囲);
ジオメトリST_nearestApproachPoint (軌道traj1、軌道traj2、タイムスタンプt1、タイムスタンプt2); 

パラメーター

パラメーター 説明
traj1 軌道オブジェクト1。
traj2 軌道オブジェクト2.
t1 開始時刻
t2 終了時刻です。
範囲 時間範囲

例:

ST_nearestApproachPointの選択 ((traj_tableからtrajを選択し、id=1) 、(traj_tableからtrajを選択し、id=2) 、'2010-1 13:00:00 '、'2010-1 14:00:00');