この関数は、軌道オブジェクトが指定された空間点を通過するときに、一連の時点を返します。
構文
timestamp[] ST_timeAtPoint(trajectory traj, geometry g);
パラメーター
パラメーター | 説明 |
---|---|
traj | 軌道オブジェクト |
g | 空間点 |
例
Select ST_timeAtPoint(traj, st_geomfromtext('POINT(115 36)')) from traj_table;
st_timeatpoint
-------------------------
{"2010-01-01 15:00:00"}