本関数は、軌道オブジェクトのタイムラインを返します。
構文
text ST_trajectoryTemporal(trajectory traj);
text ST_trajTemporal(trajectory traj);
パラメーター
パラメーター | 説明 |
---|---|
traj | 軌道オブジェクト |
例
select ST_trajectoryTemporal(ST_MakeTrajectory('STPOINT'::leaftype, st_geomfromtext('LINESTRING (114 35, 115 36, 116 37)', 4326), '[2010-01-01 14:30, 2010-01-01 15:30)'::tsrange, null));
st_trajectorytemporal
--------------------------------------------------------------------------------
{"timeline":["2010-01-01 14:30:00","2010-01-01 15:00:00","2010-01-01 15:30:00"]}
(1 row)