全部產品
Search
文件中心

AnalyticDB:ST_mdistance

更新時間:Feb 05, 2024

計算軌跡對象中所有相同的時間點的歐幾裡得距離。

文法

float[] ST_mdistance(trajectory traj1, trajectory traj2);

參數

參數名稱 描述
traj1 軌跡對象1。
traj2 軌跡對象2。

描述

未經過標準化處理。

樣本

Select ST_mDistance((Select traj from traj_table where id=1), (Select traj from traj_table where id=2));