Returns an array of Euclidean distances between two trajectory objects, computed at each shared time point.
Syntax
float[] ST_mdistance(trajectory traj1, trajectory traj2);Parameters
| Parameter | Description |
|---|---|
traj1 | The first trajectory object. |
traj2 | The second trajectory object. |
Usage notes
The returned distances are not standardized.
Example
SELECT ST_mDistance(
(SELECT traj FROM traj_table WHERE id = 1),
(SELECT traj FROM traj_table WHERE id = 2)
);该文章对您有帮助吗?