PolarDB-O 云原生数据库 ST_deviation

By | 2021年4月22日

计算处理后的轨迹与原始轨迹之间的偏差。

语法

float8 ST_deviation(trajectory traj, trajectory after_oper_traj);

参数

参数名称 描述
traj 原始轨迹对象。
after_oper_traj 处理后的轨迹对象(比如压缩后)。

示例

select st_deviation(traj, st_compress(traj,0.001)) from traj_test;
    st_deviation     
--------------------- 
0.00919177345596219
(1 row)

请关注公众号获取更多资料

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

Iconic One Theme | Powered by Wordpress