准备数据: CREATETABLEtest_trajs_merge(traj trajectory);INSERTINTOtest_trajs_mergeVALUES('{"trajectory":{"version":1,"type":"STPOINT","leafcount":2,"start_time":"2000-01-01 00:00:00","end_time":"2000-01-02 00:00:00","spatial":"LINESTRING(0 0,4 0)","timeline":["2000-01-01...
准备数据: CREATETABLEtest_trajs_merge(traj trajectory);INSERTINTOtest_trajs_mergeVALUES('{"trajectory":{"version":1,"type":"STPOINT","leafcount":2,"start_time":"2000-01-01 00:00:00","end_time":"2000-01-02 00:00:00","spatial":"LINESTRING(0 0,4 0)","timeline":["2000-01-01...
将多条轨迹合并为一条。 语法 trajectory ST_TrajMerge (trajectory SET_ trajs); trajectory ST_TrajMerge (trajectory SET trajs, bool doSort, bool doDeduplicate); trajectory ST_TrajMerge (trajectory[] trajs, bool doSort default true, bool doDeduplicate default true); 参数 参数名称 描述 trajs ...