獲得軌跡的葉子數量(軌跡點個數)。
文法
integer ST_leafCount(trajectory traj);
參數
| 參數名稱 | 描述 |
| traj | 需要獲得類型的軌跡。 |
樣本
select st_leafCount(traj) from traj where id = 2;
st_leafcount
--------------
16
獲得軌跡的葉子數量(軌跡點個數)。
integer ST_leafCount(trajectory traj);
| 參數名稱 | 描述 |
| traj | 需要獲得類型的軌跡。 |
select st_leafCount(traj) from traj where id = 2;
st_leafcount
--------------
16