ST_euclideanDistance

更新时间:
复制 MD 格式

Returns the nearest Euclidean distance between two trajectory objects at the same time point.

Syntax

float ST_euclideanDistance(trajectory traj1, trajectory traj2);

Parameters

ParameterDescription
traj1The first trajectory object.
traj2The second trajectory object.

Description

The returned distance is standardized.

Example

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